From: Moti Haimovsky Date: Tue, 31 Jul 2018 16:13:06 +0000 (+0300) Subject: net/mlx4: advertise Rx jumbo frame support X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ff9fe66c9714f1bd0440b264067d3c37de9e2ec9;p=dpdk.git 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 --- 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;