[PATCH 00/10] enic: SR-IOV V2 admin channel and MBOX protocol

Satish Kharat via B4 Relay posted 10 patches 2 months, 1 week ago
There is a newer version of this series
drivers/net/ethernet/cisco/enic/Makefile      |   3 +-
drivers/net/ethernet/cisco/enic/enic.h        |  27 +-
drivers/net/ethernet/cisco/enic/enic_admin.c  | 509 +++++++++++++++++++++++++
drivers/net/ethernet/cisco/enic/enic_admin.h  |  27 ++
drivers/net/ethernet/cisco/enic/enic_main.c   | 208 +++++++++-
drivers/net/ethernet/cisco/enic/enic_mbox.c   | 530 ++++++++++++++++++++++++++
drivers/net/ethernet/cisco/enic/enic_mbox.h   |  87 +++++
drivers/net/ethernet/cisco/enic/enic_res.c    |   4 +-
drivers/net/ethernet/cisco/enic/vnic_devcmd.h |  11 +
drivers/net/ethernet/cisco/enic/vnic_enet.h   |   4 +-
10 files changed, 1397 insertions(+), 13 deletions(-)
[PATCH 00/10] enic: SR-IOV V2 admin channel and MBOX protocol
Posted by Satish Kharat via B4 Relay 2 months, 1 week ago
This series adds the admin channel infrastructure and mailbox (MBOX)
protocol needed for V2 SR-IOV support in the enic driver.

The V2 SR-IOV design uses a direct PF-VF communication channel built on
dedicated WQ/RQ/CQ hardware resources and an MSI-X interrupt.

Firmware capability and admin channel infrastructure (patches 1-4):
  - Probe-time firmware feature check for V2 SR-IOV support
  - Admin channel open/close, RQ buffer management, CQ service
    with MSI-X interrupt and NAPI polling

MBOX protocol and VF enable (patches 5-10):
  - MBOX message types, core send/receive, PF and VF handlers
  - V2 SR-IOV enable wiring with admin channel setup
  - V2 VF probe with admin channel and PF registration

This series depends on "enic: SR-IOV V2 resource discovery and VF
type detection" (Series 1), which has been accepted.

Depends-on: 20260401-enic-sriov-v2-prep-v4-0-d5834b2ef1b9@cisco.com

Signed-off-by: Satish Kharat <satishkh@cisco.com>
---
Satish Kharat (10):
      enic: verify firmware supports V2 SR-IOV at probe time
      enic: add admin channel open and close for SR-IOV
      enic: add admin RQ buffer management
      enic: add admin CQ service with MSI-X interrupt and NAPI polling
      enic: define MBOX message types and header structures
      enic: add MBOX core send and receive for admin channel
      enic: add MBOX PF handlers for VF register and capability
      enic: add MBOX VF handlers for capability, register and link state
      enic: wire V2 SR-IOV enable with admin channel and MBOX
      enic: add V2 VF probe with admin channel and PF registration

 drivers/net/ethernet/cisco/enic/Makefile      |   3 +-
 drivers/net/ethernet/cisco/enic/enic.h        |  27 +-
 drivers/net/ethernet/cisco/enic/enic_admin.c  | 509 +++++++++++++++++++++++++
 drivers/net/ethernet/cisco/enic/enic_admin.h  |  27 ++
 drivers/net/ethernet/cisco/enic/enic_main.c   | 208 +++++++++-
 drivers/net/ethernet/cisco/enic/enic_mbox.c   | 530 ++++++++++++++++++++++++++
 drivers/net/ethernet/cisco/enic/enic_mbox.h   |  87 +++++
 drivers/net/ethernet/cisco/enic/enic_res.c    |   4 +-
 drivers/net/ethernet/cisco/enic/vnic_devcmd.h |  11 +
 drivers/net/ethernet/cisco/enic/vnic_enet.h   |   4 +-
 10 files changed, 1397 insertions(+), 13 deletions(-)
---
base-commit: 3e6ef4fb822c971b464d44910a1561b4e7f9efa7
change-id: 20260404-enic-sriov-v2-admin-channel-v2-c0aa3e988833

Best regards,
-- 
Satish Kharat <satishkh@cisco.com>