ACK: [Pull Request][jammy/linux-azure] Azure MANA PF driver

Marcelo Henrique Cerri marcelo.cerri at canonical.com
Mon Aug 15 14:04:16 UTC 2022


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


"ethernet: use eth_hw_addr_set() instead of ether_addr_copy()" doesn't
seem strictly necessary but on the other hand, the change seems
virtually equivalent.

Acked-by: Marcelo Henrique Cerri <marcelo.cerri at canonical.com>

On Tue, Jul 05 2022, Tim Gardner wrote:
> BugLink: https://bugs.launchpad.net/bugs/1980766
>
> SRU Justification
>
> [Impact]
>
> Microsoft requests the addition of the MANA PF driver. Adding this
> driver to a 5.15 kernel requires a number of scaffolding patches,
> though not all of these patches may be strictly required. Bringing the
> MANA driver up to date with v5.18 seemed like the right thing to do.
>
> net: mana: Add the Linux MANA PF driver //this is required by SI
> vendors like Lenovo for their manufacture testing process.
>
> [Test Case]
>
> Microsoft tested
>
> [Where things could go wrong]
>
> This could impact the operation of the MANA driver.
>
> [Other Info]
>
> SF: #00340221
>
> The following changes since commit 26e232d8eca60723bf8da229c62f7a6fa3c39be3:
>
>   UBUNTU: Ubuntu-azure-5.15.0-1014.17 (2022-06-23 12:42:08 -0600)
>
> are available in the Git repository at:
>
>   git://git.launchpad.net/~timg-tpi/ubuntu/+source/linux/+git/jammy
>   b78eb2e551536a6d062afcd242ca46fcc08d0fd7
>
> for you to fetch changes up to b78eb2e551536a6d062afcd242ca46fcc08d0fd7:
>
>   net: mana: Add the Linux MANA PF driver (2022-07-05 12:17:58 -0600)
>
> ----------------------------------------------------------------
> Colin Ian King (1):
>       net: mana: Fix spelling mistake "calledd" -> "called"
>
> Dexuan Cui (5):
>       net: mana: Fix the netdev_err()'s vPort argument in mana_init_port()
>       net: mana: Report OS info to the PF driver
>       net: mana: Improve the HWC error handling
>       net: mana: Support hibernation and kexec
>       net: mana: Add the Linux MANA PF driver
>
> Gustavo A. R. Silva (2):
>       net: mana: Use kcalloc() instead of kzalloc()
>       net: mana: Use struct_size() helper in mana_gd_create_dma_region()
>
> Haiyang Zhang (5):
>       net: mana: Allow setting the number of queues while the NIC is down
>       net: mana: Add XDP support
>       net: mana: Add counter for packet dropped by XDP
>       net: mana: Add counter for XDP_TX
>       net: mana: Reuse XDP dropped page
>
> Jakub Kicinski (2):
>       ethernet: use eth_hw_addr_set() instead of ether_addr_copy()
>       net: Add includes masked by netdevice.h including uapi/bpf.h
>
>  drivers/net/ethernet/agere/et131x.c                |   4 +-
>  drivers/net/ethernet/alacritech/slicoss.c          |   2 +-
>  drivers/net/ethernet/amazon/ena/ena_netdev.c       |   2 +-
>  drivers/net/ethernet/amazon/ena/ena_netdev.h       |   1 +
>  drivers/net/ethernet/aquantia/atlantic/aq_nic.c    |   2 +-
>  drivers/net/ethernet/broadcom/bgmac-bcma.c         |   2 +-
>  drivers/net/ethernet/broadcom/bgmac.c              |   2 +-
>  drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c      |   2 +-
>  drivers/net/ethernet/broadcom/genet/bcmgenet.c     |   4 +-
>  drivers/net/ethernet/brocade/bna/bnad.c            |   4 +-
>  drivers/net/ethernet/cavium/liquidio/lio_core.c    |   2 +-
>  drivers/net/ethernet/cavium/liquidio/lio_main.c    |   2 +-
>  drivers/net/ethernet/cavium/liquidio/lio_vf_main.c |   2 +-
>  drivers/net/ethernet/cavium/thunder/nicvf_main.c   |   3 +-
>  drivers/net/ethernet/cavium/thunder/nicvf_queues.c |   1 +
>  drivers/net/ethernet/emulex/benet/be_main.c        |   2 +-
>  drivers/net/ethernet/ethoc.c                       |   2 +-
>  drivers/net/ethernet/ezchip/nps_enet.c             |   2 +-
>  drivers/net/ethernet/faraday/ftgmac100.c           |   4 +-
>  drivers/net/ethernet/google/gve/gve_adminq.c       |   2 +-
>  drivers/net/ethernet/hisilicon/hns3/hns3_enet.c    |   4 +-
>  drivers/net/ethernet/ibm/ibmveth.c                 |   2 +-
>  drivers/net/ethernet/ibm/ibmvnic.c                 |   5 +-
>  drivers/net/ethernet/intel/fm10k/fm10k_netdev.c    |   2 +-
>  drivers/net/ethernet/intel/fm10k/fm10k_pci.c       |   4 +-
>  drivers/net/ethernet/intel/i40e/i40e_main.c        |   4 +-
>  drivers/net/ethernet/intel/iavf/iavf_main.c        |   2 +-
>  drivers/net/ethernet/intel/iavf/iavf_virtchnl.c    |   4 +-
>  drivers/net/ethernet/intel/ice/ice_main.c          |   4 +-
>  drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c  |   6 +-
>  drivers/net/ethernet/korina.c                      |   2 +-
>  drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c    |   4 +-
>  drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c     |   2 +-
>  .../ethernet/marvell/octeontx2/nic/otx2_common.c   |   2 +-
>  .../net/ethernet/marvell/prestera/prestera_main.c  |   2 +-
>  drivers/net/ethernet/mellanox/mlx5/core/en_main.c  |   2 +-
>  .../ethernet/mellanox/mlxbf_gige/mlxbf_gige_main.c |   2 +-
>  drivers/net/ethernet/microchip/enc28j60.c          |   4 +-
>  drivers/net/ethernet/microchip/lan743x_main.c      |   4 +-
>  .../net/ethernet/microchip/sparx5/sparx5_netdev.c  |   2 +-
>  drivers/net/ethernet/microsoft/mana/Makefile       |   2 +-
>  drivers/net/ethernet/microsoft/mana/gdma.h         |  10 +
>  drivers/net/ethernet/microsoft/mana/gdma_main.c    | 198 +++++++++---
>  drivers/net/ethernet/microsoft/mana/hw_channel.c   |  93 +++---
>  drivers/net/ethernet/microsoft/mana/hw_channel.h   |   5 +
>  drivers/net/ethernet/microsoft/mana/mana.h         |  96 +++++-
>  drivers/net/ethernet/microsoft/mana/mana_bpf.c     | 162 ++++++++++
>  drivers/net/ethernet/microsoft/mana/mana_en.c      | 356
>  +++++++++++++++++----
>  drivers/net/ethernet/microsoft/mana/mana_ethtool.c |  38 ++-
> drivers/net/ethernet/mscc/ocelot_net.c             |   2 +-
>  drivers/net/ethernet/netronome/nfp/abm/main.c      |   2 +-
>  drivers/net/ethernet/netronome/nfp/nfp_net_main.c  |   2 +-
>  .../net/ethernet/netronome/nfp/nfp_netvf_main.c    |   2 +-
>  drivers/net/ethernet/ni/nixge.c                    |   2 +-
>  drivers/net/ethernet/qlogic/qede/qede_filter.c     |   4 +-
>  drivers/net/ethernet/qlogic/qede/qede_main.c       |   2 +-
>  drivers/net/ethernet/qualcomm/emac/emac.c          |   2 +-
>  drivers/net/ethernet/sfc/ef10_sriov.c              |   2 +-
>  drivers/net/ethernet/sfc/efx.c                     |   2 +-
>  drivers/net/ethernet/sfc/efx_common.c              |   4 +-
>  drivers/net/ethernet/sfc/falcon/efx.c              |   6 +-
>  drivers/net/ethernet/socionext/netsec.c            |   2 +-
>  drivers/net/ethernet/stmicro/stmmac/stmmac.h       |   1 +
>  drivers/net/ethernet/ti/am65-cpsw-nuss.c           |   2 +-
>  drivers/net/ethernet/ti/cpsw_new.c                 |   4 +-
>  drivers/net/ethernet/ti/cpsw_priv.h                |   2 +
>  drivers/net/ethernet/ti/davinci_emac.c             |   2 +-
>  drivers/net/ethernet/ti/netcp_core.c               |   2 +-
>  include/linux/etherdevice.h                        |   2 +-
>  include/net/ip6_fib.h                              |   1 +
>  kernel/bpf/net_namespace.c                         |   1 +
>  71 files changed, 882 insertions(+), 239 deletions(-)
>  create mode 100644 drivers/net/ethernet/microsoft/mana/mana_bpf.c
>
>
> --
> -----------
> Tim Gardner
> Canonical, Inc


