sys: Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
None of these use opt_sched.h
Retire the T3 iWARP and TOE drivers. This saves catch-up work when OFED orother kernel infrastructure changes.Note that this doesn't affect the base cxgb(4) NIC driver for T3 at all.MFC after:
Retire the T3 iWARP and TOE drivers. This saves catch-up work when OFED orother kernel infrastructure changes.Note that this doesn't affect the base cxgb(4) NIC driver for T3 at all.MFC after: No MFC.Sponsored by: Chelsio Communications
show more ...
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
Finish process of moving the LinuxKPI module into the default kernel build.- Move all files related to the LinuxKPI into sys/compat/linuxkpi and its subfolders.- Update sys/conf/files and some M
Finish process of moving the LinuxKPI module into the default kernel build.- Move all files related to the LinuxKPI into sys/compat/linuxkpi and its subfolders.- Update sys/conf/files and some Makefiles to use new file locations.- Added description of COMPAT_LINUXKPI to sys/conf/NOTES which in turn adds the LinuxKPI to all LINT builds.- The LinuxKPI can be added to the kernel by setting the COMPAT_LINUXKPI option. The OFED kernel option no longer builds the LinuxKPI into the kernel. This was done to keep the build rules for the LinuxKPI in sys/conf/files simple.- Extend the LinuxKPI module to include support for USB by moving the Linux USB compat from usb.ko to linuxkpi.ko.- Bump the FreeBSD_version.- A universe kernel build has been done.Reviewed by: np @ (cxgb and cxgbe related changes only)Sponsored by: Mellanox Technologies
opt_global.h is never needed in SRCS lists.Sponsored by: Netflix
Remove dependence on source tree options. Move all kernel moduleoptions into kern.opts.mk and change all the places where we usesrc.opts.mk to pull in the options. Conditionally define SYSDIR andu
Remove dependence on source tree options. Move all kernel moduleoptions into kern.opts.mk and change all the places where we usesrc.opts.mk to pull in the options. Conditionally define SYSDIR anduse SYSDIR/conf/kern.opts.mk instead of a CURDIR path. Replace allinstances of CURDIR/../../etc with STSDIR, but only in the affectedfiles.As a special compatibility hack, include bsd.owm.mk at the top ofkern.opts.mk to allow the bare build of sys/modules to work on oldersystems. If the defaults ever change between 9.x, 10.x and current forthese options, however, you'll wind up with the host OS' defaultsrather than the -current defaults. This hack will be removed whenwe no longer need to support this build scenario.Reviewed by: jhbDifferential Revision: https://phabric.freebsd.org/D529
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.
Don't build krping.ko, iw_cxgb.ko, and iw_cxgbe.ko, if MK_OFED=no(the default). They build, but are unloadable, due to missing ibcore.ko.Sponsored by: FreeBSD Foundation
Remove zero-copy sockets code. It only worked for anonymous memory,and the equivalent functionality is now provided by sendfile(2) overposix shared memory filedescriptor.Remove the cow member of
Remove zero-copy sockets code. It only worked for anonymous memory,and the equivalent functionality is now provided by sendfile(2) overposix shared memory filedescriptor.Remove the cow member of struct vm_page, and rearrange the remainingmembers. While there, make hold_count unsigned.Requested and reviewed by: alcTested by: phoSponsored by: The FreeBSD FoundationApproved by: re (delphij)
- Updated TOE support in the kernel.- Stateful TCP offload drivers for Terminator 3 and 4 (T3 and T4) ASICs. These are available as t3_tom and t4_tom modules that augment cxgb(4) and cxgbe(4) r
- Updated TOE support in the kernel.- Stateful TCP offload drivers for Terminator 3 and 4 (T3 and T4) ASICs. These are available as t3_tom and t4_tom modules that augment cxgb(4) and cxgbe(4) respectively. The cxgb/cxgbe drivers continue to work as usual with or without these extra features.- iWARP driver for Terminator 3 ASIC (kernel verbs). T4 iWARP in the works and will follow soon.Build-tested with make universe.30s overview============What interfaces support TCP offload? Look for TOE4 and/or TOE6 in thecapabilities of an interface:# ifconfig -m | grep TOEEnable/disable TCP offload on an interface (just like any other ifnetcapability):# ifconfig cxgbe0 toe# ifconfig cxgbe0 -toeWhich connections are offloaded? Look for toe4 and/or toe6 in theoutput of netstat and sockstat:# netstat -np tcp | grep toe# sockstat -46c | grep toeReviewed by: bz, gnnSponsored by: Chelsio communications.MFC after: ~3 months (after 9.1, and after ensuring MFC is feasible)
Unbreak make depend.
MFp4 bz_ipv6_fast: Allow LRO to work on IPv6 as well. Fix the module Makefile to at least properly inlcude opt_inet6.h and allow builds without INET or INET6. Sponsored by: The FreeBSD Foun
MFp4 bz_ipv6_fast: Allow LRO to work on IPv6 as well. Fix the module Makefile to at least properly inlcude opt_inet6.h and allow builds without INET or INET6. Sponsored by: The FreeBSD Foundation Sponsored by: iXsystemsReviewed by: gnn (as part of the whole)MFC After: 3 days
MFtbemd:Use MACHINE_CPUARCH in preference to MACHINE_ARCH. The former is thesource code location of the machine, the latter the binary output. Ingeneral, we want to use MACHINE_CPUARCH instead
MFtbemd:Use MACHINE_CPUARCH in preference to MACHINE_ARCH. The former is thesource code location of the machine, the latter the binary output. Ingeneral, we want to use MACHINE_CPUARCH instead of MACHINE_ARCH unlesswe're tesitng for a specific target. The isn't even moot fori386/amd64 where there's momemntum towards a MACHINE_CPUARCH == x86,although a specific cleanup for that likely would be needed...
There is no need to test __FreeBSD_version for features that havebeen around for a long time now (7.1-ish or even earlier); assumethey are present. These includes MSI, TSO, LRO, VLAN, INTR_FILTERS
There is no need to test __FreeBSD_version for features that havebeen around for a long time now (7.1-ish or even earlier); assumethey are present. These includes MSI, TSO, LRO, VLAN, INTR_FILTERS,FIRMWARE, etc.Also, eliminate some dead code and clean up in other places as partof this quick once-over.MFC after: 1 week
cxgb(4) updates, including:- support for the new Gen-2, BT, and LP-CR cards.- T3 firmware 7.7.0- shared "common code" updates.Approved by: gnn (mentor)Obtained from: ChelsioMFC after: 1 month
Greatly simplify cxgb by removing almost all of the custom mbuf management logic- remove mbuf iovec - useful, but adds too much complexity when isolated to the driver- remove driver private ca
Greatly simplify cxgb by removing almost all of the custom mbuf management logic- remove mbuf iovec - useful, but adds too much complexity when isolated to the driver- remove driver private caching - insufficient benefit over UMA to justify the added complexity and maintenance overhead- remove separate logic for managing multiple transmit queues, with the new drbr routines the control flow can be made to much more closely resemble legacy drivers- remove dedicated service threads, with per-cpu callouts one can get the same benefit much more simply by registering a callout 1 tick in the future if there are still buffered packets- remove embedded mbuf usage - Jeffr's changes will (I hope) soon be integrated greatly reducing the overhead of using kernel APIs for reference counting clusters- add hysteresis to descriptor coalescing logic- add coalesce threshold sysctls to allow users to decide at run-time between optimizing for forwarding / UDP or optimizing for TCP- add once per second watchdog to effectively close the very rare races occurring from coalescing- incorporate Navdeep's changes to the initialization path required to convert port and adapter locks back to ordinary mutexes (silencing BPF LOR complaints)- enable prefetches in get_packet and tx cleaningReviewed by: navdeep@MFC after: 2 weeks
After r193232 rt_tables in vnet.h are no longer indirectly dependent onthe ROUTETABLES kernel option thus there is no need to include opt_route.hanymore in all consumers of vnet.h and no longer dep
After r193232 rt_tables in vnet.h are no longer indirectly dependent onthe ROUTETABLES kernel option thus there is no need to include opt_route.hanymore in all consumers of vnet.h and no longer depend on it for modulebuilds.Remove the hidden include in flowtable.h as well and leave the twoexplicit #includes in ip_input.c and ip_output.c.
Remove opt_mac.h generation for various kernel modules that no longerrequire it.Submitted by: pjd
This main goals of this project are:1. separating L2 tables (ARP, NDP) from the L3 routing tables2. removing as much locking dependencies among these layers as possible to allow for some paralle
This main goals of this project are:1. separating L2 tables (ARP, NDP) from the L3 routing tables2. removing as much locking dependencies among these layers as possible to allow for some parallelism in the search operations3. simplify the logic in the routing code,The most notable end result is the obsolescent of the routecloning (RTF_CLONING) concept, which translated into code reductionin both IPv4 ARP and IPv6 NDP related modules, and size reduction instruct rtentry{}. The change in design obsoletes the semantics ofRTF_CLONING, RTF_WASCLONE and RTF_LLINFO routing flags. The userlandapplications such as "arp" and "ndp" have been modified to reflectthose changes. The output from "netstat -r" shows only the routingentries.Quite a few developers have contributed to this project in thepast: Glebius Smirnoff, Luigi Rizzo, Alessandro Cerri, andAndre Oppermann. And most recently:- Kip Macy revised the locking code completely, thus completing the last piece of the puzzle, Kip has also been conducting active functional testing- Sam Leffler has helped me improving/refactoring the code, and provided valuable reviews- Julian Elischer setup the perforce tree for me and has helped me maintaining that branch before the svn conversion
Rather than using hidden includes (with cicular dependencies),directly include only the header files needed. This reduces theunneeded spamming of various headers into lots of files.For now, this
Rather than using hidden includes (with cicular dependencies),directly include only the header files needed. This reduces theunneeded spamming of various headers into lots of files.For now, this leaves us with very few modules including vnet.hand thus needing to depend on opt_route.h.Reviewed by: brooks, gnn, des, zec, impSponsored by: The FreeBSD Foundation
Fix worldApproved by: kmacy
Add opt_inet.h which has been needed since r184714, r184715 introducingchecks for #ifdef INET.Submitted by: kmacy (r184876, I splitted lines)MFC after: 54 days
- Remove default NIC dependency on ulp headers- make toe module build dependent on kernel supportSubmitted by: Chelsio Inc.MFC after: 1 week
123