mbox series

[net-next,v2,0/6] dpaa2-mac: various updates

Message ID 20210108090727.866283-1-ciorneiioana@gmail.com (mailing list archive)
Headers show
Series dpaa2-mac: various updates | expand

Message

Ioana Ciornei Jan. 8, 2021, 9:07 a.m. UTC
The first two patches of this series extends the MAC statistics support
to also work for network interfaces which have their link status handled
by firmware (TYPE_FIXED).

The next two patches are fixing a sporadic problem which happens when
the connected DPMAC object is not yet discovered by the fsl-mc bus, thus
the dpaa2-eth is not able to get a reference to it. A referred probe
will be requested in this case.

Finally, the last two patches make some cosmetic changes, mostly
removing comments and unnecessary checks.

Changes in v2:
 - replaced IS_ERR_OR_NULL() by IS_ERR() in patch 4/6
 - reworded the commit message of patch 6/6

Ioana Ciornei (6):
  dpaa2-mac: split up initializing the MAC object from connecting to it
  dpaa2-mac: export MAC counters even when in TYPE_FIXED
  bus: fsl-mc: return -EPROBE_DEFER when a device is not yet discovered
  dpaa2-eth: retry the probe when the MAC is not yet discovered on the
    bus
  dpaa2-mac: remove an unnecessary check
  dpaa2-mac: remove a comment regarding pause settings

 drivers/bus/fsl-mc/fsl-mc-bus.c               |   9 ++
 .../net/ethernet/freescale/dpaa2/dpaa2-eth.c  |  53 ++++---
 .../net/ethernet/freescale/dpaa2/dpaa2-eth.h  |  13 ++
 .../ethernet/freescale/dpaa2/dpaa2-ethtool.c  |  16 +--
 .../net/ethernet/freescale/dpaa2/dpaa2-mac.c  | 135 ++++++++----------
 .../net/ethernet/freescale/dpaa2/dpaa2-mac.h  |   5 +
 6 files changed, 126 insertions(+), 105 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Jan. 10, 2021, 12:30 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Fri,  8 Jan 2021 11:07:21 +0200 you wrote:
> The first two patches of this series extends the MAC statistics support
> to also work for network interfaces which have their link status handled
> by firmware (TYPE_FIXED).
> 
> The next two patches are fixing a sporadic problem which happens when
> the connected DPMAC object is not yet discovered by the fsl-mc bus, thus
> the dpaa2-eth is not able to get a reference to it. A referred probe
> will be requested in this case.
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/6] dpaa2-mac: split up initializing the MAC object from connecting to it
    https://git.kernel.org/netdev/net-next/c/095dca16d92f
  - [net-next,v2,2/6] dpaa2-mac: export MAC counters even when in TYPE_FIXED
    https://git.kernel.org/netdev/net-next/c/d87e606373f6
  - [net-next,v2,3/6] bus: fsl-mc: return -EPROBE_DEFER when a device is not yet discovered
    https://git.kernel.org/netdev/net-next/c/ef57e6c9f7d9
  - [net-next,v2,4/6] dpaa2-eth: retry the probe when the MAC is not yet discovered on the bus
    https://git.kernel.org/netdev/net-next/c/47325da28ef1
  - [net-next,v2,5/6] dpaa2-mac: remove an unnecessary check
    https://git.kernel.org/netdev/net-next/c/ca7633407639
  - [net-next,v2,6/6] dpaa2-mac: remove a comment regarding pause settings
    https://git.kernel.org/netdev/net-next/c/14002089888b

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html