[Intel-wired-lan] [PATCH iwl-next v6 15/15] idpf: configure SRIOV and add other ndo_ops

Singh, Krishneil K krishneil.k.singh at intel.com
Tue May 30 23:06:39 UTC 2023


> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Pavan Kumar Linga
> Sent: Monday, May 22, 2023 5:23 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: mst at redhat.com; simon.horman at corigine.com;
> edumazet at google.com; Nguyen, Anthony L
> <anthony.l.nguyen at intel.com>; decot at google.com; leon at kernel.org;
> corbet at lwn.net; linux-doc at vger.kernel.org; Brandeburg, Jesse
> <jesse.brandeburg at intel.com>; kuba at kernel.org; pabeni at redhat.com;
> rrameshbabu at nvidia.com; willemb at google.com; netdev at vger.kernel.org;
> stephen at networkplumber.org; Burra, Phani R <phani.r.burra at intel.com>;
> davem at davemloft.net; shannon.nelson at amd.com
> Subject: [Intel-wired-lan] [PATCH iwl-next v6 15/15] idpf: configure SRIOV
> and add other ndo_ops
> 
> From: Joshua Hay <joshua.a.hay at intel.com>
> 
> Add PCI callback to configure SRIOV and add the necessary support
> to initialize the requested number of VFs by sending the virtchnl
> message to the device Control Plane.
> 
> Add other ndo ops supported by the driver such as features_check,
> set_rx_mode, validate_addr, set_mac_address, change_mtu, get_stats64,
> set_features, and tx_timeout. Initialize the statistics task which
> requests the queue related statistics to the CP. Add loopback
> and promiscuous mode support and the respective virtchnl messages.
> 
> Finally, add documentation and build support for the driver.
> 
> Signed-off-by: Joshua Hay <joshua.a.hay at intel.com>
> Co-developed-by: Alan Brady <alan.brady at intel.com>
> Signed-off-by: Alan Brady <alan.brady at intel.com>
> Co-developed-by: Madhu Chittim <madhu.chittim at intel.com>
> Signed-off-by: Madhu Chittim <madhu.chittim at intel.com>
> Co-developed-by: Phani Burra <phani.r.burra at intel.com>
> Signed-off-by: Phani Burra <phani.r.burra at intel.com>
> Co-developed-by: Pavan Kumar Linga <pavan.kumar.linga at intel.com>
> Signed-off-by: Pavan Kumar Linga <pavan.kumar.linga at intel.com>
> Reviewed-by: Sridhar Samudrala <sridhar.samudrala at intel.com>
> Reviewed-by: Willem de Bruijn <willemb at google.com>
> ---
>  .../device_drivers/ethernet/index.rst         |   1 +
>  .../device_drivers/ethernet/intel/idpf.rst    | 160 +++++
>  drivers/net/ethernet/intel/Kconfig            |  10 +
>  drivers/net/ethernet/intel/Makefile           |   1 +
>  drivers/net/ethernet/intel/idpf/idpf.h        |  40 ++
>  drivers/net/ethernet/intel/idpf/idpf_lib.c    | 642 +++++++++++++++++-
>  drivers/net/ethernet/intel/idpf/idpf_main.c   |  17 +
>  drivers/net/ethernet/intel/idpf/idpf_txrx.c   |  26 +
>  drivers/net/ethernet/intel/idpf/idpf_txrx.h   |   2 +
>  .../net/ethernet/intel/idpf/idpf_virtchnl.c   | 193 ++++++
>  10 files changed, 1089 insertions(+), 3 deletions(-)
>  create mode 100644
> Documentation/networking/device_drivers/ethernet/intel/idpf.rst
> 
Tested-by: Krishneil Singh  <krishneil.k.singh at intel.com>


More information about the Intel-wired-lan mailing list