summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYanglong Wu <yanglong.wu@intel.com>2018-05-10 14:50:38 +0800
committerFerruh Yigit <ferruh.yigit@intel.com>2018-05-14 22:31:53 +0100
commit4fa9cd433855dc433cd949c78ff9d5d9c9bcfb2e (patch)
tree6e037d3a3b8592275c657a0f0cc6371630776da0
parent399421100e08b79e1bf68f3406b3bc414925c967 (diff)
downloaddpdk-4fa9cd433855dc433cd949c78ff9d5d9c9bcfb2e.zip
dpdk-4fa9cd433855dc433cd949c78ff9d5d9c9bcfb2e.tar.gz
dpdk-4fa9cd433855dc433cd949c78ff9d5d9c9bcfb2e.tar.xz
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 <yanglong.wu@intel.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
-rw-r--r--drivers/net/i40e/i40e_ethdev_vf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c
index 96438a4..804e445 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 =