- --
Regards,
Marcelo
-----BEGIN PGP SIGNATURE-----

iQHQBAEBCgA6FiEExJjLjAfVL0XbfEr56e82LoessAkFAmL6UpIcHG1hcmNlbG8u
Y2VycmlAY2Fub25pY2FsLmNvbQAKCRDp7zYuh6ywCbkmC/9FPo0VTGI6SvB2K8SE
hRerMqWzjRTg8KGByL3X9bgbdx/ywYq1ZD9Pz7zvq1lTK4JPNS2ejQuSijWJYi+I
LyAGRNdWtfqCKrpghvT0jiGikJNEl2iBYKF+R8D4ofizCXO2IoJW1/BeE/iaj1Ql
9Q/9//gONghPqM/uJwhTuI1df9miWbvv57XWqXt2JgHs5+lPgPNf1UrDPQqn0+kP
zm9JlAY0ocpWztFOSAFHaMPjtnESLKTV3N73XWZVhbu2NLLgl5/cQR0wsDmeF9aL
WjdzVhRqLUMFobU3QaC+7JGlnIBBM/deU30hYkES5UUc4c/9mH9GYL3dv7cZzye4
qUQ4tXQG69CwffNi8ggIkYsPnK7y9vOQ0var05aO0dILfeVRWE23NfB55fRdeacQ
IHVIy6pcIifQ69Dh2Ty/TKgkKSiGpQhqo5RKSgC6qza4/VMzYnov32ecVlOoBNGc
KUWPGiKs+q6F4JD6sqIx9OUQjih9DtJo/kLtV0Yv01+S3JE=
=EtaL
-----END PGP SIGNATURE-----



More information about the kernel-team mailing list