RE: [PATCH] net/mlx5: fix detection of LRO support

2022-08-15 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Michael Baum > Sent: Wednesday, July 27, 2022 3:24 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Slava Ovsiienko ; Michael > Baum ; sta...@dpdk.org; Gal Shalom > > Subject: [PATCH] net/mlx5: fix detection of

[PATCH] net/mlx5: fix detection of LRO support

2022-07-27 Thread Michael Baum
One of the conditions to allow LRO offload is the DV configuration. The function incorrectly checks the DV configuration before initializing it by the user devarg; hence, LRO cannot be allowed. This patch moves this check to mlx5_shared_dev_ctx_args_config, where DV configuration is initialized.