[dpdk-dev] [PATCH 06/28] net/mlx5: check conditions to enable LRO
Slava Ovsiienko
viacheslavo at mellanox.com
Mon Jul 22 11:18:09 CEST 2019
> -----Original Message-----
> From: Matan Azrad <matan at mellanox.com>
> Sent: Monday, July 22, 2019 12:13
> To: Shahaf Shuler <shahafs at mellanox.com>; Yongseok Koh
> <yskoh at mellanox.com>; Slava Ovsiienko <viacheslavo at mellanox.com>
> Cc: dev at dpdk.org; Dekel Peled <dekelp at mellanox.com>
> Subject: [PATCH 06/28] net/mlx5: check conditions to enable LRO
>
> From: Dekel Peled <dekelp at mellanox.com>
>
> Use DevX API to read device LRO capabilities.
> Check if LRO is supported and can be enabled.
> Check if MPRQ is supported and can be used.
> Enable MPRQ for LRO use if not enabled by user.
> Added note for mlx5_mprq_enabled(), to emphasize that LRO enables MPRQ.
> Disable CQE compression and CRC stripping if LRO is enabled.
>
> Signed-off-by: Dekel Peled <dekelp at mellanox.com>
> Acked-by: Matan Azrad <matan at mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo at mellanox.com>
More information about the dev
mailing list