All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v3 00/10] enic: SR-IOV V2 admin channel and MBOX protocol
@ 2026-04-08 16:36 ` Satish Kharat via B4 Relay
  0 siblings, 0 replies; 23+ messages in thread
From: Satish Kharat @ 2026-04-08 16:36 UTC (permalink / raw)
  To: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni
  Cc: netdev, linux-kernel,
	20260401-enic-sriov-v2-prep-v4-0-d5834b2ef1b9, Satish Kharat,
	Breno Leitao

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>
---
Changes in v3:
- Use early-return pattern in enic_sriov_detect_vf_type to reduce
  nesting (patch 1) [Breno Leitao]
- Link to v2: https://lore.kernel.org/r/20260408-enic-sriov-v2-admin-channel-v2-v2-0-d05dd3623fd3@cisco.com

Changes in v2:
- Fix lines exceeding 80 columns (patches 4, 6, 7, 8)
- Add __maybe_unused to enic_sriov_configure and enic_sriov_v2_enable;
  .sriov_configure wiring deferred to a later series after devcmd
  hardening is in place (patch 9)
- Guard probe-time auto-enable to skip V2 VFs (patch 9)
- Link to v1: https://lore.kernel.org/r/20260406-enic-sriov-v2-admin-channel-v2-v1-0-82cc47636a78@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        |  29 +-
 drivers/net/ethernet/cisco/enic/enic_admin.c  | 511 ++++++++++++++++++++++++
 drivers/net/ethernet/cisco/enic/enic_admin.h  |  27 ++
 drivers/net/ethernet/cisco/enic/enic_main.c   | 214 +++++++++-
 drivers/net/ethernet/cisco/enic/enic_mbox.c   | 546 ++++++++++++++++++++++++++
 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, 1422 insertions(+), 14 deletions(-)
---
base-commit: 3e6ef4fb822c971b464d44910a1561b4e7f9efa7
change-id: 20260404-enic-sriov-v2-admin-channel-v2-c0aa3e988833

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


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2026-04-09  1:02 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-08 16:36 [PATCH net-next v3 00/10] enic: SR-IOV V2 admin channel and MBOX protocol Satish Kharat
2026-04-08 16:36 ` Satish Kharat via B4 Relay
2026-04-08 16:36 ` [PATCH net-next v3 01/10] enic: verify firmware supports V2 SR-IOV at probe time Satish Kharat
2026-04-08 16:36   ` Satish Kharat via B4 Relay
2026-04-08 16:36 ` [PATCH net-next v3 02/10] enic: add admin channel open and close for SR-IOV Satish Kharat
2026-04-08 16:36   ` Satish Kharat via B4 Relay
2026-04-08 16:36 ` [PATCH net-next v3 03/10] enic: add admin RQ buffer management Satish Kharat
2026-04-08 16:36   ` Satish Kharat via B4 Relay
2026-04-08 16:36 ` [PATCH net-next v3 04/10] enic: add admin CQ service with MSI-X interrupt and NAPI polling Satish Kharat
2026-04-08 16:36   ` Satish Kharat via B4 Relay
2026-04-08 16:36 ` [PATCH net-next v3 05/10] enic: define MBOX message types and header structures Satish Kharat
2026-04-08 16:36   ` Satish Kharat via B4 Relay
2026-04-08 16:36 ` [PATCH net-next v3 06/10] enic: add MBOX core send and receive for admin channel Satish Kharat
2026-04-08 16:36   ` Satish Kharat via B4 Relay
2026-04-08 16:36 ` [PATCH net-next v3 07/10] enic: add MBOX PF handlers for VF register and capability Satish Kharat
2026-04-08 16:36   ` Satish Kharat via B4 Relay
2026-04-08 16:36 ` [PATCH net-next v3 08/10] enic: add MBOX VF handlers for capability, register and link state Satish Kharat
2026-04-08 16:36   ` Satish Kharat via B4 Relay
2026-04-08 16:36 ` [PATCH net-next v3 09/10] enic: wire V2 SR-IOV enable with admin channel and MBOX Satish Kharat
2026-04-08 16:36   ` Satish Kharat via B4 Relay
2026-04-08 16:36 ` [PATCH net-next v3 10/10] enic: add V2 VF probe with admin channel and PF registration Satish Kharat
2026-04-08 16:36   ` Satish Kharat via B4 Relay
2026-04-09  1:02 ` [PATCH net-next v3 00/10] enic: SR-IOV V2 admin channel and MBOX protocol Jakub Kicinski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.