NIPA Branch net-next-hw-2025-07-19--08-00

Branches
Base trees
[+] bpf: tcp: Make mem flags configurable through bpf_iter_tcp_realloc_batch
[+] bpf: tcp: Make sure iter->batch always contains a full bucket snapshot
[+] bpf: tcp: Get rid of st_bucket_done
[+] bpf: tcp: Use bpf_tcp_iter_batch_item for bpf_tcp_iter_state batch items
[+] bpf: tcp: Avoid socket skips and repeats during iteration
[+] selftests/bpf: Add tests for bucket resume logic in listening sockets
[+] selftests/bpf: Allow for iteration over multiple ports
[+] selftests/bpf: Allow for iteration over multiple states
[+] selftests/bpf: Make ehash buckets configurable in socket iterator tests
[+] selftests/bpf: Create established sockets in socket iterator tests
[+] selftests/bpf: Create iter_tcp_destroy test program
[+] selftests/bpf: Add tests for bucket resume logic in established sockets
[+] Merge branch 'bpf-tcp-exactly-once-socket-iteration'
[+] doc: xdp: Clarify driver implementation for XDP Rx metadata
[+] net/mlx5e: TX, Fix dma unmapping for devmem tx
[+] ethtool: rss: initial RSS_SET (indirection table handling)
[+] selftests: drv-net: rss_api: factor out checking min queue count
[+] tools: ynl: support packing binary arrays of scalars
[+] selftests: drv-net: rss_api: test setting indirection table via Netlink
[+] ethtool: rss: support setting hfunc via Netlink
[+] ethtool: rss: support setting hkey via Netlink
[+] selftests: drv-net: rss_api: test setting hashing key via Netlink
[+] netlink: specs: define input-xfrm enum in the spec
[+] ethtool: rss: support setting input-xfrm via Netlink
[+] ethtool: rss: support setting flow hashing fields
[+] selftests: drv-net: rss_api: test input-xfrm and hash fields
[+] Merge branch 'ethtool-rss-support-rss_set-via-netlink'
[+] neighbour: Make neigh_valid_get_req() return ndmsg.
[+] neighbour: Move two validations from neigh_get() to neigh_valid_get_req().
[+] neighbour: Allocate skb in neigh_get().
[+] neighbour: Move neigh_find_table() to neigh_get().
[+] neighbour: Split pneigh_lookup().
[+] neighbour: Annotate neigh_table.phash_buckets and pneigh_entry.next with __rcu.
[+] neighbour: Free pneigh_entry after RCU grace period.
[+] neighbour: Annotate access to struct pneigh_entry.{flags,protocol}.
[+] neighbour: Convert RTM_GETNEIGH to RCU.
[+] neighbour: Drop read_lock_bh(&tbl->lock) in pneigh_dump_table().
[+] neighbour: Use rcu_dereference() in pneigh_get_{first,next}().
[+] neighbour: Remove __pneigh_lookup().
[+] neighbour: Drop read_lock_bh(&tbl->lock) in pneigh_lookup().
[+] neighbour: Protect tbl->phash_buckets[] with a dedicated mutex.
[+] neighbour: Update pneigh_entry in pneigh_create().
[+] Merge branch 'neighbour-convert-rtm_getneigh-to-rcu-and-make-pneigh-rtnl-free'
[+] selftests: net: prevent Python from buffering the output
[+] Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
[+] netdevsim: remove redundant branch
[+] net: phy: qcom: Add PHY counter support
[+] net: phy: qcom: qca808x: Support PHY counter
[+] net: phy: qcom: qca807x: Support PHY counter
[+] Merge branch 'add-shared-phy-counter-support-for-qca807x-and-qca808x'
[+] net: airoha: Fix a NULL vs IS_ERR() bug in airoha_npu_run_firmware()
[+] net: ethernet: mtk_wed: Fix NULL vs IS_ERR() bug in mtk_wed_get_memory_region()
[+] net/mlx5: Fix an IS_ERR() vs NULL bug in esw_qos_move_node()
[+] net: pcs: xpcs: mask readl() return value to 16 bits
[+] net/mlx5: HWS, Enable IPSec hardware offload in legacy mode
[+] net/mlx5e: fix kdoc warning on eswitch.h
[+] net/mlx5e: Properly access RCU protected qdisc_sleeping variable
[+] Merge branch 'net-mlx5-misc-changes-2025-07-16'
[+] ibmvnic: Use ndo_get_stats64 to fix inaccurate SAR reporting
[+] selftests/drivers/net: Support ipv6 for napi_id test
[+] net: ag71xx: Add missing check after DMA map
[+] et131x: Add missing check after DMA map
[+] net: stream: add description for sk_stream_write_space()
[+] net: track pfmemalloc drops via SKB_DROP_REASON_PFMEMALLOC
[+] bus: fsl-mc: Fix potential double device reference in fsl_mc_get_endpoint()
[+] dpaa2-eth: Fix device reference count leak in MAC endpoint handling
[+] dpaa2-switch: Fix device reference count leak in MAC endpoint handling
[+] net: selftests: add PHY-loopback test for bad TCP checksums
[+] net: ti: icssg-prueth: Fix buffer allocation for ICSSG
[+] selftests: rtnetlink: Add operational state test
[+] net: s/dev_get_port_parent_id/netif_get_port_parent_id/
[+] net: s/dev_get_mac_address/netif_get_mac_address/
[+] net: s/dev_pre_changeaddr_notify/netif_pre_changeaddr_notify/
[+] net: s/__dev_set_mtu/__netif_set_mtu/
[+] net: s/dev_get_flags/netif_get_flags/
[+] net: s/dev_set_threaded/netif_set_threaded/
[+] net: s/dev_close_many/netif_close_many/
[+] Merge branch 'net-maintain-netif-vs-dev-prefix-semantics'
[+] net: bcmasp: Add support for re-starting auto-negotiation
[+] be2net: Use correct byte order and format string for TCP seq and ack_seq
[+] net/mlx5: Fix memory leak in cmd_exec()
[+] net/mlx5: E-Switch, Fix peer miss rules to use peer eswitch
[+] Merge branch 'mlx5-misc-fixes-2025-07-17'
Documentation/netlink/specs/ethtool.yaml | 37 ++ Documentation/networking/ethtool-netlink.rst | 29 +- .../networking/net_cachelines/net_device.rst | 2 +- Documentation/networking/xdp-rx-metadata.rst | 33 ++ drivers/bus/fsl-mc/fsl-mc-bus.c | 19 +- drivers/infiniband/sw/rxe/rxe_verbs.c | 2 +- drivers/net/bonding/bond_main.c | 5 +- drivers/net/ethernet/agere/et131x.c | 36 ++ drivers/net/ethernet/airoha/airoha_npu.c | 4 +- drivers/net/ethernet/atheros/ag71xx.c | 9 + drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 2 +- .../net/ethernet/broadcom/asp2/bcmasp_ethtool.c | 1 + drivers/net/ethernet/emulex/benet/be_main.c | 8 +- drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c | 15 +- .../net/ethernet/freescale/dpaa2/dpaa2-switch.c | 15 +- drivers/net/ethernet/ibm/ibmvnic.c | 27 +- drivers/net/ethernet/mediatek/mtk_eth_soc.c | 3 +- drivers/net/ethernet/mediatek/mtk_wed_mcu.c | 4 +- drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 4 +- drivers/net/ethernet/mellanox/mlx5/core/en/qos.c | 2 +- drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h | 16 +- .../mellanox/mlx5/core/en_accel/ipsec_offload.c | 3 +- .../ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c | 2 +- drivers/net/ethernet/mellanox/mlx5/core/en_tc.c | 2 +- drivers/net/ethernet/mellanox/mlx5/core/en_tx.c | 6 +- drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c | 5 +- drivers/net/ethernet/mellanox/mlx5/core/eswitch.h | 2 +- .../ethernet/mellanox/mlx5/core/eswitch_offloads.c | 108 ++--- drivers/net/ethernet/mellanox/mlxsw/pci.c | 2 +- drivers/net/ethernet/renesas/ravb_main.c | 2 +- drivers/net/ethernet/ti/icssg/icssg_config.c | 158 ++++--- drivers/net/ethernet/ti/icssg/icssg_config.h | 80 +++- drivers/net/ethernet/ti/icssg/icssg_prueth.c | 20 +- drivers/net/ethernet/ti/icssg/icssg_prueth.h | 2 + drivers/net/ethernet/ti/icssg/icssg_switch_map.h | 3 + drivers/net/ipvlan/ipvlan_main.c | 7 +- drivers/net/netdevsim/hwstats.c | 5 +- drivers/net/pcs/pcs-xpcs-plat.c | 4 +- drivers/net/phy/qcom/qca807x.c | 25 ++ drivers/net/phy/qcom/qca808x.c | 23 ++ drivers/net/phy/qcom/qcom-phy-lib.c | 75 ++++ drivers/net/phy/qcom/qcom.h | 23 ++ drivers/net/tap.c | 5 +- drivers/net/tun.c | 9 +- drivers/net/wireguard/device.c | 2 +- drivers/net/wireless/ath/ath10k/snoc.c | 2 +- fs/smb/server/smb2pdu.c | 2 +- include/linux/filter.h | 14 +- include/linux/netdevice.h | 17 +- include/net/dropreason-core.h | 6 + include/net/neighbour.h | 17 +- include/net/tcp.h | 2 +- include/uapi/linux/ethtool_netlink_generated.h | 1 + net/8021q/vlan.c | 5 +- net/bridge/br.c | 7 +- net/bridge/br_if.c | 3 +- net/bridge/br_netlink.c | 2 +- net/bridge/br_switchdev.c | 2 +- net/core/dev.c | 103 ++--- net/core/dev_addr_lists.c | 2 +- net/core/dev_api.c | 12 + net/core/dev_ioctl.c | 5 +- net/core/filter.c | 15 +- net/core/neighbour.c | 384 +++++++++-------- net/core/net-sysfs.c | 6 +- net/core/rtnetlink.c | 6 +- net/core/selftests.c | 67 ++- net/core/sock.c | 20 +- net/core/stream.c | 8 +- net/dsa/dsa.c | 3 +- net/dsa/user.c | 2 +- net/ethtool/common.c | 15 + net/ethtool/common.h | 1 + net/ethtool/ioctl.c | 4 +- net/ethtool/netlink.c | 8 + net/ethtool/netlink.h | 1 + net/ethtool/rss.c | 389 +++++++++++++++++ net/ipv4/arp.c | 6 +- net/ipv4/fib_frontend.c | 2 +- net/ipv4/fib_semantics.c | 2 +- net/ipv4/ipmr.c | 2 +- net/ipv4/nexthop.c | 2 +- net/ipv4/tcp_ipv4.c | 295 +++++++++---- net/ipv4/udp.c | 6 +- net/ipv6/addrconf.c | 2 +- net/ipv6/ip6_output.c | 2 +- net/ipv6/ndisc.c | 8 +- net/ipv6/tcp_ipv6.c | 9 +- net/ipv6/udp.c | 4 +- net/mpls/af_mpls.c | 6 +- net/rose/rose_in.c | 3 +- net/wireless/wext-core.c | 2 +- tools/net/ynl/pyynl/lib/ynl.py | 7 +- .../selftests/bpf/prog_tests/sock_iter_batch.c | 458 ++++++++++++++++++++- .../testing/selftests/bpf/progs/sock_iter_batch.c | 36 +- tools/testing/selftests/drivers/net/hw/rss_api.py | 289 ++++++++++++- .../selftests/drivers/net/hw/rss_input_xfrm.py | 6 +- tools/testing/selftests/drivers/net/napi_id.py | 4 +- .../testing/selftests/drivers/net/napi_id_helper.c | 35 +- tools/testing/selftests/net/lib/py/ksft.py | 7 +- tools/testing/selftests/net/rtnetlink.sh | 34 ++ 101 files changed, 2552 insertions(+), 652 deletions(-)
New patches
@@ -1,161 +1,81 @@
fbnic: link up on QEMU
disable random kunit tests [local patch]
profile patch [local patch]
dbg: tests: bonding: print info on failure [local patch]
drv: net: add timeout [local patch]
tc_action dbg [local patch]
forwarding: set timeout to 3 hours [local patch]
selftests: net: enable profiling [local patch]
timestamp - try waking [local patch]
[+] net: dsa: microchip: Disable PTP function of KSZ8463
[+] net: dsa: microchip: Setup fiber ports for KSZ8463
[+] net: dsa: microchip: Write switch MAC address differently for KSZ8463
[+] net: dsa: microchip: Use different registers for KSZ8463
[+] net: dsa: microchip: Transform register for use with KSZ8463
[+] net: dsa: microchip: Add KSZ8463 switch support to KSZ DSA driver
[+] dt-bindings: net: dsa: microchip: Add KSZ8463 switch support
[+] mptcp: fix typo in a comment
[+] mptcp: add TCP_MAXSEG sockopt support
[+] tcp: add tcp_sock_set_maxseg
[+] mptcp: sockopt: drop redundant tcp_getsockopt
[+] net: bcmasp: Restore programming of TX map vector register
net: core: Fix the loop in default_device_exit_net()
amd-xgbe: add hardware PTP timestamping support
and-xgbe: remove the abstraction for hwptp
ixgbevf: remove unused fields from struct ixgbevf_adapter
igbvf: remove unused fields from struct igbvf_adapter
igc: Add wildcard rule support to ethtool NFC using Default Queue
igc: Relocate RSS field definitions to igc_defines.h
ice: breakout common LAG code into helpers
ice: convert ice_add_prof() to bitmap
ice: add E835 device IDs
ice: add 40G speed to Admin Command GET PORT OPTION
idpf: preserve coalescing settings across resets
idpf: add cross timestamping
idpf: add flow steering support
virtchnl2: add flow steering support
virtchnl2: rename enum virtchnl2_cap_rss
tcp: do not increment BeyondWindow MIB for old seq
tcp: do not set a zero size receive buffer
s390/qeth: Make hw_trap sysfs attribute idempotent
selftests: tc: Add generic erspan_opts matching support for tc-flower
net: phy: qcom: qca807x: Enable WoL support using shared library
ptp: prevent possible ABBA deadlock in ptp_clock_freerun()
netvsc: transfer lower device max tso size
net: usb: smsc95xx: add support for ethtool pause parameters
selftests: drv-net: rss_api: context create and delete tests
ethtool: rss: support removing contexts via Netlink
ethtool: rss: support creating contexts via Netlink
ethtool: move ethtool_rxfh_ctx_alloc() to common code
ethtool: rss: factor out populating response from context
ethtool: rss: factor out allocating memory for response
ethtool: rejig the RSS notification machinery for more types
ethtool: assert that drivers with sym hash are consistent for RSS contexts
net/sched: sch_qfq: Avoid triggering might_sleep in atomic context in qfq_delete_class
[c] be2net: Use correct byte order and format string for TCP seq and ack_seq
gve: Fix stuck TX queue for DQ queue format
[c] net: bcmasp: Add support for re-starting auto-negotiation
[c] net: s/dev_close_many/netif_close_many/
[c] net: s/dev_set_threaded/netif_set_threaded/
[c] net: s/dev_get_flags/netif_get_flags/
[c] net: s/__dev_set_mtu/__netif_set_mtu/
[c] net: s/dev_pre_changeaddr_notify/netif_pre_changeaddr_notify/
[c] net: s/dev_get_mac_address/netif_get_mac_address/
[c] net: s/dev_get_port_parent_id/netif_get_port_parent_id/
[-] dpll: zl3073x: Initialize clock ID from device property
[-] dt-bindings: dpll: Add clock ID property
octeontx2-pf: Use new bandwidth profiles in receive queue
octeontx2-af: Display new bandwidth profiles too in debugfs
octeontx2-af: Accommodate more bandwidth profiles for cn20k
octeontx2-pf: Initialize new NIX SQ context for cn20k
octeontx2-pf: Initialize cn20k specific aura and pool contexts
octeontx2-af: Skip NDC operations for cn20k
octeontx2-af: Extend debugfs support for cn20k NPA
octeontx2-af: Add cn20k NPA block contexts
octeontx2-af: Extend debugfs support for cn20k NIX
octeontx2-af: Add cn20k NIX block contexts
octeontx2-af: Simplify context writing and reading to hardware
gve: implement DQO RX datapath and control path for AF_XDP zero-copy
gve: implement DQO TX datapath for AF_XDP zero-copy
gve: keep registry of zc xsk pools in netdev_priv
gve: merge xdp and xsk registration
gve: deduplicate xdp info and xsk pool registration logic
[c] selftests: rtnetlink: Add operational state test
[+] selftests: netfilter: tone-down conntrack clash test
net: usb: cdc-ncm: check for filtering capability
[c] net/mlx5: E-Switch, Fix peer miss rules to use peer eswitch
[c] net/mlx5: Fix memory leak in cmd_exec()
[c] net: ti: icssg-prueth: Fix buffer allocation for ICSSG
[c] net: selftests: add PHY-loopback test for bad TCP checksums
ptp: add Alibaba CIPU PTP clock driver
net: stmmac: dwmac-renesas-gbeth: Add PM suspend/resume callbacks
tcp: trace retransmit failures in tcp_retransmit_skb
[c] dpaa2-switch: Fix device reference count leak in MAC endpoint handling
[c] dpaa2-eth: Fix device reference count leak in MAC endpoint handling
[c] bus: fsl-mc: Fix potential double device reference in fsl_mc_get_endpoint()
net: appletalk: Fix use-after-free in AARP proxy probe
[-] ARM: mxs_defconfig: Enable CONFIG_FEC_MTIP_L2SW to support MTIP L2 switch
[-] ARM: mxs_defconfig: Update mxs_defconfig to 6.16-rc5
[-] ARM: mxs_defconfig: Enable CONFIG_NFS_FSCACHE
[-] net: mtip: Extend the L2 switch driver for imx287 with bridge operations
[-] net: mtip: Extend the L2 switch driver with management operations
[-] net: mtip: Add mtip_switch_{rx|tx} functions to the L2 switch driver
[-] net: mtip: Add net_device_ops functions to the L2 switch driver
[-] net: mtip: Add buffers management functions to the L2 switch driver
[-] net: mtip: The L2 switch driver for imx287
[-] ARM: dts: nxp: mxs: Adjust XEA board's DTS to support L2 switch
[-] ARM: dts: nxp: mxs: Adjust the imx28.dtsi L2 switch description
[-] dt-bindings: net: Add MTIP L2 switch description
[c] net: track pfmemalloc drops via SKB_DROP_REASON_PFMEMALLOC
[c] net: stream: add description for sk_stream_write_space()
net: pppoe: implement GRO support
net: usb: Remove duplicate assignments for net->pcpu_stat_type
[c] et131x: Add missing check after DMA map
[c] net: ag71xx: Add missing check after DMA map
[c] selftests/drivers/net: Support ipv6 for napi_id test
[c] ibmvnic: Use ndo_get_stats64 to fix inaccurate SAR reporting
[c] Merge branch 'net-mlx5-misc-changes-2025-07-16'
[c] net/mlx5e: Properly access RCU protected qdisc_sleeping variable
[c] net/mlx5e: fix kdoc warning on eswitch.h
[c] net/mlx5: HWS, Enable IPSec hardware offload in legacy mode
[c] net: pcs: xpcs: mask readl() return value to 16 bits
[c] net/mlx5: Fix an IS_ERR() vs NULL bug in esw_qos_move_node()
[c] net: ethernet: mtk_wed: Fix NULL vs IS_ERR() bug in mtk_wed_get_memory_region()
[c] net: airoha: Fix a NULL vs IS_ERR() bug in airoha_npu_run_firmware()
[c] Merge branch 'add-shared-phy-counter-support-for-qca807x-and-qca808x'
[c] net: phy: qcom: qca807x: Support PHY counter
[c] net: phy: qcom: qca808x: Support PHY counter
[c] net: phy: qcom: Add PHY counter support
[c] netdevsim: remove redundant branch
[c] Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
[c] selftests: net: prevent Python from buffering the output
[c] Merge branch 'neighbour-convert-rtm_getneigh-to-rcu-and-make-pneigh-rtnl-free'
[c] neighbour: Update pneigh_entry in pneigh_create().
[c] neighbour: Protect tbl->phash_buckets[] with a dedicated mutex.
[c] neighbour: Drop read_lock_bh(&tbl->lock) in pneigh_lookup().
[c] neighbour: Remove __pneigh_lookup().
[c] neighbour: Use rcu_dereference() in pneigh_get_{first,next}().
[c] neighbour: Drop read_lock_bh(&tbl->lock) in pneigh_dump_table().
[c] neighbour: Convert RTM_GETNEIGH to RCU.
[c] neighbour: Annotate access to struct pneigh_entry.{flags,protocol}.
[c] neighbour: Free pneigh_entry after RCU grace period.
[c] neighbour: Annotate neigh_table.phash_buckets and pneigh_entry.next with __rcu.
[c] neighbour: Split pneigh_lookup().
[c] neighbour: Move neigh_find_table() to neigh_get().
[c] neighbour: Allocate skb in neigh_get().
[c] neighbour: Move two validations from neigh_get() to neigh_valid_get_req().
[c] neighbour: Make neigh_valid_get_req() return ndmsg.
[c] Merge branch 'ethtool-rss-support-rss_set-via-netlink'
[c] selftests: drv-net: rss_api: test input-xfrm and hash fields
[c] ethtool: rss: support setting flow hashing fields
[c] ethtool: rss: support setting input-xfrm via Netlink
[c] netlink: specs: define input-xfrm enum in the spec
[c] selftests: drv-net: rss_api: test setting hashing key via Netlink
[c] ethtool: rss: support setting hkey via Netlink
[c] ethtool: rss: support setting hfunc via Netlink
[c] selftests: drv-net: rss_api: test setting indirection table via Netlink
[c] tools: ynl: support packing binary arrays of scalars
[c] selftests: drv-net: rss_api: factor out checking min queue count
[c] ethtool: rss: initial RSS_SET (indirection table handling)
[c] net/mlx5e: TX, Fix dma unmapping for devmem tx
[c] doc: xdp: Clarify driver implementation for XDP Rx metadata
[c] Merge branch 'bpf-tcp-exactly-once-socket-iteration'
[c] selftests/bpf: Add tests for bucket resume logic in established sockets
[c] selftests/bpf: Create iter_tcp_destroy test program
[c] selftests/bpf: Create established sockets in socket iterator tests
[c] selftests/bpf: Make ehash buckets configurable in socket iterator tests
[c] selftests/bpf: Allow for iteration over multiple states
[c] selftests/bpf: Allow for iteration over multiple ports
[c] selftests/bpf: Add tests for bucket resume logic in listening sockets
[c] bpf: tcp: Avoid socket skips and repeats during iteration
[c] bpf: tcp: Use bpf_tcp_iter_batch_item for bpf_tcp_iter_state batch items
[c] bpf: tcp: Get rid of st_bucket_done
[c] bpf: tcp: Make sure iter->batch always contains a full bucket snapshot
[c] bpf: tcp: Make mem flags configurable through bpf_iter_tcp_realloc_batch
[+] selftests: mptcp: connect: also cover checksum
[+] selftests: mptcp: connect: also cover alt modes
Test results