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

Branches
Base trees
[+] net: Helper to move packet data and metadata after skb_push/pull
[+] net: Preserve metadata on pskb_expand_head
[+] bpf: Unclone skb head on bpf_dynptr_write to skb metadata
[+] vlan: Make vlan_remove_tag return nothing
[+] bpf: Make bpf_skb_vlan_pop helper metadata-safe
[+] bpf: Make bpf_skb_vlan_push helper metadata-safe
[+] bpf: Make bpf_skb_adjust_room metadata-safe
[+] bpf: Make bpf_skb_change_proto helper metadata-safe
[+] bpf: Make bpf_skb_change_head helper metadata-safe
[+] selftests/bpf: Verify skb metadata in BPF instead of userspace
[+] selftests/bpf: Dump skb metadata on verification failure
[+] selftests/bpf: Expect unclone to preserve skb metadata
[+] selftests/bpf: Cover skb metadata access after vlan push/pop helper
[+] selftests/bpf: Cover skb metadata access after bpf_skb_adjust_room
[+] selftests/bpf: Cover skb metadata access after change_head/tail helper
[+] selftests/bpf: Cover skb metadata access after bpf_skb_change_proto
[+] Merge branch 'make-tc-bpf-helpers-preserve-skb-metadata'
[+] bpf: Export necessary symbols for modules with struct_ops
[+] net/smc: bpf: Introduce generic hook for handshake flow
[+] bpf/selftests: Add selftest for bpf_smc_hs_ctrl
[+] Merge branch 'net-smc-introduce-smc_hs_ctrl'
[+] sctp: prevent possible shift-out-of-bounds in sctp_transport_update_rto
[+] sctp: Don't inherit do_auto_asconf in sctp_clone_sock().
[+] ptp: ocp: Document sysfs output format for backward compatibility
[+] net: ravb: Correct bad check of timestamp control flags
[+] Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
[+] net/sched: Abort __tc_modify_qdisc if parent is a clsact/ingress qdisc
[+] selftests/tc-testing: Create tests trying to add children to clsact/ingress qdiscs
[+] net: dsa: tag_brcm: do not mark link local traffic as offloaded
[+] net: dsa: b53: b53_arl_read{,25}(): use the entry for comparision
[+] net: dsa: b53: move reading ARL entries into their own function
[+] net: dsa: b53: move writing ARL entries into their own functions
[+] net: dsa: b53: provide accessors for accessing ARL_SRCH_CTL
[+] net: dsa: b53: split reading search entry into their own functions
[+] net: dsa: b53: move ARL entry functions into ops struct
[+] net: dsa: b53: add support for 5389/5397/5398 ARL entry format
[+] net: dsa: b53: add support for bcm63xx ARL entry format
[+] Merge branch 'net-dsa-b53-add-support-for-bcm5389-97-98-and-bcm63xx-arl-formats'
[+] tg3: Fix num of RX queues being reported by ethtool
[+] tools: ynl: call nested attribute free function for indexed arrays
[+] usbnet: Add support for Byte Queue Limits (BQL)
[+] net: stmmac: ingenic: move ingenic_mac_init()
[+] net: stmmac: ingenic: simplify jz4775 mac_set_mode()
[+] net: stmmac: ingenic: use PHY_INTF_SEL_x to select PHY interface
[+] net: stmmac: ingenic: use PHY_INTF_SEL_x directly
[+] net: stmmac: ingenic: prep PHY_INTF_SEL_x field after switch()
[+] net: stmmac: ingenic: use stmmac_get_phy_intf_sel()
[+] net: stmmac: ingenic: move "MAC PHY control register" debug
[+] net: stmmac: ingenic: simplify mac_set_mode() methods
[+] net: stmmac: ingenic: simplify x2000 mac_set_mode()
[+] net: stmmac: ingenic: pass ingenic_mac struct rather than plat_dat
[+] net: stmmac: ingenic: use ->set_phy_intf_sel()
[+] Merge branch 'net-stmmac-ingenic-convert-to-set_phy_intf_sel'
[+] gve: Decouple header split from RX buffer length
[+] gve: Use extack to log xdp config verification errors
[+] gve: Allow ethtool to configure rx_buf_len
[+] gve: Default to max_rx_buffer_size for DQO if device supported
[+] Merge branch 'gve-improve-rx-buffer-length-management'
[+] bonding: fix mii_status when slave is down
[+] net/smc: fix mismatch between CLC header and proposal
[+] net/handshake: Fix memory leak in tls_handshake_accept()
[+] net: ethernet: ti: am65-cpsw-qos: fix IET verify/response timeout
[+] net: ethernet: ti: am65-cpsw-qos: fix IET verify retry mechanism
[+] Merge branch 'fix-iet-verification-implementation-for-cpsw-driver'
[+] isdn: kcapi: add WQ_PERCPU to alloc_workqueue users
[+] tipc: Fix use-after-free in tipc_mon_reinit_self().
[+] net: mdio: fix resource leak in mdiobus_register_device()
[+] net: dsa: loop: use new helper fixed_phy_register_100fd to simplify the code
[+] net: netpoll: fix incorrect refcount handling causing incorrect cleanup
[+] selftest: netcons: refactor target creation
[+] selftest: netcons: create a torture test
[+] selftest: netcons: add test for netconsole over bonded interfaces
[+] Merge branch 'net-netpoll-fix-memory-leak-and-add-comprehensive-selftests'
drivers/isdn/capi/kcapi.c | 2 +- drivers/net/bonding/bond_main.c | 5 +- drivers/net/dsa/b53/b53_common.c | 316 ++++++++++++----- drivers/net/dsa/b53/b53_priv.h | 71 ++++ drivers/net/dsa/b53/b53_regs.h | 22 ++ drivers/net/dsa/dsa_loop.c | 7 +- drivers/net/ethernet/broadcom/tg3.c | 2 +- drivers/net/ethernet/google/gve/gve.h | 12 +- drivers/net/ethernet/google/gve/gve_adminq.c | 4 + drivers/net/ethernet/google/gve/gve_ethtool.c | 13 +- drivers/net/ethernet/google/gve/gve_main.c | 73 +++- drivers/net/ethernet/renesas/ravb_main.c | 4 +- .../net/ethernet/stmicro/stmmac/dwmac-ingenic.c | 165 +++------ drivers/net/ethernet/ti/am65-cpsw-qos.c | 51 ++- drivers/net/phy/mdio_bus.c | 5 +- drivers/net/usb/usbnet.c | 11 + drivers/ptp/ptp_ocp.c | 6 + include/linux/filter.h | 9 + include/linux/if_vlan.h | 13 +- include/linux/skbuff.h | 75 ++++ include/linux/usb/usbnet.h | 2 + include/net/netns/smc.h | 3 + include/net/sctp/structs.h | 4 - include/net/smc.h | 53 +++ kernel/bpf/bpf_struct_ops.c | 2 + kernel/bpf/helpers.c | 6 +- kernel/bpf/syscall.c | 1 + net/core/filter.c | 34 +- net/core/netpoll.c | 7 +- net/core/skbuff.c | 6 +- net/dsa/tag_brcm.c | 6 +- net/handshake/tlshd.c | 1 + net/ipv4/tcp_output.c | 31 +- net/sched/sch_api.c | 5 + net/sctp/socket.c | 1 + net/sctp/transport.c | 13 +- net/smc/Kconfig | 10 + net/smc/Makefile | 1 + net/smc/af_smc.c | 9 + net/smc/smc_clc.c | 1 + net/smc/smc_hs_bpf.c | 140 ++++++++ net/smc/smc_hs_bpf.h | 31 ++ net/smc/smc_sysctl.c | 91 +++++ net/tipc/net.c | 2 + tools/net/ynl/pyynl/ynl_gen_c.py | 12 + tools/testing/selftests/bpf/config | 5 + .../selftests/bpf/prog_tests/test_bpf_smc.c | 390 +++++++++++++++++++++ .../bpf/prog_tests/xdp_context_test_run.c | 129 ++++--- tools/testing/selftests/bpf/progs/bpf_smc.c | 117 +++++++ tools/testing/selftests/bpf/progs/test_xdp_meta.c | 386 ++++++++++++++------ tools/testing/selftests/drivers/net/Makefile | 1 + .../testing/selftests/drivers/net/bonding/Makefile | 2 + tools/testing/selftests/drivers/net/bonding/config | 4 + .../drivers/net/bonding/netcons_over_bonding.sh | 361 +++++++++++++++++++ .../selftests/drivers/net/lib/sh/lib_netcons.sh | 78 ++++- .../selftests/drivers/net/netcons_torture.sh | 130 +++++++ .../tc-testing/tc-tests/infra/qdiscs.json | 44 +++ 57 files changed, 2493 insertions(+), 492 deletions(-)
New patches
@@ -1,161 +1,116 @@
nipa: dbg: try to capture info about xdp qstat failures
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: dbg: tests: bonding: print info on failure
nipa: timestamp - try waking
nipa: profile (time) test output
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
[+] ipv6: clear RA flags when adding a static route
[+] net: phy: fixed_phy: initialize the link status as up
[+] net: netcp: ethss: Fix type of first parameter in hwtstamp stubs
[+] i40e: fix src IP mask checks and memcpy argument names in cloud filter
[+] selftests: mptcp: join: properly kill background tasks
[+] selftests: mptcp: connect: trunc: read all recv data
[+] selftests: mptcp: join: userspace: longer transfer
[+] selftests: mptcp: join: endpoints: longer transfer
[+] selftests: mptcp: join: rm: set backup flag
[+] selftests: mptcp: connect: fix fallback note due to OoO
[+] fbnic: Replace use of internal PCS w/ Designware XPCS
[+] fbnic: Add SW shim for MDIO interface to PMA/PMD and PCS
[+] fbnic: Cleanup handling for link down event statistics
[+] fbnic: Add logic to track PMD state via MAC/PCS signals
[+] fbnic: Rename PCS IRQ to MAC IRQ as it is actually a MAC interrupt
[+] net: pcs: xpcs: Add support for FBNIC 25G, 50G, 100G PMA
[+] net: pcs: xpcs: Fix PMA identifier handling in XPCS
[+] net: pcs: xpcs: Add support for 25G, 50G, and 100G interfaces
[+] net: phy: Rename MDIO_CTRL1_SPEED for 2.5G and 5G to reflect PMA values
[+] net: phy: Add support for 25, 50 and 100Gbps PMA to genphy_c45_read_pma
[+] net: stmmac: meson8b: use stmmac_get_phy_intf_sel()
[+] net: stmmac: meson8b: use phy_intf_sel directly
[+] net: stmmac: meson8b: use PHY_INTF_SEL_x
[+] net: fealnx: fixed possible out of band acces to an array
[+] net: sparx5/lan969x: populate netdev of_node
[+] net: ps3_gelic_net: handle skb allocation failures
[+] eea: introduce ethtool support
[+] eea: create/destroy rx,tx queues for netdevice open and stop
[+] eea: probe the netdevice and create adminq
[+] eea: introduce ring and descriptor structures
[+] eea: introduce PCI framework
[+] net: mana: Implement ndo_tx_timeout and serialize queue resets per port.
[+] net: bonding: use atomic instead of rtnl_mutex, to make sure peer notify updated
net: ethernet: ti: am65-cpsw: Fix clearing of irq_disabled flag in rx_poll
net: ethernet: ti: am65-cpsw: enable zero copy in XDP features
net: ethernet: ti: am65-cpsw: Add AF_XDP zero copy for TX
net: ethernet: ti: am65-cpsw: Add AF_XDP zero copy for RX
net: ethernet: ti: am65-cpsw: add XSK pool helpers
net: ethernet: ti: am65-cpsw: Retain page_pool on XDP program exchange
net: ethernet: ti: am65-cpsw: fix BPF Program change on multi-port CPSW
net_sched: limit try_bulk_dequeue_skb() batches
[c] net: dsa: tag_brcm: do not mark link local traffic as offloaded
mlx5: Fix default values in create CQ
net/mlx5e: Fix potentially misleading debug message
net/mlx5e: Fix wraparound in rate limiting for values above 255 Gbps
net/mlx5e: Fix maxrate wraparound in threshold between units
net/mlx5e: Trim the length of the num_doorbell error
net/mlx5e: Fix missing error assignment in mlx5e_xfrm_add_state()
net: sched: act_ife: initialize struct tc_ife to fix KMSAN kernel-infoleak
net: sched: act_connmark: initialize struct tc_ife to fix kernel leak
af_unix: Initialise scc_index in unix_add_edge().
[c] net: dsa: loop: use new helper fixed_phy_register_100fd to simplify the code
selftests/vsock: disable shellcheck SC2317 and SC2119
selftests/vsock: add vsock_loopback module loading
selftests/vsock: add 1.37 to tested virtme-ng versions
selftests/vsock: add BUILD=0 definition
selftests/vsock: identify and execute tests that can re-use VM
selftests/vsock: add check_result() for pass/fail counting
selftests/vsock: speed up tests by reducing the QEMU pidfile timeout
selftests/vsock: do not unconditionally die if qemu fails
selftests/vsock: avoid multi-VM pidfile collisions with QEMU
selftests/vsock: reuse logic for vsock_test through wrapper functions
selftests/vsock: make wait_for_listener() work even if pipefail is on
selftests/vsock: improve logging in vmtest.sh
net/mlx5: E-Switch, support eswitch inactive mode
net/mlx5: MPFS, add support for dynamic enable/disable
devlink: Introduce switchdev_inactive eswitch mode
[c] net: mdio: fix resource leak in mdiobus_register_device()
[-] hinic3: Add netdev register interfaces
[-] hinic3: Add mac filter ops
[-] hinic3: Add NIC configuration ops
[-] hinic3: Add PF management interfaces
[-] hinic3: Add PF framework
[-] net/mlx5: implement swp_l4_csum_mode via devlink params
[-] devlink: pass extack through to devlink_param::get()
[-] net: phy: mscc: Add support for PHY LED control
[-] net: phy: mscc: Consolidate probe functions into a common helper
[-] net: phy: mscc: Simplify LED mode update using phy_modify()
[c] net: ravb: Correct bad check of timestamp control flags
tools: ynltool: add traffic distribution balance
tools: ynltool: add qstats support
tools: ynltool: add page-pool stats
tools: ynltool: create skeleton for the C command
[c] selftest: netcons: add test for netconsole over bonded interfaces
[c] selftest: netcons: create a torture test
[c] selftest: netcons: refactor target creation
[c] net: netpoll: fix incorrect refcount handling causing incorrect cleanup
[c] isdn: kcapi: add WQ_PERCPU to alloc_workqueue users
[-] net: stmmac: dwmac-sophgo: Add phy interface filter
[-] net: phy: Add helper for fixing RGMII PHY mode based on internal mac delay
[-] dt-bindings: net: sophgo,sg2044-dwmac: add phy mode restriction
[c] tg3: Fix num of RX queues being reported by ethtool
[c] net: stmmac: ingenic: use ->set_phy_intf_sel()
[c] net: stmmac: ingenic: pass ingenic_mac struct rather than plat_dat
[c] net: stmmac: ingenic: simplify x2000 mac_set_mode()
[c] net: stmmac: ingenic: simplify mac_set_mode() methods
[c] net: stmmac: ingenic: move "MAC PHY control register" debug
[c] net: stmmac: ingenic: use stmmac_get_phy_intf_sel()
[c] net: stmmac: ingenic: prep PHY_INTF_SEL_x field after switch()
[c] net: stmmac: ingenic: use PHY_INTF_SEL_x directly
[c] net: stmmac: ingenic: use PHY_INTF_SEL_x to select PHY interface
[c] net: stmmac: ingenic: simplify jz4775 mac_set_mode()
[c] net: stmmac: ingenic: move ingenic_mac_init()
[c] net: dsa: b53: add support for bcm63xx ARL entry format
[c] net: dsa: b53: add support for 5389/5397/5398 ARL entry format
[c] net: dsa: b53: move ARL entry functions into ops struct
[c] net: dsa: b53: split reading search entry into their own functions
[c] net: dsa: b53: provide accessors for accessing ARL_SRCH_CTL
[c] net: dsa: b53: move writing ARL entries into their own functions
[c] net: dsa: b53: move reading ARL entries into their own function
[c] net: dsa: b53: b53_arl_read{,25}(): use the entry for comparision
[c] ptp: ocp: Document sysfs output format for backward compatibility
[c] tipc: Fix use-after-free in tipc_mon_reinit_self().
virtio_net: Add get ethtool flow rules ops
virtio_net: Add support for TCP and UDP ethtool rules
virtio_net: Add support for IPv6 ethtool steering
virtio_net: Implement IPv4 ethtool flow rules
virtio_net: Use existing classifier if possible
virtio_net: Implement layer 2 ethtool flow rules
virtio_net: Create a FF group for ethtool steering
virtio_net: Query and set flow filter caps
virtio: Expose object create and destroy API
virtio: Expose generic device capability operations
virtio: Add config_op for admin commands
virtio_pci: Remove supported_cap size build assert
[c] net/smc: fix mismatch between CLC header and proposal
[c] sctp: Don't inherit do_auto_asconf in sctp_clone_sock().
[c] selftests/tc-testing: Create tests trying to add children to clsact/ingress qdiscs
[c] net/sched: Abort __tc_modify_qdisc if parent is a clsact/ingress qdisc
[c] gve: Default to max_rx_buffer_size for DQO if device supported
[c] gve: Allow ethtool to configure rx_buf_len
[c] gve: Use extack to log xdp config verification errors
[c] gve: Decouple header split from RX buffer length
[c] bonding: fix mii_status when slave is down
[c] usbnet: Add support for Byte Queue Limits (BQL)
[c] net/handshake: Fix memory leak in tls_handshake_accept()
[-] net: dsa: microchip: Immediately assing IRQ numbers
[-] net: dsa: microchip: Ensure a ksz_irq is initialized before freeing it
[-] net: dsa: microchip: ptp: Fix checks on irq_find_mapping()
[-] net: dsa: microchip: common: Fix checks on irq_find_mapping()
[c] sctp: prevent possible shift-out-of-bounds in sctp_transport_update_rto
Documentation: networking: Document the phy_port infrastructure
net: phy: dp83822: Add SFP support through the phy_port interface
net: phy: Only rely on phy_port for PHY-driven SFP
net: phy: qca807x: Support SFP through phy_port interface
net: phy: at803x: Support SFP through phy_port interface
net: phy: marvell10g: Support SFP through phy_port
net: phy: marvell: Support SFP through phy_port interface
net: phy: marvell-88x2222: Support SFP through phy_port interface
net: phy: Introduce generic SFP handling for PHY drivers
net: phy: Create a phy_port for PHY-driven SFPs
dt-bindings: net: dp83822: Deprecate ti,fiber-mode
net: phy: dp83822: Add support for phy_port representation
net: phy: Introduce PHY ports representation
net: ethtool: Introduce ETHTOOL_LINK_MEDIUM_* values
dt-bindings: net: Introduce the ethernet-connector description
[c] net: ethernet: ti: am65-cpsw-qos: fix IET verify retry mechanism
[c] net: ethernet: ti: am65-cpsw-qos: fix IET verify/response timeout
[-] net: sched: sch_qfq: Fix use-after-free in qfq_reset_qdisc().
[-] wireguard: netlink: generate netlink code
[-] wireguard: netlink: rename netlink handlers
[-] wireguard: netlink: convert to split ops
[-] tools: ynl: add sample for wireguard
[-] uapi: wireguard: generate header with ynl-gen
[-] uapi: wireguard: move flag enums
[-] uapi: wireguard: move enum wg_cmd
[-] netlink: specs: add specification for wireguard
[-] wireguard: netlink: enable strict genetlink validation
[-] wireguard: netlink: use WG_KEY_LEN in policies
[-] wireguard: netlink: validate nested arrays in policy
net/ipv6: fix lookup for ::/0 (non-)subtree route
[-] net: enetc: add port MDIO support for ENETC v4
[-] net: enetc: set external MDIO PHY address for i.MX94 ENETC
[-] net: enetc: set external MDIO PHY address for i.MX95 ENETC
net/ipv6: drop ip6_route_get_saddr
net/ipv6: use ipv6_fl_get_saddr in output
net/ipv6: create ipv6_fl_get_saddr
net/ipv6: flatten ip6_route_get_saddr
xsk: add indirect call for xsk_destruct_skb
Test results