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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 30 May 2023 22:44:25 +0000
From: "Singh, Krishneil K" <krishneil.k.singh@...el.com>
To: "Linga, Pavan Kumar" <pavan.kumar.linga@...el.com>,
	"intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>
CC: "mst@...hat.com" <mst@...hat.com>, "simon.horman@...igine.com"
	<simon.horman@...igine.com>, "edumazet@...gle.com" <edumazet@...gle.com>,
	"Nguyen, Anthony L" <anthony.l.nguyen@...el.com>, "decot@...gle.com"
	<decot@...gle.com>, "leon@...nel.org" <leon@...nel.org>, "Brandeburg, Jesse"
	<jesse.brandeburg@...el.com>, "kuba@...nel.org" <kuba@...nel.org>,
	"pabeni@...hat.com" <pabeni@...hat.com>, "willemb@...gle.com"
	<willemb@...gle.com>, "Bhatnagar, Shailendra"
	<shailendra.bhatnagar@...el.com>, "netdev@...r.kernel.org"
	<netdev@...r.kernel.org>, "stephen@...workplumber.org"
	<stephen@...workplumber.org>, "Burra, Phani R" <phani.r.burra@...el.com>,
	"davem@...emloft.net" <davem@...emloft.net>, "shannon.nelson@....com"
	<shannon.nelson@....com>
Subject: RE: [Intel-wired-lan] [PATCH iwl-next v6 04/15] idpf: add core init
 and interrupt request

> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of
> Pavan Kumar Linga
> Sent: Monday, May 22, 2023 5:23 PM
> To: intel-wired-lan@...ts.osuosl.org
> Cc: mst@...hat.com; simon.horman@...igine.com;
> edumazet@...gle.com; Nguyen, Anthony L
> <anthony.l.nguyen@...el.com>; decot@...gle.com; leon@...nel.org;
> Brandeburg, Jesse <jesse.brandeburg@...el.com>; kuba@...nel.org;
> pabeni@...hat.com; willemb@...gle.com; Bhatnagar, Shailendra
> <shailendra.bhatnagar@...el.com>; netdev@...r.kernel.org;
> stephen@...workplumber.org; Burra, Phani R <phani.r.burra@...el.com>;
> davem@...emloft.net; shannon.nelson@....com
> Subject: [Intel-wired-lan] [PATCH iwl-next v6 04/15] idpf: add core init and
> interrupt request
> 
> As the mailbox is setup, add the necessary send and receive
> mailbox message framework to support the virtchnl communication
> between the driver and device Control Plane (CP).
> 
> Add the core initialization. To start with, driver confirms the
> virtchnl version with the CP. Once that is done, it requests
> and gets the required capabilities and resources needed such as
> max vectors, queues etc.
> 
> Based on the vector information received in 'VIRTCHNL2_OP_GET_CAPS',
> request the stack to allocate the required vectors. Finally add
> the interrupt handling mechanism for the mailbox queue and enable
> the interrupt.
> 
> Note: Checkpatch issues a warning about IDPF_FOREACH_VPORT_VC_STATE
> and
> IDPF_GEN_STRING being complex macros and should be enclosed in
> parentheses
> but it's not the case. They are never used as a statement and instead only
> used to define the enum and array.
> 
> Co-developed-by: Alan Brady <alan.brady@...el.com>
> Signed-off-by: Alan Brady <alan.brady@...el.com>
> Co-developed-by: Emil Tantilov <emil.s.tantilov@...el.com>
> Signed-off-by: Emil Tantilov <emil.s.tantilov@...el.com>
> Co-developed-by: Joshua Hay <joshua.a.hay@...el.com>
> Signed-off-by: Joshua Hay <joshua.a.hay@...el.com>
> Co-developed-by: Madhu Chittim <madhu.chittim@...el.com>
> Signed-off-by: Madhu Chittim <madhu.chittim@...el.com>
> Co-developed-by: Phani Burra <phani.r.burra@...el.com>
> Signed-off-by: Phani Burra <phani.r.burra@...el.com>
> Co-developed-by: Shailendra Bhatnagar <shailendra.bhatnagar@...el.com>
> Signed-off-by: Shailendra Bhatnagar <shailendra.bhatnagar@...el.com>
> Signed-off-by: Pavan Kumar Linga <pavan.kumar.linga@...el.com>
> Reviewed-by: Sridhar Samudrala <sridhar.samudrala@...el.com>
> Reviewed-by: Willem de Bruijn <willemb@...gle.com>
> ---
>  drivers/net/ethernet/intel/idpf/idpf.h        | 138 ++-
>  drivers/net/ethernet/intel/idpf/idpf_dev.c    |  17 +
>  .../ethernet/intel/idpf/idpf_lan_pf_regs.h    |  43 +
>  .../ethernet/intel/idpf/idpf_lan_vf_regs.h    |  38 +
>  drivers/net/ethernet/intel/idpf/idpf_lib.c    | 347 +++++++-
>  drivers/net/ethernet/intel/idpf/idpf_main.c   |  16 +
>  drivers/net/ethernet/intel/idpf/idpf_txrx.h   |  26 +
>  drivers/net/ethernet/intel/idpf/idpf_vf_dev.c |  22 +-
>  .../net/ethernet/intel/idpf/idpf_virtchnl.c   | 807 ++++++++++++++++++
>  9 files changed, 1451 insertions(+), 3 deletions(-)
>  create mode 100644 drivers/net/ethernet/intel/idpf/idpf_txrx.h
> 

Tested-by: Krishneil Singh  <krishneil.k.singh@...el.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