1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-30 08:19:09 +00:00
freebsd/sys/dev
Andriy Gapon 281cab4d9e vmxnet3: add support for RSS kernel option
We observe at least one problem: if a UDP socket is connect(2)-ed, then a
received packet that matches the connection cannot be matched to the
corresponding PCB because of an incorrect flow ID.  That was oberved for DNS
requests from the libc resolver.  We got this problem because FreeBSD
r343291 enabled code that can set rsstype of received packets to values
other than M_HASHTYPE_OPAQUE_HASH.  Earlier that code was under 'ifdef
notyet'.

The essence of this change is to use the system-wide RSS key instead of
some historic hardcoded key when the software RSS is enabled and it is
configured to use Toeplitz algorithm (the default).
In all other cases, the driver reports the opaque hash type for received
packets while still using Toeplitz algorithm with the internal key.

PR:		242890
Reviewed by:	pkelsey
Sponsored by:	Panzura
Differential Revision: https://reviews.freebsd.org/D23147
2020-01-23 11:05:03 +00:00
..
aac Don't need giant for these drivers dev nodes. 2019-11-24 15:37:19 +00:00
aacraid Remove ifdefs for FreeBSD 6, 7, 8 and 9. Assume we're past that. 2019-12-06 21:50:24 +00:00
acpi_support acpi_ibm: reference ThinkPad instead of IBM 2020-01-15 19:43:45 +00:00
acpica Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
adb Revert r355806: kbd drivers: don't double register keyboard drivers 2019-12-26 17:09:36 +00:00
adlink
ae
age
agp
ahci Use a void * argument to callout handlers instead of timeout_t casts. 2019-12-05 18:47:29 +00:00
aic7xxx Fix trivial whitespace issue that is tripping -Wmisleading-indentation 2019-12-24 22:27:06 +00:00
al_eth
alc
ale
alpm
altera Introduce flag IFF_NEEDSEPOCH that marks Ethernet interfaces that 2020-01-23 01:41:09 +00:00
amd_ecc_inject
amdgpio
amdpm
amdsbwd
amdsmb
amdsmn
amdtemp
amr
an an(4): Require privileges for all SIOCGAIRONET requests. 2019-12-17 21:34:38 +00:00
arcmsr
asmc
ata Avoid a tautological bitwise compare. 2019-12-17 00:10:19 +00:00
ath
atkbdc psm: properly check for atkbdc_open failure 2019-12-31 13:56:48 +00:00
auxio
axgbe
bce
beri Introduce flag IFF_NEEDSEPOCH that marks Ethernet interfaces that 2020-01-23 01:41:09 +00:00
bfe
bge
bhnd
bktr
bnxt
bvm
bwi
bwn Fix a logic bug when "mask" contains a ?: operator. 2019-11-27 20:00:44 +00:00
bxe
cadence
cardbus Regularize my copyright notice 2019-12-04 16:56:11 +00:00
cas
ce
cesa
cfe sys/dev/cfi: include sys/types.h as well 2020-01-02 22:52:31 +00:00
cfi cfi: #include <limits.h> for ULONG_MAX after r355101 2019-11-26 02:26:34 +00:00
chromebook_platform [ig4] Give common name to PCI and ACPI device drivers 2019-11-03 20:39:46 +00:00
ciss
cmx
coretemp
cp
cpuctl TSX Asynchronous Abort mitigation for Intel CVE-2019-11135. 2019-11-16 00:26:42 +00:00
cpufreq cpufreq_dt: Do not fetch again hw.ncpu 2019-12-03 22:26:55 +00:00
ctau ctau.c: convert from KOI8-R to UTF-8 encoding 2019-12-03 16:52:03 +00:00
cx
cxgb
cxgbe cxgbe/iw_cxgbe: Do not allow memory registrations with page size greater 2020-01-14 01:43:04 +00:00
cy
cyapa [cyapa] Postpone start of the polling thread until sleep is available 2019-11-03 20:55:28 +00:00
dc
dcons
dme
dpaa Introduce flag IFF_NEEDSEPOCH that marks Ethernet interfaces that 2020-01-23 01:41:09 +00:00
dpms
drm2 Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
dwc
e1000 Add support for latest Intel I219 device, supported in Lenovo Carbon X1 v7 2020-01-20 12:53:02 +00:00
efidev
ena Make valdiate_rx_req_id static inline because it uses other static 2019-11-02 02:05:09 +00:00
esp
et
etherswitch Fix panic when running etherswitchcfg port command. 2019-12-25 11:26:38 +00:00
evdev
exca Move attachment of pccard children into exca library. Attach the 2019-12-16 21:35:02 +00:00
extres regulator_fixed: Add a get_voltage method 2020-01-16 20:52:26 +00:00
fb Stop the VESA driver from whining loudly in the dmesg during boot on 2019-11-13 15:31:31 +00:00
fdc Regularize my copyright notice 2019-12-04 16:56:11 +00:00
fdt fdt_pinctrl: Add new methods for gpios 2020-01-16 21:19:27 +00:00
ffec
filemon
firewire
flash zilinx/zy7_qspi: Add a qspi driver for Zynq platforms. 2020-01-19 20:04:44 +00:00
fxp
gem
glxiic Create new wrapper function: bus_delayed_attach_children() 2019-12-13 19:39:33 +00:00
glxsb
gpio [gpioths] Fix GPIOTHS_DEBUG 2019-12-27 04:11:14 +00:00
gxemul
hdmi Remove "all rights reserved" from copyright for the file that Jared McNeill 2019-12-03 21:05:33 +00:00
hifn
hme
hpt27xx Revert r355021. In my haste to grep for Giant, I missed that it was in 2019-11-26 17:25:49 +00:00
hptiop
hptmv
hptnr
hptrr
hwpmc Add x86 msr tweak KPI. 2019-11-18 20:53:57 +00:00
hyperv Introduce flag IFF_NEEDSEPOCH that marks Ethernet interfaces that 2020-01-23 01:41:09 +00:00
ic
ichiic [ig4] Remove unused methods from bus interface 2019-12-10 20:23:05 +00:00
ichsmb Create new wrapper function: bus_delayed_attach_children() 2019-12-13 19:39:33 +00:00
ichwd
ida
if_ndis Introduce flag IFF_NEEDSEPOCH that marks Ethernet interfaces that 2020-01-23 01:41:09 +00:00
iicbus twsi: Rework how we handle the i2c messages 2020-01-10 18:52:14 +00:00
iir
imcsmb
intel
intpm
io
ioat Don't spin on cleanup_lock if we are not interrupt. 2019-12-31 04:16:52 +00:00
ipmi
ips
ipw
isci
iscsi Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
iscsi_initiator
iser
isl
ismt
isp Use callout_func_t instead of the deprecated timeout_t. 2019-12-10 22:06:53 +00:00
ispfw
itwd
iwi
iwm iwm(4): Remove _mvm from the namespace. 2019-11-27 20:32:53 +00:00
iwn
ixgbe if_ixv: disable RSS configuration on 82599 and X540 VFs 2019-11-05 06:34:20 +00:00
ixl ixl: prevent non-privileged access to NVM update interface 2020-01-02 23:24:57 +00:00
jedec_dimm
jme
kbd kbd: merge linker set drivers into standard kbd driver list 2019-12-26 15:21:34 +00:00
kbdmux kbdmux: simplify modevent handler 2019-12-26 17:25:51 +00:00
ksyms Convert ksyms(4) to use an OBJT_PHYS object. 2019-11-06 17:03:06 +00:00
le
led
lge
liquidio
malo
mbox
mc146818
md Don't hold the object lock while calling getpages. 2020-01-19 23:47:32 +00:00
mdio
mem
mfi
mgb mgb: Correct spello - recieve -> receive 2019-11-06 20:43:40 +00:00
mge
mii mii(4): Fix ivars leak when the bus device or bus children detach. 2019-12-20 20:10:26 +00:00
mk48txx
mlx
mlx4
mlx5 Fix compilation issue with mlx5core and sparc64 (gcc48): 2019-12-06 16:20:22 +00:00
mlxfw
mly
mmc dwmmc: Remove max_hz from the softc 2020-01-16 21:50:53 +00:00
mmcnull
mn
mpr Convert the mpr driver to use busdma templates. 2019-12-24 14:50:17 +00:00
mps mps(4): add missing cam(4) dependency 2020-01-19 22:52:36 +00:00
mpt Use callout_func_t instead of the deprecated timeout_t. 2019-12-10 22:06:53 +00:00
mrsas Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
msk
mthca
mvs Use a void * argument to callout handlers instead of timeout_t casts. 2019-12-05 18:47:29 +00:00
mwl
mxge
my
nctgpio
neta
netfpga10g/nf10bmac
netmap In netmap() call ether_input() within the network epoch. 2020-01-23 01:35:02 +00:00
nfe
nfsmb
nge
nmdm
ntb Introduce flag IFF_NEEDSEPOCH that marks Ethernet interfaces that 2020-01-23 01:41:09 +00:00
null
nvd
nvdimm Use atomic for start_count in devstat_start_transaction(). 2019-12-30 03:13:38 +00:00
nvme Fix copy-paste bug in HMB free code. 2020-01-08 18:26:23 +00:00
nvram
nvram2env
oce random(9): Deprecate random(9), remove meaningless srandom(9) 2019-12-26 19:41:09 +00:00
ocs_fc schedlock 1/4 2019-12-15 21:11:15 +00:00
ofw SPDX: update some tags with two licenses. 2019-12-28 02:58:30 +00:00
otus
ow Update owc_gpiobus (one-wire over gpio) to the modern gpio_pin interface. 2019-12-17 15:56:48 +00:00
pbio
pccard Regularize my copyright notice 2019-12-04 16:56:11 +00:00
pccbb Add back accidentally dropped masking... 2019-12-16 23:08:09 +00:00
pcf
pci Abstract the locking for PCIe hotplug. It still uses Giant so there's 2019-12-26 21:00:06 +00:00
pms
powermac_nvram
ppbus Use callout_func_t instead of the deprecated timeout_t. 2019-12-10 22:06:53 +00:00
ppc
proto
psci
pst
pty
puc Regularize my copyright notice 2019-12-04 16:56:11 +00:00
pwm Remove "all rights reserved" from copyright for the file I own. 2019-12-03 21:00:45 +00:00
qlnx
qlxgb
qlxgbe
qlxge
quicc Remove more needless <sys/tty.h> includes 2019-12-01 20:43:37 +00:00
ral
random vmgenid(4): Integrate as a random(4) source 2020-01-01 00:35:02 +00:00
rc
rccgpio
re
rl
rndtest
rp Remove more needless <sys/tty.h> includes 2019-12-01 20:43:37 +00:00
rt
rtwn
safe
sbni Introduce flag IFF_NEEDSEPOCH that marks Ethernet interfaces that 2020-01-23 01:41:09 +00:00
scc
sdhci Regularize my copyright notice 2019-12-04 16:56:11 +00:00
sdio
sec
sfxge
sge
siis Use a void * argument to callout handlers instead of timeout_t casts. 2019-12-05 18:47:29 +00:00
sis
sk
smartpqi Decrease logging severity when adding a device or reading config table. 2020-01-07 16:07:30 +00:00
smbus
smc Use callout_func_t instead of the deprecated timeout_t. 2019-12-10 22:06:53 +00:00
snp snp: don't reference tp->t_mtx directly 2019-11-29 03:51:01 +00:00
sound Configure headphone redirection for the Dell L780 and X1 Carbon 7th gen. 2019-12-09 19:25:15 +00:00
speaker
spibus Consistently use busy and vm_page_valid() rather than touching page bits 2020-01-23 04:54:49 +00:00
ste
stge
superio
sym
syscons Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
tcp_log
tdfx
terasic terasic_mtl: kill off final dummy keyboard driver 2019-12-23 21:46:48 +00:00
ti
tpm
tsec
twa
twe
tws
uart kbd: provide default implementations of get_fkeystr/diag 2019-12-16 02:44:56 +00:00
ubsec
usb Add new USB ID to uslcom(4). 2020-01-21 22:28:16 +00:00
veriexec vfs: drop the mostly unused flags argument from VOP_UNLOCK 2020-01-03 22:29:58 +00:00
vge
viapm
viawd
videomode
virtio virtio_scsi: use max target ID plus one as the initiator ID 2020-01-23 10:13:56 +00:00
vkbd Revert r355806: kbd drivers: don't double register keyboard drivers 2019-12-26 17:09:36 +00:00
vmd
vmgenc vmgenid(4): Integrate as a random(4) source 2020-01-01 00:35:02 +00:00
vmware vmxnet3: add support for RSS kernel option 2020-01-23 11:05:03 +00:00
vnic vnic: Relax PHY node matching after r336281. 2019-12-18 21:41:53 +00:00
vr
vt Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
vte
watchdog
wbwd
wi Regularize my copyright notice 2019-12-04 16:56:11 +00:00
wpi
wtap
xdma
xen Introduce flag IFF_NEEDSEPOCH that marks Ethernet interfaces that 2020-01-23 01:41:09 +00:00
xilinx
xl
xz
zlib