net/i40e: store ethertype filter
authorBeilei Xing <beilei.xing@intel.com>
Fri, 6 Jan 2017 05:27:03 +0000 (13:27 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:40:53 +0000 (19:40 +0100)
commit078259773da95867cb7203e779b1928432e81528
tree600fb6e4ecb3d3b5c31b93709dbfd64c4c5350fd
parent786b5c2dac785fe2fdbd303c236edc9491c00e5e
net/i40e: store ethertype filter

Currently there's no ethertype filter stored in SW.
This patch stores ethertype filter with cuckoo hash
in SW, also adds protection if an ethertype filter
has been added.

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