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 <motih@mellanox.com> Acked-by: Matan Azrad <matan@mellanox.com>
This commit is contained in:
parent
2d3b832052
commit
ff9fe66c97
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user