Skip to content

atl1c: support for Mikrotik 10/25G NIC features

Gatis Peisenieks lkml netdev 2 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 0 repliesApplied 5/5
  2. v14 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- fixed xmit_more handling as pointed out by Eric Dumazet
- added a more reliable link detection on Mikrotik 10/25G NIC since MDIO op emulation can occasionally fail

Patches in v2 All 5 applied

#Subject and filesSizeRepliesApplied
1/5atl1c: show correct link speed on Mikrotik 10/25G NICdrivers/net/ethernet/atheros/atl1c/atl1c.h drivers/net/ethernet/atheros/atl1c/atl1c_hw.c drivers/net/ethernet/atheros/atl1c/atl1c_hw.h +1 more+21 -00 repliesApplied
2/5atl1c: improve performance by avoiding unnecessary pcie writes on xmitdrivers/net/ethernet/atheros/atl1c/atl1c_main.c+8 -40 repliesApplied
3/5atl1c: adjust max mtu according to Mikrotik 10/25G NIC abilitydrivers/net/ethernet/atheros/atl1c/atl1c_main.c+12 -40 repliesApplied
4/5atl1c: enable rx csum offload on Mikrotik 10/25G NICdrivers/net/ethernet/atheros/atl1c/atl1c.h drivers/net/ethernet/atheros/atl1c/atl1c_main.c+7 -00 repliesApplied
5/5atl1c: improve link detection reliability on Mikrotik 10/25G NICdrivers/net/ethernet/atheros/atl1c/atl1c_hw.c drivers/net/ethernet/atheros/atl1c/atl1c_hw.h drivers/net/ethernet/atheros/atl1c/atl1c_main.c+27 -180 repliesApplied

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH net-next v2 0/5] atl1c: support for Mikrotik 10/25G NIC features

The new Mikrotik 10/25G NIC maintains compatibility with existing atl1c driver. However it does have new features.

This patch set adds support for reporting cards higher link speed, max-mtu, enables rx csum offload and improves tx performance.

v2:
- fixed xmit_more handling as pointed out by Eric Dumazet
- added a more reliable link detection on Mikrotik 10/25G NIC since MDIO op emulation can occasionally fail

Gatis Peisenieks (5):
atl1c: show correct link speed on Mikrotik 10/25G NIC
atl1c: improve performance by avoiding unnecessary pcie writes on xmit
atl1c: adjust max mtu according to Mikrotik 10/25G NIC ability
atl1c: enable rx csum offload on Mikrotik 10/25G NIC
atl1c: improve link detection reliability on Mikrotik 10/25G NIC

 drivers/net/ethernet/atheros/atl1c/atl1c.h    |  3 +
 drivers/net/ethernet/atheros/atl1c/atl1c_hw.c | 35 +++++++++---
 drivers/net/ethernet/atheros/atl1c/atl1c_hw.h |  8 +++
 .../net/ethernet/atheros/atl1c/atl1c_main.c   | 55 ++++++++++++-------
 4 files changed, 75 insertions(+), 26 deletions(-)

base-commit: d8654f4f9300e5e7cf8d5e7885978541cf61326b

Signature · 1 line
2.31.1