Skip to content

net: stmmac: general fixes for Ethernet functionality

Ong Boon Leong linux-arm-kernel lkml netdev 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest5 patches 1 replyIn review
  2. v46 patches 2 repliesSuperseded
  3. v35 patches 5 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v24 patches2 repliesSuperseded
v17 patches6 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5net: stmmac: fix incorrect GMAC_VLAN_TAG register writting in GMAC4+drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c+4 -30 replies
2/5net: stmmac: xgmac: fix incorrect XGMAC_VLAN_TAG register writtingdrivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c+6 -20 replies
3/5net: stmmac: fix missing IFF_MULTICAST check in dwmac4_set_filterdrivers/net/ethernet/stmicro/stmmac/dwmac4_core.c+1 -10 replies
4/5net: stmmac: xgmac: fix missing IFF_MULTICAST checki in dwxgmac2_set_filterdrivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c+1 -10 replies
5/5net: stmmac: update pci platform data to use phy_interfacedrivers/net/ethernet/stmicro/stmmac/stmmac_pci.c+8 -60 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by.

PatchTan, Tee Min
1/5
2/5
3/5T-b
4/5
5/5T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH net v5 0/5] net: stmmac: general fixes for Ethernet functionality

Thanks to all feedbacks from community so far.

We updated the patch-series to below:-

1/5: It ensures that the previous value of GMAC_VLAN_TAG register is
read first before for updating the register.

2/5: Similar to 2/6 patch but it is a fix for XGMAC_VLAN_TAG register
as requested by Jose Abreu.

3/5: It ensures the GMAC IP v4.xx and above behaves correctly to:-
ip link set <devname> multicast off|on

4/5: Added similar IFF_MULTICAST flag for xgmac2, similar to 4/6.

5/5: It ensures PCI platform data is using plat->phy_interface.

Rgds,
Boon Leong

Changes from v4:-
patch 1/6 - this patch is dropped now and will take the input on
handling return value from netif_set_real_num_rx| tx_queues() in future patch series.

v3:-
patch 1/6 - add rtnl_lock() and rtnl_unlock() for stmmac_hw_setup()
called inside stmmac_resume()
patch 3/6 - Added new patch to fix XGMAC_VLAN_TAG register writting

v2:-
patch 1/5 - added control for rtnl_lock() & rtnl_unlock() to ensure
they are used forstmmac_resume()
patch 4/5 - added IFF_MULTICAST flag check for xgmac to ensure
multicast works correctly.

v1:-
- Drop v1 patches (1/7, 3/7 & 4/7) that are not valid.

Ong Boon Leong (1):
net: stmmac: xgmac: fix incorrect XGMAC_VLAN_TAG register writting

Tan, Tee Min (2):
net: stmmac: fix incorrect GMAC_VLAN_TAG register writting in GMAC4+
net: stmmac: xgmac: fix missing IFF_MULTICAST checki in
dwxgmac2_set_filter

Verma, Aashish (1):
net: stmmac: fix missing IFF_MULTICAST check in dwmac4_set_filter

Voon Weifeng (1):
net: stmmac: update pci platform data to use phy_interface

 drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c  |  9 +++++----
 .../net/ethernet/stmicro/stmmac/dwxgmac2_core.c    | 10 +++++++---
 drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c   | 14 ++++++++------
 3 files changed, 20 insertions(+), 13 deletions(-)
Signature · 1 line
2.17.1