sys: Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
vmxnet3: add support for RSS kernel optionWe observe at least one problem: if a UDP socket is connect(2)-ed, then areceived packet that matches the connection cannot be matched to thecorrespondin
vmxnet3: add support for RSS kernel optionWe observe at least one problem: if a UDP socket is connect(2)-ed, then areceived packet that matches the connection cannot be matched to thecorresponding PCB because of an incorrect flow ID. That was oberved for DNSrequests from the libc resolver. We got this problem because FreeBSDr343291 enabled code that can set rsstype of received packets to valuesother than M_HASHTYPE_OPAQUE_HASH. Earlier that code was under 'ifdefnotyet'.The essence of this change is to use the system-wide RSS key instead ofsome historic hardcoded key when the software RSS is enabled and it isconfigured to use Toeplitz algorithm (the default).In all other cases, the driver reports the opaque hash type for receivedpackets while still using Toeplitz algorithm with the internal key.PR: 242890Reviewed by: pkelseySponsored by: PanzuraDifferential Revision: https://reviews.freebsd.org/D23147
show more ...
Add missing dependency to vmxnet3 Makefile and clean it up a bit otherwise.MFC after: 1 week
sys/modules: normalize .CURDIR-relative paths to SRCTOPThis simplifies make output/logicTested with: `cd sys/modules; make ALL_MODULES=` on amd64MFC after: 1 monthSponsored by: Dell EMC Isilon
Move most of the 15 variations on generating opt_inet.h andopt_inet6.h into kmod.mk by forcing almost everybody to eat the samedogfood. While at it, consolidate the opt_bpf.h and opt_mroute.htarge
Move most of the 15 variations on generating opt_inet.h andopt_inet6.h into kmod.mk by forcing almost everybody to eat the samedogfood. While at it, consolidate the opt_bpf.h and opt_mroute.htargets here too.
Use src.opts.mk in preference to bsd.own.mk except where we need stufffrom the latter.
Add Tx/Rx multiqueue support to vmx(4)As a prerequisite for multiple queues, the guest must have MSIX enabled.Unfortunately, to work around device passthrough bugs, FreeBSD disablesMSIX when runn
Add Tx/Rx multiqueue support to vmx(4)As a prerequisite for multiple queues, the guest must have MSIX enabled.Unfortunately, to work around device passthrough bugs, FreeBSD disablesMSIX when running as a VMWare guest due to the hw.pci.honor_msi_blacklisttunable; this tunable must be disabled for multiple queues.Also included is various minor changes from the projects/vmxnet branch.MFC after: 1 month
Include bsd.own.mk before trying to check MK_* values.
Add vmx(4), a VMware VMXNET3 ethernet driver ported from OpenBSD