net/mlx4: advertise Rx jumbo frame support
authorMoti Haimovsky <motih@mellanox.com>
Tue, 31 Jul 2018 16:13:06 +0000 (19:13 +0300)
committerShahaf Shuler <shahafs@mellanox.com>
Thu, 2 Aug 2018 10:34:18 +0000 (12:34 +0200)
This commit adds the missing Rx jumbo frame support advertisement
in Rx offload capabilities.

Cc: stable@dpdk.org
Signed-off-by: Moti Haimovsky <motih@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
drivers/net/mlx4/mlx4_rxq.c

index e8bef1d..9737da2 100644 (file)
@@ -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;