lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <BL0PR11MB31221A9137A235D973E0DD53BDCAA@BL0PR11MB3122.namprd11.prod.outlook.com> Date: Thu, 5 Oct 2023 08:08:42 +0000 From: "Pucha, HimasekharX Reddy" <himasekharx.reddy.pucha@...el.com> To: ivecera <ivecera@...hat.com>, "netdev@...r.kernel.org" <netdev@...r.kernel.org> CC: "edumazet@...gle.com" <edumazet@...gle.com>, "intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>, "Brandeburg, Jesse" <jesse.brandeburg@...el.com>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, "Nguyen, Anthony L" <anthony.l.nguyen@...el.com>, "Kitszel, Przemyslaw" <przemyslaw.kitszel@...el.com>, "kuba@...nel.org" <kuba@...nel.org>, "pabeni@...hat.com" <pabeni@...hat.com>, "davem@...emloft.net" <davem@...emloft.net> Subject: RE: [Intel-wired-lan] [PATCH net-next v2 1/9] i40e: Remove back pointer from i40e_hw structure > -----Original Message----- > From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of Ivan Vecera > Sent: Wednesday, September 27, 2023 2:01 PM > To: netdev@...r.kernel.org > Cc: edumazet@...gle.com; intel-wired-lan@...ts.osuosl.org; Brandeburg, Jesse <jesse.brandeburg@...el.com>; linux-kernel@...r.kernel.org; Nguyen, Anthony L <anthony.l.nguyen@...el.com>; Kitszel, Przemyslaw <przemyslaw.kitszel@...el.com>; kuba@...nel.org; pabeni@...hat.com; davem@...emloft.net > Subject: [Intel-wired-lan] [PATCH net-next v2 1/9] i40e: Remove back pointer from i40e_hw structure > > The .back field placed in i40e_hw is used to get pointer to i40e_pf > instance but it is not necessary as the i40e_hw is a part of i40e_pf > and containerof macro can be used to obtain the pointer to i40e_pf. > Remove .back field from i40e_hw structure, introduce i40e_hw_to_pf() > and i40e_hw_to_dev() helpers and use them. > > Signed-off-by: Ivan Vecera <ivecera@...hat.com> > --- > drivers/net/ethernet/intel/i40e/i40e.h | 11 ++++++++++ > drivers/net/ethernet/intel/i40e/i40e_main.c | 22 ++++++++++++++------ > drivers/net/ethernet/intel/i40e/i40e_osdep.h | 8 +++---- > drivers/net/ethernet/intel/i40e/i40e_type.h | 1 - > 4 files changed, 31 insertions(+), 11 deletions(-) > Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@...el.com> (A Contingent worker at Intel)
Powered by blists - more mailing lists