net/i40e: report VLAN filter capability
authorZhihong Peng <zhihongx.peng@intel.com>
Tue, 21 Jul 2020 02:45:28 +0000 (22:45 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Jul 2020 11:54:54 +0000 (13:54 +0200)
commit664c253e7f9d4eab460fa61458e1640a1c1caea7
treef1789eb8e4e38404fb22169370d964438bfc179d
parent2cf9264f2da3e6d90f987ef4e6416bd78446f51e
net/i40e: report VLAN filter capability

The rte_eth_dev_set_vlan_offload function will check vlan rx offload
capability, the i40e vf has vlan filter feature but
DEV_RX_OFFLOAD_VLAN_FILTER is not set into the capability, that will
cause setting fail. So need to add this capability in
i40e_vf_representor_dev_infos_get function.

Fixes: e0cb96204b71 ("net/i40e: add support for representor ports")
Cc: stable@dpdk.org
Signed-off-by: Zhihong Peng <zhihongx.peng@intel.com>
Acked-by: Jeff Guo <jia.guo@intel.com>
drivers/net/i40e/i40e_vf_representor.c