From: Rafal Kozik Date: Thu, 1 Feb 2018 13:06:36 +0000 (+0100) Subject: net/ena: fix jumbo support in Rx offloads flags X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=a0a4ff40574b689e0863f9908059e942e1f8ad92;p=dpdk.git net/ena: fix jumbo support in Rx offloads flags ENA device supports Rx jumbo frames and such information needs to be provided in the offloads flags. Fixes: 7369f88f88c0 ("net/ena: convert to new Rx offloads API") Signed-off-by: Rafal Kozik Acked-by: Michal Krawczyk --- diff --git a/drivers/net/ena/ena_ethdev.c b/drivers/net/ena/ena_ethdev.c index 65b75fb893..34b2a8d782 100644 --- a/drivers/net/ena/ena_ethdev.c +++ b/drivers/net/ena/ena_ethdev.c @@ -1563,6 +1563,8 @@ static void ena_infos_get(struct rte_eth_dev *dev, DEV_RX_OFFLOAD_UDP_CKSUM | DEV_RX_OFFLOAD_TCP_CKSUM; + rx_feat |= DEV_RX_OFFLOAD_JUMBO_FRAME; + /* Inform framework about available features */ dev_info->rx_offload_capa = rx_feat; dev_info->rx_queue_offload_capa = rx_feat;