From: Yanglong Wu Date: Thu, 10 May 2018 06:50:38 +0000 (+0800) Subject: net/i40e: fix missing VLAN offload capability X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=4fa9cd433855dc433cd949c78ff9d5d9c9bcfb2e;p=dpdk.git net/i40e: fix missing VLAN offload capability VLAN offload capability should be exposed in VF since i40e does support it. Fixes: c3ac7c5b0b8a ("net/i40e: convert to new Rx offloads API") Signed-off-by: Yanglong Wu Acked-by: Qi Zhang --- diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c index 96438a4e11..804e44530c 100644 --- a/drivers/net/i40e/i40e_ethdev_vf.c +++ b/drivers/net/i40e/i40e_ethdev_vf.c @@ -2201,7 +2201,8 @@ i40evf_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info) DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM | DEV_RX_OFFLOAD_CRC_STRIP | DEV_RX_OFFLOAD_SCATTER | - DEV_RX_OFFLOAD_JUMBO_FRAME; + DEV_RX_OFFLOAD_JUMBO_FRAME | + DEV_RX_OFFLOAD_VLAN_FILTER; dev_info->tx_queue_offload_capa = 0; dev_info->tx_offload_capa =