Centos-kernel-stream-9/include/uapi/linux
Jarod Wilson e8ad88bbac Merge: CNB97: ethtool: Block setting of symmetric RSS when non-symmetric rx-flow-hash is requested
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/7201

JIRA: https://issues.redhat.com/browse/RHEL-107024

commit 1b2900db0119c02e6445bb61ec3fba982d10cc8d
Author: Gal Pressman <gal@nvidia.com>
Date:   Thu May 8 13:30:34 2025 +0300

    ethtool: Block setting of symmetric RSS when non-symmetric rx-flow-hash is requested

    Symmetric RSS hash requires that:
    * No other fields besides IP src/dst and/or L4 src/dst are set
    * If src is set, dst must also be set

    This restriction was only enforced when RXNFC was configured after
    symmetric hash was enabled. In the opposite order of operations (RXNFC
    then symmetric enablement) the check was not performed.

    Perform the sanity check on set_rxfh as well, by iterating over all flow
    types hash fields and making sure they are all symmetric.

    Introduce a function that returns whether a flow type is hashable (not
    spec only) and needs to be iterated over. To make sure that no one
    forgets to update the list of hashable flow types when adding new flow
    types, a static assert is added to draw the developer's attention.

    The conversion of uapi #defines to enum is not ideal, but as Jakub
    mentioned [1], we have precedent for that.

    [1] https://lore.kernel.org/netdev/20250324073509.6571ade3@kernel.org/

    Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
    Signed-off-by: Gal Pressman <gal@nvidia.com>
    Reviewed-by: Simon Horman <horms@kernel.org>
    Link: https://patch.msgid.link/20250508103034.885536-1-gal@nvidia.com
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: CKI Backport Bot <cki-ci-bot+cki-gitlab-backport-bot@redhat.com>

