[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <SJ0PR11MB5865C399EC13E596DA501CC78F512@SJ0PR11MB5865.namprd11.prod.outlook.com>
Date: Mon, 4 Nov 2024 11:03:56 +0000
From: "Romanowski, Rafal" <rafal.romanowski@...el.com>
To: "Polchlopek, Mateusz" <mateusz.polchlopek@...el.com>,
"intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>, "Polchlopek, Mateusz"
<mateusz.polchlopek@...el.com>, "Lobakin, Aleksander"
<aleksander.lobakin@...el.com>
Subject: RE: [Intel-wired-lan] [PATCH iwl-next v12 10/14] iavf: define Rx
descriptors as qwords
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of
> Mateusz Polchlopek
> Sent: Tuesday, October 22, 2024 1:41 PM
> To: intel-wired-lan@...ts.osuosl.org
> Cc: netdev@...r.kernel.org; Polchlopek, Mateusz
> <mateusz.polchlopek@...el.com>; Lobakin, Aleksander
> <aleksander.lobakin@...el.com>
> Subject: [Intel-wired-lan] [PATCH iwl-next v12 10/14] iavf: define Rx descriptors
> as qwords
>
> The union iavf_32byte_rx_desc consists of two unnamed structs defined inside.
> One of them represents legacy 32 byte descriptor and second the
> 16 byte descriptor (extended to 32 byte). Each of them consists of bunch of
> unions, structs and __le fields that represent specific fields in descriptor.
>
> This commit changes the representation of iavf_32byte_rx_desc union to store
> four __le64 fields (qw0, qw1, qw2, qw3) that represent quad-words. Those quad-
> words will be then accessed by calling leXY_get_bits macros in upcoming
> commits.
>
> Suggested-by: Alexander Lobakin <aleksander.lobakin@...el.com>
> Signed-off-by: Mateusz Polchlopek <mateusz.polchlopek@...el.com>
> ---
> drivers/net/ethernet/intel/iavf/iavf.h | 2 +-
> drivers/net/ethernet/intel/iavf/iavf_trace.h | 6 +-
> drivers/net/ethernet/intel/iavf/iavf_txrx.c | 56 ++++-----
> drivers/net/ethernet/intel/iavf/iavf_txrx.h | 7 +-
> drivers/net/ethernet/intel/iavf/iavf_type.h | 117 +++++++------------
> 5 files changed, 77 insertions(+), 111 deletions(-)
>
> diff --git a/drivers/net/ethernet/intel/iavf/iavf.h
> b/drivers/net/ethernet/intel/iavf/iavf.h
> index b6e52992e270..9de3e0ba3731 100644
> --- a/drivers/net/ethernet/intel/iavf/iavf.h
> +++ b/drivers/net/ethernet/intel/iavf/iavf.h
> @@ -83,7 +83,7 @@ struct iavf_vsi {
Tested-by: Rafal Romanowski <rafal.romanowski@...el.com>
Powered by blists - more mailing lists