opnsense-src/sys/dev
Hans Petter Selasky 823bcb3a13 mlx5: Add raw ethernet local loopback support.
Currently, unicast/multicast loopback raw ethernet (non-RDMA) packets
are sent back to the vport.  A unicast loopback packet is the packet
with destination MAC address the same as the source MAC address.  For
multicast, the destination MAC address is in the vport's multicast
filter list.

Moreover, the local loopback is not needed if there is one or none
user space context.

After this patch, the raw ethernet unicast and multicast local
loopback are disabled by default. When there is more than one user
space context, the local loopback is enabled.

Note that when local loopback is disabled, raw ethernet packets are
not looped back to the vport and are forwarded to the next routing
level (eswitch, or multihost switch, or out to the wire depending on
the configuration).

Linux commits:
c85023e153e3824661d07307138fdeff41f6d86a
8978cc921fc7fad3f4d6f91f1da01352aeeeff25

Sponsored by:	NVIDIA Networking

(cherry picked from commit ea00d7e8ca)
2022-02-08 16:08:54 +01:00
..
aac
aacraid
acpi_support acpi_support: Remove CTLFLAG_NEEDGIANT from sysctls. 2022-01-09 19:30:14 -05:00
acpica Make CPU_SET macros compliant with other implementations 2022-01-14 18:17:30 +02:00
adb
adlink
ae
age
agp
ahci ahci(4): Allow enclosure emulation without hardware. 2021-12-23 20:05:10 -05:00
aic7xxx ahc: Mark sysctls with CTLFLAG_MPSAFE. 2021-12-23 20:05:13 -05:00
al_eth
alc
ale
alpm
altera
amd_ecc_inject
amdgpio
amdpm
amdsbwd amdsbwd: always enable watchdog register decoding 2021-12-27 13:37:29 +02:00
amdsmb
amdsmn
amdtemp amdtemp: Remove CTLFLAG_NEEDGIANT from sysctls. 2022-01-08 20:24:07 -05:00
amr Update deprecation version for drivers removed in main 2021-11-25 11:54:12 -05:00
an
arcmsr sys/dev/arcmsr: Update Areca RAID driver to fix some issues on ARC-1886. 2021-12-26 22:54:48 -08:00
asmc
ata
ath
atkbdc atkbd: Reduce polling rate from 10Hz to ~1Hz. 2022-02-03 19:55:44 -05:00
axgbe
backlight
bce bce(4): Fix a typo in a sysctl description 2021-12-05 10:07:52 +01:00
beri
bfe
bge
bhnd
bnxt bnxt(4): Mark sysctls MP-safe. 2021-10-03 21:10:43 -04:00
bwi
bwn
bxe bxe: tag files to skip clang-format formatting 2021-12-12 17:18:31 -05:00
cadence cgem: Add support for the SiFive FU740 2021-09-07 13:06:45 +01:00
cardbus
cas
ce Fix a few typos in source code comments 2021-08-19 09:27:34 +02:00
cesa
cfe
cfi
chromebook_platform
ciss ciss(4): Fix typo. 2021-10-19 11:12:33 -04:00
coretemp Make CPU children explicitly share parent unit numbers. 2022-01-04 12:21:42 -05:00
cp
cpuctl
cpufreq Make CPU children explicitly share parent unit numbers. 2022-01-04 12:21:42 -05:00
cxgb Fix typo on "Celsius" 2021-12-06 08:55:55 -07:00
cxgbe Move the ICL_CONN_*LOCK* macros to <dev/iscsi/icl.h>. 2021-11-23 15:11:53 -08:00
cyapa cyapa(4): Adapt to recent evdev KPI changes 2021-09-22 02:36:40 +03:00
dc
dcons
dme
dpaa
dpms
drm2 Convert consumers to vm_page_alloc_noobj_contig() 2021-11-03 13:41:40 -04:00
dwc
dwwdt dwwdt: make it actually useful 2022-02-01 10:11:26 +02:00
e1000 net: iflib: fix vlan processing in the drivers 2022-01-27 22:39:09 +00:00
efidev
ena Upgrade ENA to v2.4.1 2021-10-07 18:10:32 +02:00
esp Update deprecation version for drivers removed in main 2021-11-25 11:54:12 -05:00
et
etherswitch
evdev evdev: Add parentheses around '-' expression in operand of '&'. 2021-12-01 00:45:30 +03:00
exca
extres extres/clk: Add a method to detect the HW state of the clock gate. 2022-01-20 11:14:22 +01:00
fb fb: Remove some unused ioctls 2021-12-21 10:21:26 +01:00
fdc
fdt simple_mfd: switch to controllable locking for syscon provider. 2022-01-20 11:34:28 +01:00
ffec
filemon
firewire firewire(4): Fix a typo in a source code comment 2021-11-28 12:42:33 +01:00
flash mx25l: Add support for Integrated Silicon Solution is25wp256 2021-09-07 13:08:20 +01:00
ftwd
fxp fxp: Mark sysctls with CTLFLAG_MPSAFE. 2021-12-23 20:03:09 -05:00
gem
glxiic
glxsb
goldfish
gpio gpioled: allow the driver to be disabled via fdt 2021-11-13 11:12:36 +02:00
gxemul
hdmi
hid hpen(4): removed leftover hpen_final_digi_cb declaration 2021-10-07 10:00:13 -04:00
hifn
hpt27xx hpt27xx: Remove FreeBSD 9.x support including Giant. 2021-12-23 20:05:21 -05:00
hptiop hptiop: Remove Giant locking around ioctls. 2021-12-23 20:05:03 -05:00
hptmv
hptnr
hptrr
hwpmc hwpmc(4): Fix a typo in a sysctl description 2022-01-29 09:44:47 +01:00
hyperv Hyper-V: hn: Enter network epoch when required 2021-12-10 11:50:01 +01:00
ic
ice net: iflib: fix vlan processing in the drivers 2022-01-27 22:39:09 +00:00
ichiic ig4: Add PCI IDs for Intel Alder Lake I2C controller. 2021-12-08 20:37:28 -05:00
ichsmb ichsmb: Add PCI IDs for Intel Alder Lake SMBus controller 2021-12-07 23:08:51 -05:00
ichwd
ida
if_ndis
igc igc: Remove redundant IFCAP_VLAN_HWTAGGING check 2022-01-30 13:40:02 -07:00
iicbus twsi: use twsi_error() to handle wrong bus status when starting 2021-12-26 12:15:18 +02:00
iir Update deprecation version for drivers removed in main 2021-11-25 11:54:12 -05:00
imcsmb
intel
intpm
io
ioat ioat(4): Remove Giant from ioat_test enable/disable. 2021-10-03 21:14:25 -04:00
iommu DMAR: clean up warnings about write-only variables 2021-10-27 03:24:40 +03:00
ipmi ipmi(4): Limit maximum watchdog pre-timeout interval. 2021-09-28 20:43:18 -04:00
ips
ipw
isci iscsi(4): Fix a typo in a source code comment 2021-11-28 12:41:52 +01:00
iscsi iscsi: Fix missing is_lock unlock after cam_simq_alloc() failed 2022-01-25 01:02:33 -05:00
iscsi_initiator
iser iser: Remove redundant linuxkpi MODULE_DEPEND 2021-11-24 15:17:26 -05:00
isl
ismt
isp isp(4): Allow more than 2 ports to read WWNs from NVRAM. 2021-12-20 20:06:32 -05:00
ispfw
itwd
iwi
iwm net80211/drivers: improve ieee80211_rx_stats for band 2021-11-19 00:01:25 +00:00
iwn
ixgbe net: iflib: fix vlan processing in the drivers 2022-01-27 22:39:09 +00:00
ixl net: iflib: fix vlan processing in the drivers 2022-01-27 22:39:09 +00:00
jedec_dimm
jme
kbd
kbdmux kbdmux(4): Make callout handler mpsafe. 2021-08-21 20:27:25 -04:00
ksyms
kvm_clock kvm_clock: KVM paravirtual clock support 2021-10-10 12:21:16 +03:00
le
led
lge
liquidio Fix some common typos in source code comments 2021-08-19 09:28:06 +02:00
malo
mbox
md md: Clamp to a multiple of the sector size when resizing 2021-09-07 09:36:19 -04:00
mdio
mem
mfi
mgb mgb: sync with version in main 2021-10-05 14:57:21 -04:00
mge mge(4): Mark sysctls and callout MP-safe. 2021-10-03 21:09:24 -04:00
mii mii: update URL for OUIs 2021-11-19 00:01:27 +00:00
mlx sysbeep: Adjust interface to take a duration as a sbt 2021-11-18 21:52:22 -07:00
mlx4 mlx4: rename conflicting netdev_priv() to mlx4_netdev_priv() 2021-11-19 00:01:26 +00:00
mlx5 mlx5: Add raw ethernet local loopback support. 2022-02-08 16:08:54 +01:00
mlxfw
mly Update deprecation version for drivers removed in main 2021-11-25 11:54:12 -05:00
mmc mmc_da: implement d_dump method, sddadump 2022-01-26 09:27:21 +02:00
mmcnull
mn
mpr mps/mpr: Relax doorbell polling precision. 2022-01-23 14:57:35 -05:00
mps mps/mpr: Relax doorbell polling precision. 2022-01-23 14:57:35 -05:00
mpt Mark some sysctls as CTLFLAG_MPSAFE. 2021-08-24 21:53:18 -04:00
mrsas mrsas(4): Report more correct maximum I/O size. 2021-08-02 11:56:10 -04:00
msk
mthca
mvs
mwl
mxge
my
nctgpio
neta mvneta: Unconditionally print an error message if mii_attach() fails 2022-01-11 09:28:33 -05:00
netfpga10g/nf10bmac
netmap netmap: monitor: add a flag to distinguish packet direction 2021-09-26 14:00:04 +00:00
nfe
nfsmb
nge Fix a common typo in man pages and src comments 2021-09-02 08:13:48 +02:00
nmdm
ntb ntb_hw_intel: fix xeon NTB gen3 bar disable logic 2021-10-04 06:53:26 -07:00
null
nvd nvd: For AHCI attached devices, report ahci bridge 2022-01-21 13:49:57 -05:00
nvdimm
nvme nvme: Do not rearm timeout for commands without one. 2022-01-20 21:07:31 -05:00
nvram
nvram2env
oce Fix some common typos in source code comments 2021-08-31 08:13:15 +02:00
ocs_fc ocs_fc: Populate subvendor and subdevice ids. 2021-12-24 14:28:15 +05:30
ofw Fix error value returned by ofw_bus_gen_get_node(). 2022-01-20 11:00:55 +01:00
otus
ow
pbio
pccard
pccbb pccbb: Remove Giant mention in comments. 2022-01-08 20:24:13 -05:00
pcf
pci pci_dw_mv: Don't enable unhandled interrupts. 2022-01-20 11:35:51 +01:00
pms Fix some common typos in source code comments 2021-08-19 09:28:06 +02:00
powermac_nvram
ppbus ppbus(4): Fix a typo in source code comment 2021-11-28 12:43:11 +01:00
ppc
proto
psci
pst
pty
puc
pwm
qat qat: Address -Wunused-but-set-variable warnings 2021-12-26 19:15:14 -05:00
qlnx Fix typo on "Celsius" 2021-12-06 08:55:55 -07:00
qlxgb
qlxgbe
qlxge
quicc
ral
random randomdev: Remove 100 ms sleep from write routine 2021-12-05 10:27:01 -08:00
rccgpio
re
rl
rndtest
rt
rtsx rtsx: Call taskqueue sooner, adjust DELAY(9) calls, add an inversion heuristic 2021-09-16 09:49:21 -04:00
rtwn rtwn/usb: add product ID for Asus USB N10 Nano Rev. B1 2021-12-13 08:35:49 +02:00
safe
safexcel safexcel: Fix -Wunused-but-set-variable warnings 2021-12-01 07:40:49 -05:00
sbni
scc
sdhci sdhci: fix dumping support in MMCCAM configuration 2022-02-02 08:51:13 +02:00
sdio
sec crypto: Add a new type of crypto buffer for a single mbuf. 2021-10-21 08:51:26 -07:00
sfxge Fix a common typo in source code comments 2021-09-07 09:24:05 +02:00
sge
siis
sis
sk Fix a common typo in man pages and src comments 2021-09-02 08:13:48 +02:00
smartpqi
smbus
smc
snp
sound sound: Remove CTLFLAG_NEEDGIANT from some sysctls. 2022-01-09 19:29:59 -05:00
speaker
spibus
ste
stge
sume
superio
sym
syscons fb: Remove unused cursors ioctls 2021-12-21 10:21:16 +01:00
tcp_log
tdfx
terasic
ti Convert vm_page_alloc() callers to use vm_page_alloc_noobj(). 2021-11-03 13:39:36 -04:00
tpm
tsec
twa Update deprecation version for drivers removed in main 2021-11-25 11:54:12 -05:00
twe
tws
uart uart: Remove CTLFLAG_NEEDGIANT from sysctl. 2022-01-08 20:24:01 -05:00
usb USB dwc3 controller: add quirk snps,dis_rxdet_inp3_quirk 2021-12-29 16:02:51 +00:00
veriexec
vge
viapm
viawd
videomode modules: increase MAXMODNAME and provide backward compat 2021-12-30 18:26:18 +00:00
virtio Convert vm_page_alloc() callers to use vm_page_alloc_noobj(). 2021-11-03 13:39:36 -04:00
vkbd
vmd Missed line from 7af4475a6e. 2021-09-12 18:44:13 -04:00
vmgenc
vmware vmxnet3: skip zero-length descriptor in the middle of a packet 2021-12-27 13:37:12 +02:00
vnic vnic: Fix a typo in a comment 2021-10-06 08:20:41 +02:00
vr Fix a common typo in man pages and src comments 2021-09-02 08:13:48 +02:00
vt vt: Use a taskqueue to clear splash_cpu logos 2022-01-28 10:28:30 -05:00
vte
watchdog
wbwd wbwd: Mark sysctls with CTLFLAG_MPSAFE. 2021-12-23 20:05:06 -05:00
wpi wpi: Fix a lock leak in an error path in wpi_run() 2021-09-17 09:13:44 -04:00
wtap
xdma xdma: Fix another -Wunused-but-set-variable warning previously missed 2022-01-24 23:59:38 +00:00
xen xen/blkfront: Remove CTLFLAG_NEEDGIANT from sysctl. 2022-01-02 16:39:28 -05:00
xilinx
xl
xz
zlib