Approved-by: mheib <mheib@redhat.com>
Approved-by: Ivan Vecera <ivecera@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: Jarod Wilson <jarod@redhat.com>
2025-08-18 17:04:52 -07:00
..
android
byteorder
caif
can can: canxl: add virtual CAN network identifier support 2025-03-19 15:14:54 -04:00
cifs
dvb
genwqe
hdlc
hsi
iio
isdn
misc
mmc
netfilter netfilter: nf_tables: rise cap on SELinux secmark context 2024-09-27 13:10:55 +02:00
netfilter_arp
netfilter_bridge
netfilter_ipv4
netfilter_ipv6
nfsd
raid md: reintroduce md-linear 2025-03-21 14:55:02 -04:00
sched
spi
sunrpc
surface_aggregator
tc_act net: sched: Annotate struct tc_pedit with __counted_by 2024-09-06 15:01:45 +02:00
tc_ematch
usb USB: core: Add eUSB2 descriptor and parsing in USB core 2025-07-14 22:49:49 -03:00
a.out.h
acct.h
acrn.h virt: acrn: Mark the uuid field as unused 2025-02-03 09:49:58 -05:00
adb.h
adfs_fs.h
affs_hardblocks.h
agpgart.h
aio_abi.h
am437x-vpfe.h
apm_bios.h
arcfb.h
arm_sdei.h
aspeed-lpc-ctrl.h
aspeed-p2a-ctrl.h
atalk.h
atm.h
atm_eni.h
atm_he.h
atm_idt77105.h
atm_nicstar.h
atm_tcp.h
atm_zatm.h
atmapi.h
atmarp.h
atmbr2684.h
atmclip.h
atmdev.h
atmioc.h
atmlec.h
atmmpc.h
atmppp.h
atmsap.h
atmsvc.h
audit.h
auto_dev-ioctl.h
auto_fs.h autofs: add per dentry expire timeout 2024-11-29 14:53:51 +08:00
auto_fs4.h
auxvec.h
ax25.h
batadv_packet.h
batman_adv.h
baycom.h
bcm933xx_hcs.h
bfs_fs.h
binfmts.h
bits.h
blkpg.h
blktrace_api.h
blkzoned.h
bpf.h bpf: Add bpf_copy_from_user_str kfunc 2025-01-21 11:27:00 +01:00
bpf_common.h
bpf_perf_event.h
bpfilter.h
bpqether.h
bsg.h
bt-bmc.h
btf.h
btrfs.h
btrfs_tree.h
cachefiles.h
can.h can: canxl: add virtual CAN network identifier support 2025-03-19 15:14:54 -04:00
capability.h
capi.h
cciss_defs.h
cciss_ioctl.h
ccs.h
cdrom.h
cec-funcs.h media: cec: add support for Absolute Volume Control 2024-07-03 16:36:56 +08:00
cec.h media: cec: add support for Absolute Volume Control 2024-07-03 16:36:56 +08:00
cfm_bridge.h
cgroupstats.h
chio.h
close_range.h
cm4000_cs.h
cn_proc.h
coda.h
coff.h
connector.h
const.h
coresight-stm.h
cramfs_fs.h
cryptouser.h
cuda.h
cxl_mem.h cxl/mbox: Add Clear Log mailbox command 2024-10-07 14:00:45 -04:00
cycx_cfm.h
dcbnl.h
dccp.h
devlink.h devlink: define enum for attr types of dynamic attributes 2025-07-23 14:59:19 +02:00
dlm.h
dlm_device.h
dlm_netlink.h
dlm_plock.h
dlmconstants.h
dm-ioctl.h dm mpath: Interface for explicit probing of active paths 2025-06-04 15:09:49 -04:00
dm-log-userspace.h
dma-buf.h
dma-heap.h
dn.h
dns_resolver.h
dpll.h Merge: CNB97: dpll: add phase-offset-monitor feature 2025-08-06 18:26:13 -03:00
dqblk_xfs.h
edd.h
efs_fs_sb.h
elf-em.h
elf-fdpic.h
elf.h arm64/ptrace: Expose FPMR via ptrace 2024-10-31 10:40:26 -04:00
errno.h
errqueue.h
erspan.h
ethtool.h ethtool: Block setting of symmetric RSS when non-symmetric rx-flow-hash is requested 2025-08-01 12:52:58 +00:00
ethtool_netlink.h net: ethtool: remove duplicate defines for family info 2025-06-30 12:52:42 +03:00
ethtool_netlink_generated.h net: ethtool: remove duplicate defines for family info 2025-06-30 12:52:42 +03:00
eventfd.h
eventpoll.h
f2fs.h
fadvise.h
falloc.h fs: sort out the fallocate mode vs flag mess 2025-07-10 21:51:19 -05:00
fanotify.h fanotify: introduce FAN_MARK_IGNORE 2025-07-07 17:32:18 +02:00
fb.h
fcntl.h
fd.h
fdreg.h
fib_rules.h
fiemap.h
filter.h
firewire-cdev.h
firewire-constants.h
fou.h
fpga-dfl.h
fs.h fs: add FS_IOC_GETFSSYSFSPATH 2025-02-07 17:06:38 -05:00
fscrypt.h
fsi.h
fsl_hypervisor.h
fsl_mc.h
fsmap.h
fsverity.h
fuse.h fuse: implement ->tmpfile() 2024-10-16 10:45:09 +08:00
futex.h
gameport.h
gen_stats.h
genetlink.h
gfs2_ondisk.h
gpio.h
gsmmux.h
gtp.h
handshake.h
hash_info.h
hdlc.h
hdlcdrv.h
hdreg.h
hid.h
hiddev.h
hidraw.h
hpet.h
hsr_netlink.h
hw_breakpoint.h
hyperv.h
i2c-dev.h
i2c.h
i2o-dev.h
i8k.h
icmp.h
icmpv6.h netfilter: conntrack: fix ct-state for ICMPv6 Multicast Router Discovery 2025-01-13 15:04:34 +00:00
idxd.h
if.h
if_addr.h
if_addrlabel.h
if_alg.h
if_arcnet.h
if_arp.h
if_bonding.h
if_bridge.h net: bridge: Add offload_fail_notification bopt 2025-07-22 16:14:02 +03:00
if_cablemodem.h
if_eql.h
if_ether.h
if_fc.h
if_fddi.h
if_hippi.h
if_infiniband.h
if_link.h net: add IFLA_MAX_PACING_OFFLOAD_HORIZON device attribute 2025-05-28 09:45:37 +02:00
if_ltalk.h
if_macsec.h
if_packet.h
if_phonet.h
if_plip.h
if_ppp.h
if_pppol2tp.h
if_pppox.h
if_slip.h
if_team.h
if_tun.h
if_tunnel.h
if_vlan.h
if_x25.h
if_xdp.h xsk: Add launch time hardware offload support to XDP Tx metadata 2025-05-08 23:44:16 +02:00
ife.h
igmp.h
ila.h
in.h net/smc: Introduce IPPROTO_SMC 2025-05-16 18:16:31 +02:00
in6.h
in_route.h
inet_diag.h
inotify.h
input-event-codes.h input: Add support for "Do Not Disturb" 2024-12-12 14:05:38 +01:00
input.h
io_uring.h io_uring: support to inject result for NOP 2024-11-28 17:49:44 -05:00
ioctl.h
iommufd.h iommu/arm-smmu-v3: Improve uAPI comment for IOMMU_HW_INFO_TYPE_ARM_SMMUV3 2025-04-03 09:23:33 -07:00
ioprio.h
ip.h
ip6_tunnel.h
ip_vs.h
ipc.h
ipmi.h
ipmi_bmc.h
ipmi_msgdefs.h
ipmi_ssif_bmc.h
ipsec.h
ipv6.h
ipv6_route.h
ipx.h
irqnr.h
iso_fs.h
isst_if.h
ivtv.h
ivtvfb.h
jffs2.h
joystick.h
kcm.h
kcmp.h
kcov.h
kd.h
kdev_t.h
kernel-page-flags.h
kernel.h
kernelcapi.h
kexec.h crash: add a new kexec flag for hotplug support 2024-12-23 09:35:36 +08:00
keyboard.h
keyctl.h
kfd_ioctl.h Merge DRM changes from upstream v6.14..v6.15 2025-08-11 15:43:43 +02:00
kfd_sysfs.h Merge DRM changes from upstream v6.14..v6.15 2025-08-11 15:43:43 +02:00
kvm.h KVM: TDX: Exit to userspace for SetupEventNotifyInterrupt 2025-07-16 15:17:00 +02:00
kvm_para.h
l2tp.h
landlock.h landlock: Add abstract UNIX socket scoping 2025-06-24 10:59:40 -04:00
libc-compat.h
limits.h
lirc.h
llc.h
loadpin.h
loop.h
lp.h
lsm.h LSM: Identify modules by more than name 2024-11-28 14:50:19 +01:00
lwtunnel.h
magic.h
major.h
map_to_7segment.h
matroxfb.h
max2175.h
mdio.h net: phy: Add BaseT1 auto-negotiation constants 2024-12-10 13:40:43 +01:00
media-bus-format.h
media.h media: uapi: Use unsigned int values for assigning bits in u32 fields 2024-11-27 09:40:38 +08:00
mei.h mei: Move uuid.h to the MEI namespace 2025-02-03 09:49:58 -05:00
mei_uuid.h mei: Move uuid.h to the MEI namespace 2025-02-03 09:49:58 -05:00
membarrier.h
memfd.h
mempolicy.h mempolicy: remove confusing MPOL_MF_LAZY dead code 2024-12-09 12:23:13 -05:00
meye.h
mii.h
minix_fs.h
mman.h
mmtimer.h
module.h
mount.h
mpls.h
mpls_iptunnel.h
mptcp.h
mptcp_pm.h
mqueue.h
mroute.h
mroute6.h
mrp_bridge.h
msdos_fs.h
msg.h
mshv.h Drivers: hv: Introduce mshv_root module to expose /dev/mshv to VMMs 2025-06-10 14:30:04 -04:00
mtio.h
nbd-netlink.h
nbd.h nbd: implement the WRITE_ZEROES command 2024-11-28 17:34:12 +08:00
ncsi.h
ndctl.h
neighbour.h
net.h
net_dropmon.h
net_namespace.h
net_shaper.h netlink: spec: add shaper introspection support 2025-05-07 14:39:11 +02:00
net_tstamp.h net: Add the possibility to support a selected hwtstamp in netdevice 2025-06-30 12:52:39 +03:00
netconf.h
netdev.h Merge: CNB97: xsk: TX metadata Launch Time support 2025-06-26 10:58:55 -03:00
netdevice.h
netfilter.h
netfilter_arp.h
netfilter_bridge.h
netfilter_decnet.h
netfilter_ipv4.h
netfilter_ipv6.h
netlink.h
netlink_diag.h
netrom.h
nexthop.h net: nexthop: Increase weight to u16 2024-11-20 19:02:15 +01:00
nfc.h
nfs.h NFS/knfsd: Remove the invalid NFS error 'NFSERR_OPNOTSUPP' 2024-10-25 12:36:18 -04:00
nfs2.h
nfs3.h
nfs4.h NFSv4: Detect support for OPEN4_SHARE_ACCESS_WANT_OPEN_XOR_DELEGATION 2024-11-05 07:34:00 -05:00
nfs4_mount.h
nfs_fs.h
nfs_idmap.h
nfs_mount.h
nfsacl.h
nfsd_netlink.h nfsd: new netlink ops to get/set server pool_mode 2024-11-05 07:34:04 -05:00
nilfs2_api.h
nilfs2_ondisk.h
nitro_enclaves.h
nl80211.h wifi: cfg80211: improve supported_selector documentation 2025-06-17 18:00:51 +02:00
nsfs.h
nubus.h
nvme_ioctl.h
nvram.h
omap3isp.h
omapfb.h
oom.h
openat2.h
openvswitch.h net: openvswitch: allow providing upcall pid for the 'execute' command 2025-08-13 08:48:41 -04:00
packet_diag.h
param.h
parport.h
patchkey.h
pci.h
pci_regs.h Merge: CNB97: PCI: Add TLP Processing Hints (TPH) support 2025-06-26 10:58:52 -03:00
pcitest.h
perf_event.h perf/core: Add aux_pause, aux_resume, aux_start_paused 2025-06-23 18:58:21 +02:00
personality.h
pfkeyv2.h
pfrut.h
pg.h
phantom.h
phonet.h
pidfd.h
pkt_cls.h UAPI: net/sched: Use __struct_group() in flex struct tc_u32_sel 2024-11-22 11:07:14 +01:00
pkt_sched.h net_sched: sch_fq: add the ability to offload pacing 2025-05-28 09:45:37 +02:00
pktcdvd.h
pmu.h
poll.h
posix_acl.h
posix_acl_xattr.h
posix_types.h
ppdev.h
ppp-comp.h
ppp-ioctl.h
ppp_defs.h
pps.h
pr.h
prctl.h powerpc/dexcr: Add DEXCR prctl interface 2024-10-04 01:55:31 -04:00
psample.h net: psample: allow using rate as probability 2024-07-09 16:31:43 +02:00
psci.h firmware/psci: Add definitions for PSCI v1.3 specification 2025-04-10 08:35:32 -04:00
psp-dbc.h
psp-sev.h crypto: ccp - Fix uAPI definitions of PSP errors 2025-04-04 19:45:17 +02:00
ptp_clock.h
ptrace.h
qemu_fw_cfg.h
qnx4_fs.h
qnxtypes.h
qrtr.h
quota.h shmem: prepare shmem quota infrastructure 2024-07-17 07:49:46 +02:00
radeonfb.h
random.h
rds.h
reboot.h
reiserfs_fs.h
reiserfs_xattr.h
remoteproc_cdev.h
resource.h
rfkill.h
rio_cm_cdev.h
rio_mport_cdev.h
rkisp1-config.h
romfs_fs.h
rose.h
route.h
rpl.h
rpl_iptunnel.h
rpmsg.h
rpmsg_types.h
rseq.h
rtc.h
rtnetlink.h netlink: typographical error in nlmsg_type constants definition 2025-01-08 16:16:17 +00:00
rxrpc.h
scc.h
sched.h
scif_ioctl.h
screen_info.h
sctp.h
seccomp.h
securebits.h
sed-opal.h block: sed-opal: add ioctl IOC_OPAL_SET_SID_PW 2024-12-09 16:15:56 +08:00
seg6.h
seg6_genl.h
seg6_hmac.h
seg6_iptunnel.h
seg6_local.h
selinux_netlink.h
sem.h
serial.h
serial_core.h
serial_reg.h
serio.h media: input: serio.h: add SERIO_EXTRON_DA_HD_PLUS 2024-12-13 11:26:38 -03:00
sev-guest.h KVM: SEV: Provide support for SNP_GUEST_REQUEST NAE event 2024-11-14 12:01:21 -05:00
shm.h
signal.h
signalfd.h
smc.h net/smc: support extended GID in SMC-D lgr netlink attribute 2025-05-16 17:35:42 +02:00
smc_diag.h net/smc: support extended GID in SMC-D lgr netlink attribute 2025-05-16 17:35:42 +02:00
smiapp.h
snmp.h tcp: add LINUX_MIB_PAWS_TW_REJECTED counter 2025-06-19 11:22:09 +02:00
sock_diag.h
socket.h
sockios.h
sonet.h
sonypi.h
sound.h
soundcard.h
stat.h fs: Add initial atomic write support info to statx 2024-09-27 11:19:09 +08:00
stddef.h uapi: stddef.h: Provide UAPI macros for __counted_by_{le, be} 2024-11-23 10:41:44 +01:00
stm.h
string.h
suspend_ioctls.h
swab.h
switchtec_ioctl.h
sync_file.h
synclink.h
sysctl.h
sysinfo.h
target_core_user.h
taskstats.h delayacct: track delays from IRQ/SOFTIRQ 2024-07-15 11:12:08 -04:00
tcp.h
tcp_metrics.h tcp_metrics: add netlink protocol spec in YAML 2024-12-10 10:37:55 +01:00
tdx-guest.h
tee.h
termios.h
thermal.h
time.h
time_types.h
timerfd.h
times.h
timex.h
tiocl.h
tipc.h
tipc_config.h
tipc_netlink.h
tipc_sockets_diag.h
tls.h
toshiba.h
tps6594_pfsm.h misc: tps6594-pfsm: Add driver for TI TPS6594 PFSM 2024-07-25 01:07:35 -04:00
tty.h
tty_flags.h
types.h
udf_fs_i.h
udmabuf.h
udp.h
uhid.h
uinput.h
uio.h
uleds.h
ultrasound.h
um_timetravel.h
un.h
unistd.h
unix_diag.h
usbdevice_fs.h
usbip.h usbip: add USBIP_URB_* URB transfer flags 2024-11-13 11:16:41 +01:00
userfaultfd.h mm: userfaultfd: document and enable new UFFDIO_POISON feature 2024-10-01 11:18:07 -04:00
userio.h
utime.h
utsname.h
uuid.h mei: Move uuid.h to the MEI namespace 2025-02-03 09:49:58 -05:00
uvcvideo.h
v4l2-common.h headers: Remove some left-over license text in include/uapi/linux/v4l2-* 2024-11-27 09:40:32 +08:00
v4l2-controls.h media: v4l2-ctrls: Add average QP control 2024-11-27 09:40:54 +08:00
v4l2-dv-timings.h headers: Remove some left-over license text in include/uapi/linux/v4l2-* 2024-11-27 09:40:32 +08:00
v4l2-mediabus.h media: uapi: Document which mbus format fields are valid for metadata 2024-11-27 09:40:51 +08:00
v4l2-subdev.h media: v4l: subdev: Add len_routes field to struct v4l2_subdev_routing 2024-11-27 09:40:52 +08:00
vbox_err.h
vbox_vmmdev_types.h
vboxguest.h
vdpa.h
vduse.h
veth.h
vfio.h vfio: Remove VFIO_TYPE1_NESTING_IOMMU 2025-04-03 09:22:57 -07:00
vfio_ccw.h
vfio_zdev.h
vhost.h
vhost_types.h
videodev2.h media: v4l: Add luma 16-bit interlaced pixel format 2025-03-19 16:21:52 -03:00
virtio_9p.h
virtio_balloon.h
virtio_blk.h
virtio_bt.h Bluetooth: HCI: Remove HCI_AMP support 2024-08-19 13:48:20 +02:00
virtio_config.h
virtio_console.h
virtio_crypto.h
virtio_fs.h
virtio_gpio.h
virtio_gpu.h Merge DRM changes from upstream v6.11..v6.12 2025-01-10 10:39:42 +01:00
virtio_i2c.h
virtio_ids.h
virtio_input.h
virtio_iommu.h
virtio_mem.h
virtio_mmio.h
virtio_net.h
virtio_pci.h
virtio_pcidev.h
virtio_pmem.h
virtio_ring.h
virtio_rng.h
virtio_scmi.h
virtio_scsi.h
virtio_snd.h ALSA: virtio: add support for audio controls 2024-07-08 20:54:45 +02:00
virtio_types.h
virtio_vsock.h
vm_sockets.h
vm_sockets_diag.h
vmcore.h
vsockmon.h
vt.h
vtpm_proxy.h
wait.h
watch_queue.h
watchdog.h
wireguard.h
wireless.h
wmi.h
wwan.h
x25.h
xattr.h
xdp_diag.h
xfrm.h
xilinx-v4l2-controls.h
zorro.h
zorro_ids.h