> -----Original Message----- > From: Intel-wired-lan <intel-wired-lan-bounces@xxxxxxxxxx> On Behalf Of > Pavan Kumar Linga > Sent: Monday, May 22, 2023 5:23 PM > To: intel-wired-lan@xxxxxxxxxxxxxxxx > Cc: mst@xxxxxxxxxx; simon.horman@xxxxxxxxxxxx; > edumazet@xxxxxxxxxx; Nguyen, Anthony L > <anthony.l.nguyen@xxxxxxxxx>; decot@xxxxxxxxxx; leon@xxxxxxxxxx; > corbet@xxxxxxx; linux-doc@xxxxxxxxxxxxxxx; Brandeburg, Jesse > <jesse.brandeburg@xxxxxxxxx>; kuba@xxxxxxxxxx; pabeni@xxxxxxxxxx; > rrameshbabu@xxxxxxxxxx; willemb@xxxxxxxxxx; netdev@xxxxxxxxxxxxxxx; > stephen@xxxxxxxxxxxxxxxxxx; Burra, Phani R <phani.r.burra@xxxxxxxxx>; > davem@xxxxxxxxxxxxx; shannon.nelson@xxxxxxx > Subject: [Intel-wired-lan] [PATCH iwl-next v6 15/15] idpf: configure SRIOV > and add other ndo_ops > > From: Joshua Hay <joshua.a.hay@xxxxxxxxx> > > 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@xxxxxxxxx> > Co-developed-by: Alan Brady <alan.brady@xxxxxxxxx> > Signed-off-by: Alan Brady <alan.brady@xxxxxxxxx> > Co-developed-by: Madhu Chittim <madhu.chittim@xxxxxxxxx> > Signed-off-by: Madhu Chittim <madhu.chittim@xxxxxxxxx> > Co-developed-by: Phani Burra <phani.r.burra@xxxxxxxxx> > Signed-off-by: Phani Burra <phani.r.burra@xxxxxxxxx> > Co-developed-by: Pavan Kumar Linga <pavan.kumar.linga@xxxxxxxxx> > Signed-off-by: Pavan Kumar Linga <pavan.kumar.linga@xxxxxxxxx> > Reviewed-by: Sridhar Samudrala <sridhar.samudrala@xxxxxxxxx> > Reviewed-by: Willem de Bruijn <willemb@xxxxxxxxxx> > --- > .../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@xxxxxxxxx>