| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
| |
(usually taking 20 seconds to transmit a packet).. no longer fall back
to only transmitting one packet (instead of the entire queue) after we
have processed the entire send queue... I have no idea why we didn't
start seeing this problem ~6 years ago when this code was introduced...
Notes:
svn path=/head/; revision=136683
|
|
|
|
|
|
|
|
| |
IFF_NEEDSGIANT so that ifp->if_start won't be called without Giant
when running debug.mpsafenet=1.
Notes:
svn path=/head/; revision=133674
|
|
|
|
| |
Notes:
svn path=/head/; revision=131847
|
|
|
|
| |
Notes:
svn path=/head/; revision=131651
|
|
|
|
|
|
|
| |
in <sys/cdefs.h> for compilers without support for inline.
Notes:
svn path=/head/; revision=131575
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
following drivers: bfe(4), em(4), fxp(4), lnc(4), tun(4), de(4) rl(4),
sis(4) and xl(4)
More patches are pending on: http://peoples.freebsd.org/~mlaier/ Please take
a look and tell me if "your" driver is missing, so I can fix this.
Tested-by: many
No-objection: -current, -net
Notes:
svn path=/head/; revision=131455
|
|
|
|
| |
Notes:
svn path=/head/; revision=130270
|
|
|
|
| |
Notes:
svn path=/head/; revision=129878
|
|
|
|
|
|
|
|
| |
Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde
Notes:
svn path=/head/; revision=127135
|
|
|
|
| |
Notes:
svn path=/head/; revision=126966
|
|
|
|
|
|
|
| |
does it for us already.
Notes:
svn path=/head/; revision=126847
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
if_xname, if_dname, and if_dunit. if_xname is the name of the interface
and if_dname/unit are the driver name and instance.
This change paves the way for interface renaming and enhanced pseudo
device creation and configuration symantics.
Approved By: re (in principle)
Reviewed By: njl, imp
Tested On: i386, amd64, sparc64
Obtained From: NetBSD (if_xname)
Notes:
svn path=/head/; revision=121816
|
|
|
|
|
|
|
|
| |
tree for two or more years now), except in a few places where there's
code to be compatible with older versions of FreeBSD.
Notes:
svn path=/head/; revision=119288
|
|
|
|
|
|
|
|
|
| |
tulip_boardid size.
Add a comment to tulip_rombuf about this requirement.
I have had panics on alpha while probing a de card.
Notes:
svn path=/head/; revision=116321
|
|
|
|
| |
Notes:
svn path=/head/; revision=116192
|
|
|
|
|
|
|
|
|
|
|
| |
Fix indentation error.
Make boardid string long enough.
Remove unused variable.
Found by: FlexeLint
Notes:
svn path=/head/; revision=115519
|
|
|
|
|
|
|
|
|
|
|
| |
network layer (ether).
- Don't abuse module names to facilitate ifconfig module loading;
such abuse isn't really needed. (And if we do need type information
associated with a module then we should make it explicit and not
use hacks.)
Notes:
svn path=/head/; revision=113506
|
|
|
|
|
|
|
|
|
|
| |
extern 'etherbroadcastaddr'.
- Make 'etherbroadcastaddr' static.
Reviewed by: imp
Notes:
svn path=/head/; revision=112469
|
|
|
|
|
|
|
| |
Approved by: trb
Notes:
svn path=/head/; revision=111119
|
|
|
|
|
|
|
| |
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
Notes:
svn path=/head/; revision=109623
|
|
|
|
|
|
|
| |
especially in troff files.
Notes:
svn path=/head/; revision=108533
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o use if_input for input packet processing
o don't strip the Ethernet header for input packets
o use BPF_* macros bpf tapping
o call ether_ioctl to handle default ioctl case
o track vlan changes
Reviewed by: many
Approved by: re
Notes:
svn path=/head/; revision=106936
|
|
|
|
| |
Notes:
svn path=/head/; revision=102412
|
|
|
|
|
|
|
|
| |
Spotted and suggested by: des
MFC after: 3 weeks
Notes:
svn path=/head/; revision=97748
|
|
|
|
|
|
|
| |
<sys/endian.h>. This puts us in line with NetBSD and OpenBSD.
Notes:
svn path=/head/; revision=95533
|
|
|
|
| |
Notes:
svn path=/head/; revision=85959
|
|
|
|
| |
Notes:
svn path=/head/; revision=74773
|
|
|
|
|
|
|
|
|
| |
backwards in the three drivers which want to do that.
Reviewed by: mikeh
Notes:
svn path=/head/; revision=72084
|
|
|
|
|
|
|
|
| |
Created with: sed(1)
Reviewed by: md5(1)
Notes:
svn path=/head/; revision=72012
|
|
|
|
|
|
|
|
|
|
| |
fondling implementation details.
Created with: sed(1)
Reviewed by: md5(1)
Notes:
svn path=/head/; revision=71999
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
before adding/removing packets from the queue. Also, the if_obytes and
if_omcasts fields should only be manipulated under protection of the mutex.
IF_ENQUEUE, IF_PREPEND, and IF_DEQUEUE perform all necessary locking on
the queue. An IF_LOCK macro is provided, as well as the old (mutex-less)
versions of the macros in the form _IF_ENQUEUE, _IF_QFULL, for code which
needs them, but their use is discouraged.
Two new macros are introduced: IF_DRAIN() to drain a queue, and IF_HANDOFF,
which takes care of locking/enqueue, and also statistics updating/start
if necessary.
Notes:
svn path=/head/; revision=69152
|
|
|
|
|
|
|
|
|
|
|
| |
unload method. Lots of old cruft is removed.
Thanks to WPaul for large clue-injection and debugging services.
Reviewed by: wpaul
Notes:
svn path=/head/; revision=68021
|
|
|
|
| |
Notes:
svn path=/head/; revision=67164
|
|
|
|
|
|
|
|
|
|
|
|
| |
ether_ifdetach().
The former consolidates the operations of if_attach(), ng_ether_attach(),
and bpfattach(). The latter consolidates the corresponding detach operations.
Reviewed by: julian, freebsd-net
Notes:
svn path=/head/; revision=63090
|
|
|
|
|
|
|
| |
use constant that used to be a variable in our (very) old pci code.
Notes:
svn path=/head/; revision=61040
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of the individual drivers and into the common routine ether_input().
Also, remove the (incomplete) hack for matching ethernet headers
in the ip_fw code.
The good news: net result of 1016 lines removed, and this should make
bridging now work with *all* Ethernet drivers.
The bad news: it's nearly impossible to test every driver, especially
for bridging, and I was unable to get much testing help on the mailing
lists.
Reviewed by: freebsd-net
Notes:
svn path=/head/; revision=60536
|
|
|
|
| |
Notes:
svn path=/head/; revision=60528
|
|
|
|
|
|
|
|
|
|
| |
for transmit to the adapter, not when we receive a transmit interrupt
indicating that they were sent. This fix now allows tcpdump to produce
sane results by recording the timestamp at the point where the mbuf was
actually transmitted.
Notes:
svn path=/head/; revision=60102
|
|
|
|
| |
Notes:
svn path=/head/; revision=59629
|
|
|
|
| |
Notes:
svn path=/head/; revision=58339
|
|
|
|
| |
Notes:
svn path=/head/; revision=57249
|
|
|
|
|
|
|
|
|
|
| |
BIOS code will get this right (and some certainly doesn't).
Submitted by: W. Gerald Hicks <jhix@mindspring.com>
Approved by: jkh
Notes:
svn path=/head/; revision=57248
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This means that we will not have to have a bpf and a non-bpf version
of our driver modules.
This does not open any security hole, because the bpf core isn't loadable
The drivers left unchanged are the "cross platform" drivers where the respective
maintainers are urged to DTRT, whatever that may be.
Add a couple of missing FreeBSD tags.
Notes:
svn path=/head/; revision=51646
|
|
|
|
|
|
|
|
| |
Submitted by: Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
Reviewed by: Alex Perel <veers@disturbed.net>
Notes:
svn path=/head/; revision=50133
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
events, in order to pave the way for removing a number of the ad-hoc
implementations currently in use.
Retire the at_shutdown family of functions and replace them with
new event handler lists.
Rework kern_shutdown.c to take greater advantage of the use of event
handlers.
Reviewed by: green
Notes:
svn path=/head/; revision=50107
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to achieve a delay is pretty mean.
Andrew reports:
"The tulip_delay_300ns() is, well, bloody stupid on machines with a
heavily loaded PCI bus. It tries to do a delay by assuming PCI reads
will take a certain amount of time & issues a large amount of
(expensive, 5% CPU when your PCI bus is heavily loaded) pci reads.
Locally, we've replaced the calls to tulip_delay_300ns(sc) in the EMIT
macros with a simple DELAY(1) and not seen any problems. Plus we've
gained about 50Mb/sec throughput on our gigabit network cards because
of the added PCI bus bandwidth available."
Also, I do not understand why, but this change appears to stop the
Transmit Fifo underrun on one of my systems (but not the Alpha PC164SX).
This shouldn't make that much of a difference since the mii bus isn't
touched all that often, but perhaps when it does get accessed and hence
hammers the register, it was causing the chip to get upset.
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
Notes:
svn path=/head/; revision=50055
|
|
|
|
| |
Notes:
svn path=/head/; revision=49575
|
|
|
|
|
|
|
| |
here, and do a bit of general tidy up.
Notes:
svn path=/head/; revision=49572
|
|
|
|
| |
Notes:
svn path=/head/; revision=49568
|
|
|
|
| |
Notes:
svn path=/head/; revision=49567
|