NIPA Branch net-next-hw-2025-11-21--08-00

Branches
Base trees
[+] net: mdio: move device reset functions to mdio_device.c
[+] net: mdio: common handling of phy device reset properties
[+] net: mdio: improve reset handling in mdio_device.c
[+] Merge branch 'net-mdio-improve-reset-handling-of-mdio-devices'
[+] tcp: tcp_moderate_rcvbuf is only used in rx path
[+] tcp: add net.ipv4.tcp_rcvbuf_low_rtt
[+] Merge branch 'tcp-tcp_rcvbuf_grow-changes'
[+] net: stmmac: pass struct device to init()/exit() methods
[+] net: stmmac: move probe/remove calling of init/exit
[+] net: stmmac: rk: convert to init()/exit() methods
[+] Merge branch 'net-stmmac-pass-struct-device-to-init-exit'
[+] net: stmmac: rk: use phylink's interface mode for set_clk_tx_rate()
[+] net: stmmac: dwc-qos-eth: simplify switch() in dwc_eth_dwmac_config_dt()
[+] net: stmmac: move common DMA AXI register bits to common.h
[+] net: stmmac: provide common stmmac_axi_blen_to_mask()
[+] net: stmmac: move stmmac_axi_blen_to_mask() to stmmac_main.c
[+] net: stmmac: move stmmac_axi_blen_to_mask() to axi_blen init sites
[+] net: stmmac: remove axi_blen array
[+] Merge branch 'net-stmmac-simplify-axi_blen-handling'
[+] net: phy: adin1100: Fix software power-down ready condition
[+] net: phy: adin1100: Simplify register value passing
[+] Merge branch 'net-phy-adin1100-fix-powerdown-mode-setting'
[+] net: atm: fix incorrect cleanup function call in error path
[+] net: phy: fixed_phy: fix missing initialization of fixed phy link
[+] net: phy: fixed_phy: remove not needed initialization of phy_device members
[+] selftests: net: py: coding style improvements
[+] selftests: net: py: extract the case generation logic
[+] selftests: net: py: add test variants
[+] selftests: drv-net: xdp: use variants for qstat tests
[+] selftests: net: relocate gro and toeplitz tests to drivers/net
[+] selftests: net: py: support ksft ready without wait
[+] selftests: net: py: read ip link info about remote dev
[+] netdevsim: pass packets thru GRO on Rx
[+] selftests: drv-net: add a Python version of the GRO test
[+] selftests: drv-net: hw: convert the Toeplitz test to Python
[+] netdevsim: add loopback support
[+] selftests: net: remove old setup_* scripts
[+] Merge branch 'selftests-drv-net-convert-gro-and-toeplitz-tests-to-work-for-drivers-in-nipa'
[+] ynl: samples: add tc filter example
[+] net: ethtool: Add support for 1600Gbps speed
[+] net/mlx5e: Add 1600Gbps link modes
[+] bonding: 3ad: Add support for 1600G speed
[+] Merge branch 'net-add-1600gbps-1-6t-link-mode-support'
[+] net: fec: remove useless conditional preprocessor directives
[+] net: fec: simplify the conditional preprocessor directives
[+] net: fec: remove struct fec_enet_priv_txrx_info
[+] net: fec: remove rx_align from fec_enet_private
[+] net: fec: remove duplicate macros of the BD status
[+] Merge branch 'net-fec-do-some-cleanup-for-the-driver'
[+] veth: reduce XDP no_direct return section to fix race
[+] eth: fbnic: access @pp through netmem_desc instead of page
[+] netconsole: Simplify send_fragmented_body()
[+] netconsole: Split userdata and sysdata
[+] netconsole: Dynamic allocation of userdata buffer
[+] netconsole: Increase MAX_USERDATA_ITEMS
[+] Merge branch 'netconsole-allow-userdata-buffer-to-grow-dynamically'
[+] devlink: pass extack through to devlink_param::get()
[+] devlink: refactor devlink_nl_param_value_fill_one()
[+] devlink: support default values for param-get and param-set
[+] net/mlx5: implement swp_l4_csum_mode via devlink params
[+] netdevsim: register a new devlink param with default value interface
[+] selftest: netdevsim: test devlink default params
[+] Merge branch 'devlink-net-mlx5-implement-swp_l4_csum_mode-via-devlink-params'
Documentation/netlink/specs/devlink.yaml | 9 + .../networking/devlink/devlink-params.rst | 10 + Documentation/networking/devlink/mlx5.rst | 14 + Documentation/networking/ip-sysctl.rst | 10 + .../net_cachelines/netns_ipv4_sysctl.rst | 3 +- .../crypto/marvell/octeontx2/otx2_cpt_devlink.c | 6 +- drivers/net/bonding/bond_3ad.c | 9 + drivers/net/ethernet/amd/pds_core/core.h | 3 +- drivers/net/ethernet/amd/pds_core/devlink.c | 3 +- drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c | 6 +- drivers/net/ethernet/freescale/fec.h | 30 +- drivers/net/ethernet/freescale/fec_main.c | 72 ++-- drivers/net/ethernet/intel/i40e/i40e_devlink.c | 3 +- drivers/net/ethernet/intel/ice/devlink/devlink.c | 14 +- .../ethernet/marvell/octeontx2/af/rvu_devlink.c | 15 +- .../ethernet/marvell/octeontx2/nic/otx2_devlink.c | 6 +- drivers/net/ethernet/mellanox/mlx4/main.c | 6 +- drivers/net/ethernet/mellanox/mlx5/core/devlink.h | 3 +- .../net/ethernet/mellanox/mlx5/core/en_ethtool.c | 5 + drivers/net/ethernet/mellanox/mlx5/core/eswitch.c | 3 +- .../ethernet/mellanox/mlx5/core/eswitch_offloads.c | 3 +- drivers/net/ethernet/mellanox/mlx5/core/fs_core.c | 3 +- drivers/net/ethernet/mellanox/mlx5/core/fw_reset.c | 3 +- .../net/ethernet/mellanox/mlx5/core/lib/nv_param.c | 238 ++++++++++++- drivers/net/ethernet/mellanox/mlx5/core/port.c | 1 + .../ethernet/mellanox/mlxsw/spectrum_acl_tcam.c | 3 +- drivers/net/ethernet/meta/fbnic/fbnic_txrx.c | 3 +- drivers/net/ethernet/netronome/nfp/devlink_param.c | 3 +- drivers/net/ethernet/qlogic/qed/qed_devlink.c | 3 +- drivers/net/ethernet/stmicro/stmmac/common.h | 13 + .../net/ethernet/stmicro/stmmac/dwmac-anarion.c | 4 +- .../ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c | 28 +- .../net/ethernet/stmicro/stmmac/dwmac-eic7700.c | 4 +- drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c | 5 +- .../net/ethernet/stmicro/stmmac/dwmac-loongson1.c | 12 +- .../ethernet/stmicro/stmmac/dwmac-renesas-gbeth.c | 4 +- drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 50 ++- drivers/net/ethernet/stmicro/stmmac/dwmac-s32.c | 14 +- .../net/ethernet/stmicro/stmmac/dwmac-socfpga.c | 2 +- drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c | 4 +- drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 10 +- drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c | 4 +- drivers/net/ethernet/stmicro/stmmac/dwmac-thead.c | 2 +- .../net/ethernet/stmicro/stmmac/dwmac1000_dma.c | 30 +- drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c | 30 +- drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h | 11 +- drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h | 13 +- drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h | 11 +- drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c | 33 +- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 88 ++++- drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c | 6 +- .../net/ethernet/stmicro/stmmac/stmmac_platform.c | 39 +-- drivers/net/ethernet/ti/am65-cpsw-nuss.c | 3 +- drivers/net/ethernet/ti/cpsw_new.c | 6 +- drivers/net/mdio/fwnode_mdio.c | 5 - drivers/net/netconsole.c | 386 +++++++++++---------- drivers/net/netdevsim/dev.c | 56 +++ drivers/net/netdevsim/netdev.c | 26 +- drivers/net/netdevsim/netdevsim.h | 1 + drivers/net/phy/adin1100.c | 7 +- drivers/net/phy/fixed_phy.c | 8 +- drivers/net/phy/mdio-private.h | 11 + drivers/net/phy/mdio_bus.c | 40 +-- drivers/net/phy/mdio_device.c | 54 +++ drivers/net/phy/phy-caps.h | 1 + drivers/net/phy/phy-core.c | 4 +- drivers/net/phy/phy_caps.c | 2 + drivers/net/veth.c | 7 +- drivers/net/wwan/iosm/iosm_ipc_devlink.c | 3 +- include/linux/stmmac.h | 6 +- include/net/devlink.h | 45 ++- include/net/dsa.h | 3 +- include/net/netns/ipv4.h | 3 +- include/uapi/linux/devlink.h | 3 + include/uapi/linux/ethtool.h | 5 + net/atm/common.c | 2 +- net/core/net_namespace.c | 11 +- net/devlink/netlink_gen.c | 5 +- net/devlink/param.c | 180 +++++++--- net/dsa/devlink.c | 3 +- net/ethtool/common.c | 8 + net/ipv4/sysctl_net_ipv4.c | 9 + net/ipv4/tcp_input.c | 18 +- net/ipv4/tcp_ipv4.c | 1 + tools/net/ynl/samples/.gitignore | 1 + tools/net/ynl/samples/Makefile | 1 + tools/net/ynl/samples/tc-filter-add.c | 335 ++++++++++++++++++ tools/testing/selftests/drivers/net/.gitignore | 1 + tools/testing/selftests/drivers/net/Makefile | 2 + tools/testing/selftests/{ => drivers}/net/gro.c | 5 +- tools/testing/selftests/drivers/net/gro.py | 164 +++++++++ tools/testing/selftests/drivers/net/hw/.gitignore | 1 + tools/testing/selftests/drivers/net/hw/Makefile | 6 +- .../selftests/drivers/net/hw/lib/py/__init__.py | 4 +- .../selftests/{net => drivers/net/hw}/toeplitz.c | 7 +- tools/testing/selftests/drivers/net/hw/toeplitz.py | 209 +++++++++++ .../selftests/drivers/net/lib/py/__init__.py | 4 +- tools/testing/selftests/drivers/net/lib/py/env.py | 2 + .../selftests/drivers/net/netcons_overflow.sh | 2 +- .../selftests/drivers/net/netdevsim/devlink.sh | 116 ++++++- tools/testing/selftests/drivers/net/xdp.py | 42 +-- tools/testing/selftests/net/.gitignore | 2 - tools/testing/selftests/net/Makefile | 7 - tools/testing/selftests/net/gro.sh | 105 ------ tools/testing/selftests/net/lib/Makefile | 1 + .../selftests/net/lib/ksft_setup_loopback.sh | 111 ++++++ tools/testing/selftests/net/lib/py/__init__.py | 5 +- tools/testing/selftests/net/lib/py/ksft.py | 89 ++++- tools/testing/selftests/net/lib/py/nsim.py | 2 +- tools/testing/selftests/net/lib/py/utils.py | 20 +- tools/testing/selftests/net/setup_loopback.sh | 120 ------- tools/testing/selftests/net/setup_veth.sh | 45 --- tools/testing/selftests/net/toeplitz.sh | 199 ----------- tools/testing/selftests/net/toeplitz_client.sh | 28 -- 114 files changed, 2216 insertions(+), 1249 deletions(-)
New patches
@@ -1,116 +1,63 @@
tmp: fix defering freeing of zc Tx skbs
nipa: fbnic: link up on QEMU
nipa: config: disable kmemleak auto scan
nipa: config: x86: disable GPUs and sound
nipa: drv: net: add timeout
nipa: forwarding: set timeout to 3 hours
nipa: config: disable CPU_MITIGATIONS
nipa: tc_action dbg
nipa: selftests: net: enable profiling
nipa: timestamp - try waking
nipa: profile (time) test output
nipa: local: add short sleep to bond_macvlan_ipvlan.sh
nipa: config: x86: use periodic HZ tick
nipa: disable 6.17's merge window kunit tests
nipa: disable random kunit tests
nipa: fbnic: link up on QEMU
[-] ice: convert all ring stats to u64_stats_t
[-] ice: shorten ring stat names and add accessors
[-] ice: use u64_stats API to access pkts/bytes in dim sample
[-] ice: remove ice_q_stats struct and use struct_group
[-] ice: pass pointer to ice_fetch_u64_stats_per_ring
[-] ice: initialize ring_stats->syncp
[-] r8169: add support for RTL8127ATF
[-] ipvs: fix ipv4 null-ptr-deref in route error path
[+] net: mana: Handle hardware recovery events when probing the device
[+] io_uring: Introduce getsockname io_uring cmd
[+] socket: Split out a getsockname helper for io_uring
[+] socket: Unify getsockname and getpeername implementation
[+] net: dsa: mt7530: fix active-low reset sequence
[+] ARM64: dts: mediatek: fix MT7531 reset GPIO polarity on multiple boards
uapi: ioam6: adjust the maximum size of a schema
doc/netlink: nftables: Fill out operation attributes
doc/netlink: nftables: Add getcompat operation
doc/netlink: nftables: Add sub-messages
doc/netlink: nftables: Update attribute sets
doc/netlink: nftables: Add definitions
doc/netlink: netlink-raw: Add max check
net: phy: mxl-gpy: fix link properties on USXGMII and internal PHYs
net: phy: mxl-gpy: fix bogus error on USXGMII and integrated PHY
net: atlantic: fix fragment overflow handling in RX path
atm/fore200e: Fix possible data race in fore200e_open()
net: wwan: t7xx: Make local function static
net: stmmac: qcom-ethqos: use read_poll_timeout_atomic()
net: stmmac: qcom-ethqos: add rgmii set/clear functions
net: stmmac: qcom-ethqos: use u32 for rgmii read/write/update
octeon_ep: reset firmware ready status
net: dsa: microchip: Fix symetry in ksz_ptp_msg_irq_{setup/free}()
net: dsa: microchip: Free previously initialized ports on init failures
net: dsa: microchip: Don't free uninitialized ksz_irq
net: dsa: microchip: ptp: Fix checks on irq_find_mapping()
net: dsa: microchip: common: Fix checks on irq_find_mapping()
net: aquantia: Add missing descriptor cache invalidation on ATL2
dt-bindings: net: aspeed: add AST2700 MDIO compatible
nfp: tls: Avoid -Wflex-array-member-not-at-end warnings
vhost: rewind next_avail_head while discarding descriptors
[c] selftests: net: remove old setup_* scripts
[c] netdevsim: add loopback support
[c] selftests: drv-net: hw: convert the Toeplitz test to Python
[c] selftests: drv-net: add a Python version of the GRO test
[c] netdevsim: pass packets thru GRO on Rx
[c] selftests: net: py: read ip link info about remote dev
[c] selftests: net: py: support ksft ready without wait
[c] selftests: net: relocate gro and toeplitz tests to drivers/net
[c] selftests: drv-net: xdp: use variants for qstat tests
[c] selftests: net: py: add test variants
[c] selftests: net: py: extract the case generation logic
[c] selftests: net: py: coding style improvements
virtio_net: enhance wake/stop tx queue statistics accounting
[c] eth: fbnic: access @pp through netmem_desc instead of page
[c] netconsole: Increase MAX_USERDATA_ITEMS
[c] netconsole: Dynamic allocation of userdata buffer
[c] netconsole: Split userdata and sysdata
[c] netconsole: Simplify send_fragmented_body()
[c] bonding: 3ad: Add support for 1600G speed
[c] net/mlx5e: Add 1600Gbps link modes
[c] net: ethtool: Add support for 1600Gbps speed
[c] ynl: samples: add tc filter example
[-] net: ipv4: fix spelling typo in comment
[c] veth: reduce XDP no_direct return section to fix race
team: Move team device type change at the end of team_port_add
Documentation: net: add flow control guide and document ethtool API
[c] net: phy: adin1100: Simplify register value passing
[c] net: phy: adin1100: Fix software power-down ready condition
hinic3: Add HW event handler
hinic3: Add netdev notifier interfaces
hinic3: Add mac filter ops
hinic3: Add adaptive IRQ coalescing with DIM
hinic3: Add .ndo_vlan_rx_add/kill_vid and .ndo_validate_addr
hinic3: Add .ndo_set_features and .ndo_fix_features
hinic3: Add .ndo_tx_timeout and .ndo_get_stats64
hinic3: Add PF management interfaces
hinic3: Add PF framework
[c] net: stmmac: rk: use phylink's interface mode for set_clk_tx_rate()
net: enetc: update the base address of port MDIO registers for ENETC v4
net: enetc: set external PHY address in IERB for i.MX94 ENETC
net: enetc: set the external PHY address in IERB for port MDIO usage
[c] net: stmmac: remove axi_blen array
[c] net: stmmac: move stmmac_axi_blen_to_mask() to axi_blen init sites
[c] net: stmmac: move stmmac_axi_blen_to_mask() to stmmac_main.c
[c] net: stmmac: provide common stmmac_axi_blen_to_mask()
[c] net: stmmac: move common DMA AXI register bits to common.h
[c] net: stmmac: dwc-qos-eth: simplify switch() in dwc_eth_dwmac_config_dt()
[c] net: stmmac: rk: convert to init()/exit() methods
[c] net: stmmac: move probe/remove calling of init/exit
[c] net: stmmac: pass struct device to init()/exit() methods
[c] net: atm: fix incorrect cleanup function call in error path
[c] tcp: add net.ipv4.tcp_rcvbuf_low_rtt
[c] tcp: tcp_moderate_rcvbuf is only used in rx path
[c] net: phy: fixed_phy: fix missing initialization of fixed phy link
[c] net: phy: fixed_phy: remove not needed initialization of phy_device members
tools: ynl: add YNL test framework
[c] net: fec: remove duplicate macros of the BD status
[c] net: fec: remove rx_align from fec_enet_private
[c] net: fec: remove struct fec_enet_priv_txrx_info
[c] net: fec: simplify the conditional preprocessor directives
[c] net: fec: remove useless conditional preprocessor directives
[c] selftest: netdevsim: test devlink default params
[c] netdevsim: register a new devlink param with default value interface
[c] net/mlx5: implement swp_l4_csum_mode via devlink params
[c] devlink: support default values for param-get and param-set
[c] devlink: refactor devlink_nl_param_value_fill_one()
[c] devlink: pass extack through to devlink_param::get()
Test results