net: Remove unneeded NULL check for the allocated ifnetChange 4787572d0580 made if_alloc_domain() never fail, then also do thewrappers if_alloc(), if_alloc_dev(), and if_gethandle().No functiona
net: Remove unneeded NULL check for the allocated ifnetChange 4787572d0580 made if_alloc_domain() never fail, then also do thewrappers if_alloc(), if_alloc_dev(), and if_gethandle().No functional change intended.Reviewed by: kp, imp, glebius, stevekMFC after: 2 weeksDifferential Revision: https://reviews.freebsd.org/D45740(cherry picked from commit aa3860851b9f6a6002d135b1cac7736e0995eedc)
show more ...
sys: Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
sys: Remove $FreeBSD$: two-line .h patternRemove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
DrvAPI: Trivial mechanical conversions for various driversMechanically convert the following drivers, with trivial changes:* ipw(4)* igc(4)* enetc(4)* malo(4)* nfe(4)* bxe(4)* awg(4)* otus(
DrvAPI: Trivial mechanical conversions for various driversMechanically convert the following drivers, with trivial changes:* ipw(4)* igc(4)* enetc(4)* malo(4)* nfe(4)* bxe(4)* awg(4)* otus(4)* rtwn(4)* bnxt(4)* ath(4)Sponsored by: Juniper Networks, Inc.
nfe: Remove unused devclass argument to DRIVER_MODULE.
Remove unused miibus_devclass and miibus_fdt_devclass.
nfe: plug set-but-not-unused varsSponsored by: Rubicon Communications, LLC ("Netgate")
nfe: clean up empty lines in .c and .h files
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that arestill not MPSAFE (or already are but aren’t properly mark
Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)r357614 added CTLFLAG_NEEDGIANT to make it easier to find nodes that arestill not MPSAFE (or already are but aren’t properly marked).Use it in preparation for a general review of all nodes.This is non-functional change that adds annotations to SYSCTL_NODE andSYSCTL_PROC nodes using one of the soon-to-be-required flags.Mark all obvious cases as MPSAFE. All entries that haven't been markedas MPSAFE before are by default marked as NEEDGIANTApproved by: kib (mentor, blanket)Commented by: kib, gallatin, melifaroDifferential Revision: https://reviews.freebsd.org/D23718
Use NET_TASK_INIT() and NET_GROUPTASK_INIT() for drivers that processincoming packets in taskqueue context.Reviewed by: hselaskyDifferential Revision: https://reviews.freebsd.org/D23518
Convert to if_foreach_llmaddr() KPI.
Add support for the nForce MCP89 adapter.PR: 234015Submitted by: Andrejs Bogdanovs <[email protected]>MFC after: 1 week
sys/dev: use our nitems() macro when it is avaliable through param.h.No functional change, only trivial cases are done in this sweep,Drivers that can get further enhancements will be done independ
sys/dev: use our nitems() macro when it is avaliable through param.h.No functional change, only trivial cases are done in this sweep,Drivers that can get further enhancements will be done independently.Discussed in: freebsd-current
Cleanup unnecessary semicolons from the kernel.Found with devel/coccinelle.
Remove taskqueue_enqueue_fast().taskqueue_enqueue() was changed to support both fast and non-fasttaskqueues 10 years ago in r154167. It has been a compat shim eversince. It's time for the compa
Remove taskqueue_enqueue_fast().taskqueue_enqueue() was changed to support both fast and non-fasttaskqueues 10 years ago in r154167. It has been a compat shim eversince. It's time for the compat shim to go.Submitted by: Howard Su <[email protected]>Reviewed by: sepheDifferential Revision: https://reviews.freebsd.org/D5131
Follow up to r225617. In order to maximize the re-usability of kernel codein userland rename in-kernel getenv()/setenv() to kern_setenv()/kern_getenv().This fixes a namespace collision with libc sy
Follow up to r225617. In order to maximize the re-usability of kernel codein userland rename in-kernel getenv()/setenv() to kern_setenv()/kern_getenv().This fixes a namespace collision with libc symbols.Submitted by: kmacyTested by: make universe
Eliminate unnecessary checking for M_EXT on mbufs returned by m_getjcl().Reviewed by: bz, glebius, yongariMFC after: 3 daysSponsored by: EMC / Isilon Storage DivisionDifferential Revision: https
Eliminate unnecessary checking for M_EXT on mbufs returned by m_getjcl().Reviewed by: bz, glebius, yongariMFC after: 3 daysSponsored by: EMC / Isilon Storage DivisionDifferential Revision: https://reviews.freebsd.org/D938
- Remove empty wrappers ether_poll_[de]register_drv(). [1]- Move polling(9) declarations out of ifq.h back to if_var.h they are absolutely unrelated to queues.Submitted by: Mikhail <mp lenta.ru>
- Remove empty wrappers ether_poll_[de]register_drv(). [1]- Move polling(9) declarations out of ifq.h back to if_var.h they are absolutely unrelated to queues.Submitted by: Mikhail <mp lenta.ru> [1]
- Use if_inc_counter() to increment various counters.- Do not ever set a counter to a value. For those counters that we don't increment, but return directly from hardware create cases in if_get_
- Use if_inc_counter() to increment various counters.- Do not ever set a counter to a value. For those counters that we don't increment, but return directly from hardware create cases in if_get_counter() method.Sponsored by: NetflixSponsored by: Nginx, Inc.
It is actually possible to have if_t a typedef to non-void type,and keep both converted to drvapi and non-converted driverscompilable.o Make if_t typedef to struct ifnet *.o Remove shim function
It is actually possible to have if_t a typedef to non-void type,and keep both converted to drvapi and non-converted driverscompilable.o Make if_t typedef to struct ifnet *.o Remove shim functions.Sponsored by: NetflixSponsored by: Nginx, Inc.
Fix multicast, broken by the conversion of the nfe(4) driver to thedriver API.Submitted by: Mikhail <[email protected]>
Fixed build with DEVICE_POLLING.
Convert nfe(4) to use the driver API.Submitted by: Mikhail <[email protected]>
Don't bother clearing maps for static DMA allocations to NULL. Instead,leave them as purely opaque values that are only set by bus_dmamem_alloc().
Remove some unused variables.Found with: Clang Static AnalyzerMFC after: 2 weeks
1234