From a0a4ff40574b689e0863f9908059e942e1f8ad92 Mon Sep 17 00:00:00 2001 From: Rafal Kozik Date: Thu, 1 Feb 2018 14:06:36 +0100 Subject: [PATCH] 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 --- drivers/net/ena/ena_ethdev.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.20.1