[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <00f2e766-a6eb-ce51-a787-ae9ab504dda6@mellanox.com>
Date: Thu, 30 Apr 2020 11:22:29 +0300
From: Tariq Toukan <tariqt@...lanox.com>
To: Jakub Kicinski <kuba@...nel.org>,
Saeed Mahameed <saeedm@...lanox.com>
Cc: "David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
Tariq Toukan <tariqt@...lanox.com>,
Boris Pismenny <borisp@...lanox.com>
Subject: Re: [net 8/8] net/mlx5e: kTLS, Add resiliency to zero-size record
frags in TX resync flow
On 4/30/2020 3:12 AM, Jakub Kicinski wrote:
> On Wed, 29 Apr 2020 15:54:49 -0700 Saeed Mahameed wrote:
>> From: Tariq Toukan <tariqt@...lanox.com>
>>
>> SKBs of TLS records might have empty zero-sized frags.
>
> Why? Let's fix that instead of adding checks to drivers.
>
Hi Jakub,
The HW spec requires the DUMP size to be non-zero, this patch comes to
guarantee this in driver.
In kernel stack, having zero-side fragments is for sure non-optimal
practice, but still could be considered valid and tolerated.
I agree that we should find the source of this practice in stack and
enhance it.
Thanks,
Tariq
>> Posting a DUMP WQE for such frag would result an error completion.
>> Add in-driver resiliency and skip such frags.
>>
>> Fixes: d2ead1f360e8 ("net/mlx5e: Add kTLS TX HW offload support")
Powered by blists - more mailing lists