[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <pj41zl7cvj2v3r.fsf@u570694869fb251.ant.amazon.com>
Date: Tue, 14 Mar 2023 17:46:41 +0200
From: Shay Agroskin <shayagr@...zon.com>
To: Gal Pressman <gal@...dia.com>
CC: David Miller <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, <netdev@...r.kernel.org>,
"Woodhouse, David" <dwmw@...zon.com>,
"Machulsky, Zorik" <zorik@...zon.com>,
"Matushevsky, Alexander" <matua@...zon.com>,
"Saeed Bshara" <saeedb@...zon.com>,
"Wilson, Matt" <msw@...zon.com>,
"Liguori, Anthony" <aliguori@...zon.com>,
"Bshara, Nafea" <nafea@...zon.com>,
"Belgazal, Netanel" <netanel@...zon.com>,
"Saidi, Ali" <alisaidi@...zon.com>,
"Herrenschmidt, Benjamin" <benh@...zon.com>,
"Kiyanovski, Arthur" <akiyano@...zon.com>,
"Dagan, Noam" <ndagan@...zon.com>,
"Arinzon, David" <darinzon@...zon.com>,
"Itzko, Shahar" <itzko@...zon.com>,
"Abboud, Osama" <osamaabb@...zon.com>
Subject: Re: [PATCH v4 net-next 1/5] ethtool: Add support for configuring
tx_push_buf_len
Gal Pressman <gal@...dia.com> writes:
> CAUTION: This email originated from outside of the
> organization. Do not click links or open attachments unless you
> can confirm the sender and know the content is safe.
>
>
>
> On 09/03/2023 15:13, Shay Agroskin wrote:
>> +``ETHTOOL_A_RINGS_TX_PUSH_BUF_LEN`` specifies the maximum
>> number of bytes of a
>> +transmitted packet a driver can push directly to the
>> underlying device
>> +('push' mode). Pushing some of the payload bytes to the device
>> has the
>> +advantages of reducing latency for small packets by avoiding
>> DMA mapping (same
>> +as ``ETHTOOL_A_RINGS_TX_PUSH`` parameter) as well as allowing
>> the underlying
>> +device to process packet headers ahead of fetching its
>> payload.
>> +This can help the device to make fast actions based on the
>> packet's headers.
> ...
>
> BTW, as I mentioned in v1, ENA doesn't advertise tx_push, which
> is a bit
> strange given the fact that it now adds tx_push_buf_len support.
Yup you're right, sorry for missing it. I'll advertisement for
tx_push support in next version
Powered by blists - more mailing lists