Age | Commit message (Collapse) | Author |
|
- add BCM5724 chipset
from Linux driver via Brad.
- sort by device-id
|
|
the MAC in bge_tick(). Previously this would result in bge(4) claiming
a greater number of input errors than what has actually occurred.
From FreeBSD via Brad
|
|
ok deraadt@, pirofti@, claudio@
|
|
an if statement) in the last commit. From Brad.
|
|
Based on info gleaned from the Linux tg3 driver. From Brad, ok naddy@
|
|
indicate so in the text strings. From Brad.
|
|
commit to the Linux driver via Brad.
|
|
PCI ids from the Linux tg3 driver via Brad.
|
|
ok dlg@
|
|
reducing the amount of splnet/splx dancing required.. especially in the
worst case (of m_cldrop)
ok dlg kettenis damien
|
|
|
|
his BCM5703 A2 to this commit.
Original commit message was: "Set the DMA read watermark to 4 on the
BCM5703 chipset in PCI-X mode. This is needed to prevent some TX
timeouts. From Brad. Tested by myself on BCM5703 B0 on PCI-X 64/66".
|
|
But also use the flag where it makes sense. From Brad; ok sthen@
|
|
|
|
bug which causes data corruption in combination with certain
bridges. Tested on BCM5701 B5 (0x105).
From FreeBSD via Brad. http://www.freebsd.org/cgi/query-pr.cgi?pr=128833
|
|
This is needed to prevent some TX timeouts. From Brad. Tested by myself
on BCM5703 B0 on PCI-X 64/66
|
|
adjusted from a diff from chl@; ok naddy, Brad agrees.
|
|
OK miod
|
|
from Brad
|
|
set at attach; from Brad
|
|
|
|
cosmetic tweaking; from Brad
|
|
gleaned from the Linux tg3 driver; from Brad
|
|
|
|
things a bit a and helps with adding support for more newer chipsets
with the same common features.
From the Linux tg3 driver."
From Brad; binaries are not identical; the if statement is changed
slightly, but no functional change. Looks fine to naddy@.
|
|
Enable for IP/UDP/TCP receipt and IP transmit.
Keep disabled for UDP/TCP transmit because it breaks with pf(4) rdr.
ok sthen@
|
|
from Brad; testing by phessler, naddy, myself and others on a range
of older and newer devices. ok dlg@.
|
|
allocate mbufs for it. Another jumbo allocator bites the dust!
ok dlg@
|
|
to prevent the hwm growing beyond that. this allows the livelock mitigation
to do something where the hwm used to grow beyond twice the rx rings size.
ok kettenis@ claudio@
|
|
|
|
try again later.
tested by many
|
|
tested by many including henning@ sthen@ naddy@ krw@ robert@ jmc@ jsg@
weerd@ and ingo schwarze on a variety of machines include i386, amd64,
alpha, and sparc64.
|
|
from the individual drivers now that ether_ioctl() handles this.
Shrinks the i386 kernels by..
RAMDISK - 2176 bytes
RAMDISKB - 1504 bytes
RAMDISKC - 736 bytes
Tested by naddy@/okan@/sthen@/brad@/todd@/jmc@ and lots of users.
Build tested on almost all archs by todd@/brad@
ok naddy@
|
|
monkeys.
found by toby's bounce buffers.
ok krw deraadt uwe fwk matthieu, drahn, mbalmer, robert, yuo, ratchov,
claudio, rainer, art.
|
|
creates the VLAN encapsulation from the tag stored in the mbuf
header. Idea from FreeBSD, input from claudio@ and canacar@.
Switch all hardware VLAN enabled drivers to the new function.
ok claudio@
|
|
amount of memory and interrupt time each bge uses) without discussing
it with other people. lots of people are complaining about the lack
of communication in your process, and you are going to have to change
that.
|
|
whole ring.
|
|
|
|
whole ring.
|
|
chipsets.
From the Linux tg3 driver via FreeBSD.
Tested by Jordi Creix <jbcreix dot mail at gmail dot com>
|
|
Tested by naddy@
|
|
tag in the header. Convert TX tagging in the drivers.
Help and ok brad@
|
|
now the offset into the first mbuf of the target chain before copying
the source data over. From FreeBSD.
Convert drivers' use of m_devget(). Mostly from thib@.
Update mbuf(9) man page.
ok claudio@, thib@
|
|
Move calling ether_ioctl() from the top of the ioctl function, which
at the moment does absolutely nothing, to the default switch case.
Thus allowing drivers to define their own ioctl handlers and then
falling back on ether_ioctl(). The only functional change this results
in at the moment is having all Ethernet drivers returning the proper
errno of ENOTTY instead of EINVAL/ENXIO when encountering unknown
ioctl's.
Shrinks the i386 kernels by..
RAMDISK - 1024 bytes
RAMDISKB - 1120 bytes
RAMDISKC - 832 bytes
Tested by martin@/jsing@/todd@/brad@
Build tested on almost all archs by todd@/brad@
ok jsing@
|
|
code. No functional change.
ok krw@
|
|
stripping: Add a field to the mbuf pkthdr to hold the tag and an
mbuf flag that tells if the tag is valid. Inspired by FreeBSD.
Struct packing suggested by kettenis@. csum_flags is now 16 bits.
Adapt to this in the drivers.
ok reyk@, henning@
|
|
Really just the low-hanging fruit of (hopefully) forthcoming timeout
conversions.
ok art@, krw@
|
|
In some situations we were not clearing pending link state attentions.
Because of this we were not getting further interrupts for link state
changes, thus never went into iface UP state.
Force an interrupt at the end of bge_ifmedia_upd so we will call
bge_link_upd, clear the link state attention and get further
interrupts.
From FreeBSD
ok reyk@
|
|
ok deraadt@
|
|
has subsystem ids set to the same as the regular ids, so the heuristic does
not work. So look for the TAD,Viper machine name. When we get our hand on
a Bullfrog (with a PCI slot) we will need to revisit this.
ok kettenis
|