Skip to content

octeon_ep: deferred probe and mailbox

Veerasenareddy Burru linux-doc lkml netdev 5 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest8 patches 0 repliesApplied 8/8
  2. v48 patches 6 repliesSuperseded
  3. v37 patches 11 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v29 patches17 repliesSuperseded
v19 patches4 repliesSuperseded

Changes in v5 from the cover letter

- addressed review comments
https://lore.kernel.org/all/20230323104703.GD36557@unreal/
replaced atomic_inc() + atomic_read() with atomic_inc_return().

Patches in v5 All 8 applied

#Subject and filesSizeRepliesApplied
1/8octeon_ep: defer probe if firmware not readydrivers/net/ethernet/marvell/octeon_ep/octep_main.c+26 -00 repliesApplied
2/8octeon_ep: poll for control messagesdrivers/net/ethernet/marvell/octeon_ep/octep_cn9k_pf.c drivers/net/ethernet/marvell/octeon_ep/octep_main.c drivers/net/ethernet/marvell/octeon_ep/octep_main.h +1 more+70 -270 repliesApplied
3/8octeon_ep: control mailbox for multiple PFsdrivers/net/ethernet/marvell/octeon_ep/octep_cn9k_pf.c+15 -10 repliesApplied
4/8octeon_ep: add separate mailbox command and response queuesdrivers/net/ethernet/marvell/octeon_ep/octep_ctrl_mbox.c drivers/net/ethernet/marvell/octeon_ep/octep_ctrl_mbox.h drivers/net/ethernet/marvell/octeon_ep/octep_ctrl_net.c +3 more+529 -4110 repliesApplied
5/8octeon_ep: include function id in mailbox commandsdrivers/net/ethernet/marvell/octeon_ep/octep_ctrl_net.c drivers/net/ethernet/marvell/octeon_ep/octep_ctrl_net.h drivers/net/ethernet/marvell/octeon_ep/octep_ethtool.c +1 more+63 -390 repliesApplied
6/8octeon_ep: support asynchronous notificationsdrivers/net/ethernet/marvell/octeon_ep/octep_ctrl_net.c+29 -00 repliesApplied
7/8octeon_ep: function id in link info and stats mailbox commandsdrivers/net/ethernet/marvell/octeon_ep/octep_ctrl_net.c drivers/net/ethernet/marvell/octeon_ep/octep_ctrl_net.h drivers/net/ethernet/marvell/octeon_ep/octep_ethtool.c +1 more+40 -310 repliesApplied
8/8octeon_ep: add heartbeat monitordrivers/net/ethernet/marvell/octeon_ep/octep_cn9k_pf.c drivers/net/ethernet/marvell/octeon_ep/octep_config.h drivers/net/ethernet/marvell/octeon_ep/octep_main.c +2 more+66 -20 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH net-next v5 0/8] octeon_ep: deferred probe and mailbox

Implement Deferred probe, mailbox enhancements and heartbeat monitor.

v4 -> v5:
- addressed review comments
https://lore.kernel.org/all/20230323104703.GD36557@unreal/
replaced atomic_inc() + atomic_read() with atomic_inc_return().

v3 -> v4:
- addressed review comments on v3

     https://lore.kernel.org/all/[email protected]/
   - 0004-xxx.patch v3 is split into 0004-xxx.patch and 0005-xxx.patch
     in v4.

- API changes to accept function ID are moved to 0005-xxx.patch.
- fixed rct violations.
- reverted newly added changes that do not yet have use cases.

v2 -> v3:
- removed SRIOV VF support changes from v2, as new drivers which use ndo_get_vf_xxx() and ndo_set_vf_xxx() are not accepted.
https://lore.kernel.org/all/[email protected]/

Will implement VF representors and submit again.
- 0007-xxx.patch and 0008-xxx.patch from v2 are removed and

     0009-xxx.patch in v2 is now 0007-xxx.patch in v3.

- accordingly, changed title for cover letter.

v1 -> v2:
- remove separate workqueue task to wait for firmware ready. instead defer probe when firmware is not ready.

- This change has resulted in update of 0001-xxx.patch and all other patches in the patchset.

Veerasenareddy Burru (8):
octeon_ep: defer probe if firmware not ready
octeon_ep: poll for control messages
octeon_ep: control mailbox for multiple PFs
octeon_ep: add separate mailbox command and response queues
octeon_ep: include function id in mailbox commands
octeon_ep: support asynchronous notifications
octeon_ep: function id in link info and stats mailbox commands
octeon_ep: add heartbeat monitor

 .../marvell/octeon_ep/octep_cn9k_pf.c         |  72 ++--
 .../ethernet/marvell/octeon_ep/octep_config.h |   6 +
 .../marvell/octeon_ep/octep_ctrl_mbox.c       | 276 +++++++------
 .../marvell/octeon_ep/octep_ctrl_mbox.h       |  88 ++--
 .../marvell/octeon_ep/octep_ctrl_net.c        | 387 ++++++++++++------
 .../marvell/octeon_ep/octep_ctrl_net.h        | 196 +++++----
 .../marvell/octeon_ep/octep_ethtool.c         |  12 +-
 .../ethernet/marvell/octeon_ep/octep_main.c   | 180 +++++---
 .../ethernet/marvell/octeon_ep/octep_main.h   |  18 +-
 .../marvell/octeon_ep/octep_regs_cn9k_pf.h    |   6 +
 10 files changed, 784 insertions(+), 457 deletions(-)

base-commit: 323fe43cf9aef79159ba8937218a3f076bf505af

Signature · 1 line
2.36.0