From: Yanglong Wu Date: Wed, 18 Apr 2018 01:42:04 +0000 (+0800) Subject: net/i40e: fix missing jumbo frame offload capability X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=1c251e7bf0c5fe1cb6cdeeb6fa89ed10aa667900;p=dpdk.git net/i40e: fix missing jumbo frame offload capability JUMBO_FRAME offload capability should be exposed 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.c b/drivers/net/i40e/i40e_ethdev.c index afa9a1c133..d869add951 100644 --- a/drivers/net/i40e/i40e_ethdev.c +++ b/drivers/net/i40e/i40e_ethdev.c @@ -3300,7 +3300,8 @@ i40e_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_VLAN_EXTEND | - DEV_RX_OFFLOAD_VLAN_FILTER; + DEV_RX_OFFLOAD_VLAN_FILTER | + DEV_RX_OFFLOAD_JUMBO_FRAME; dev_info->tx_queue_offload_capa = 0; dev_info->tx_offload_capa =