From ff9fe66c9714f1bd0440b264067d3c37de9e2ec9 Mon Sep 17 00:00:00 2001 From: Moti Haimovsky Date: Tue, 31 Jul 2018 19:13:06 +0300 Subject: [PATCH] net/mlx4: advertise Rx jumbo frame support This commit adds the missing Rx jumbo frame support advertisement in Rx offload capabilities. Cc: stable@dpdk.org Signed-off-by: Moti Haimovsky Acked-by: Matan Azrad --- drivers/net/mlx4/mlx4_rxq.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/mlx4/mlx4_rxq.c b/drivers/net/mlx4/mlx4_rxq.c index e8bef1d645..9737da2e56 100644 --- a/drivers/net/mlx4/mlx4_rxq.c +++ b/drivers/net/mlx4/mlx4_rxq.c @@ -679,7 +679,8 @@ mlx4_get_rx_queue_offloads(struct priv *priv) { uint64_t offloads = DEV_RX_OFFLOAD_SCATTER | DEV_RX_OFFLOAD_CRC_STRIP | - DEV_RX_OFFLOAD_KEEP_CRC; + DEV_RX_OFFLOAD_KEEP_CRC | + DEV_RX_OFFLOAD_JUMBO_FRAME; if (priv->hw_csum) offloads |= DEV_RX_OFFLOAD_CHECKSUM; -- 2.20.1