net/i40e: enable tunnel filter for MPLS
authorBeilei Xing <beilei.xing@intel.com>
Thu, 30 Mar 2017 08:29:54 +0000 (16:29 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 17:02:58 +0000 (19:02 +0200)
commitda610604b81292497f3b60d31b04cfb78c2bad03
tree3b3a3473a3344f0116b9946e560c321119950758
parentaf134bc0ed4625689106e4555462d230375ce64a
net/i40e: enable tunnel filter for MPLS

MPLSoUDP & MPLSoGRE is not supported by tunnel
filter due to limited resource of HW, this patch
enables MPLS tunnel filter by replacing inner_mac
filter.

This configuration will be set when adding MPLSoUDP
and MPLSoGRE filter rules, and it will be invalid
only by NIC core reset.

Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev.h
drivers/net/i40e/i40e_flow.c