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

From: Gatis Peisenieks
Date: Thu May 13 2021 - 07:43:58 EST


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
--
2.31.1