[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <MN2PR11MB4045CDA2EA630A7C85AE57D2EAB69@MN2PR11MB4045.namprd11.prod.outlook.com>
Date: Mon, 6 Mar 2023 04:21:58 +0000
From: "Rout, ChandanX" <chandanx.rout@...el.com>
To: "Sarkar, Tirthendu" <tirthendu.sarkar@...el.com>,
"intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"Brandeburg, Jesse" <jesse.brandeburg@...el.com>,
"Nguyen, Anthony L" <anthony.l.nguyen@...el.com>,
"bpf@...r.kernel.org" <bpf@...r.kernel.org>,
"Karlsson, Magnus" <magnus.karlsson@...el.com>,
"Kuruvinakunnel, George" <george.kuruvinakunnel@...el.com>,
"Nagaraju, Shwetha" <shwetha.nagaraju@...el.com>,
"Nagraj, Shravan" <shravan.nagraj@...el.com>
Subject: RE: [Intel-wired-lan] [PATCH intel-next v6 4/8] i40e: Change size to
truesize when using i40e_rx_buffer_flip()
>-----Original Message-----
>From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of
>Sarkar, Tirthendu
>Sent: 18 February 2023 00:45
>To: intel-wired-lan@...ts.osuosl.org
>Cc: Sarkar, Tirthendu <tirthendu.sarkar@...el.com>; netdev@...r.kernel.org;
>Brandeburg, Jesse <jesse.brandeburg@...el.com>; Nguyen, Anthony L
><anthony.l.nguyen@...el.com>; bpf@...r.kernel.org; Karlsson, Magnus
><magnus.karlsson@...el.com>
>Subject: [Intel-wired-lan] [PATCH intel-next v6 4/8] i40e: Change size to
>truesize when using i40e_rx_buffer_flip()
>
>Truesize is now passed directly to i40e_rx_buffer_flip() instead of size so that
>it does not need to recalculate truesize from size using
>i40e_rx_frame_truesize() before adjusting page offset.
>
>With these change the function can now be used during skb building and
>adding frags. In later patches it will also be easier for adjusting page offsets for
>multi-buffers.
>
>Signed-off-by: Tirthendu Sarkar <tirthendu.sarkar@...el.com>
>---
> drivers/net/ethernet/intel/i40e/i40e_txrx.c | 54 ++++++++-------------
> 1 file changed, 19 insertions(+), 35 deletions(-)
>
Tested-by: Chandan Kumar Rout <chandanx.rout@...el.com> (A Contingent Worker at Intel)
Powered by blists - more mailing lists