Age | Commit message (Collapse) | Author |
|
support SerDes-based (1000base-SX fibre) bnx(4) devices yet. The
reason is simple - we do not have any fibre bnx(4) to test and port
the SerDes changes from the other bnx drivers.
From brad found in the Linux driver
|
|
from brad
ok claudio@
|
|
OK reyk@, earlier version OK tedu@, dlg@, and miod@.
|
|
if the firmware has been told to keep it and copy the tag in network
byte order in the other case.
ok mcbride@ dlg@
|
|
simplify the VLAN code.
this will close PR 5356 (system panics under high load).
From claudio@ who is currently not around to commit this fix
tested and ok by mcbride@, reyk@, todd@, Paul Hirsch, and brad
|
|
to the attach function and set a flag in the mounthook to start
accepting interrupts (there are possible problems with establishing
interrupts after the ioapics are enabled in i386 GENERIC.MP).
also suggested by kettenis
tested by mcbride, me, and some others
ok dlg@
|
|
from brad@
|
|
|
|
(ifm_data isn't updated) and lead to a panic in mii_phy_setmedia(),
or reading past the end mii_media_table[].
- make sure the dma_map matches the mbuf in the rx structures. We would
sync/unload the wrong map, leading to a DIAGNOSTIC panic, or eventually
leaking memory when bounce buffers are needed.
From NetBSD
ok marco@, brad@
|
|
multicast hash slots. The bnx(4) hardware supports 8 slots instead of
4 like the bge(4) hardware.
From Mike Karels via FreeBSD
Tested by Brad, biorn@ and Johan M:son Lindman
|
|
From Brad, tested by Brad, biorn@ and Johan M:son Lindman.
|
|
Identical fixes from myself and brad@, also reported by chefren@pi.net.
|
|
set up and allocated (which happens in a mountroothook). this prevents an
early call to the interrupt handler from causing a null deref when trying
to look into the unallocated regions.
found by mcbride when ciss and bnx were sharing an interrupt. mounting
root caused interrupts before the bnx was properly set up.
"commit your fix" mcbride@
|
|
|
|
THIS MEANS YOU NEED TO UPDATE YOUR FIRMWARE FILE BEFORE BOOTING WITH
A NEW KERNEL
tested by marco, biorn
|
|
from the NetBSD port
tested by bion@ and others from tech@
ok marco@ brad@
|
|
|
|
|
|
accidentally truncating off the VLAN tag field in the TX descriptor. Fix
this by splitting up the vlan_tag and flags fields into separate fields,
and handling them appropriately.
From scottl@FreeBSD
|
|
mbuf pointer to see if the transmit ring is full. The mbuf pointer
is set only in the last descriptor of a multi-descriptor packet.
By relying on the mbuf pointers of the earlier descriptors, the
driver would sometimes overwrite a descriptor belonging to a
packet that wasn't completed yet. Also, tx_chain_prod wasn't
updated inside the loop, causing the wrong descriptor to be checked
after the first iteration. The upshot of all this was the loss of
some transmitted packets at medium to high packet rates.
In bnx_tx_encap, remove a couple of old statements that shuffled
around the tx_mbuf_map pointers. These now correspond 1-to-1 with
the transmit descriptors, and they are not supposed to be changed.
Correct a couple of inaccurate comments.
From jdp@FreeBSD
|
|
works.
From ambrisko@FreeBSD
|
|
LIST_FOREACH macro.
|
|
- Ensure that at least 16 TX descriptors are kept unused in the ring.
- Use more complete error handling for TX load problems.
From scottl@FreeBSD
|
|
|
|
- Use more complete error handling for TX load problems.
From scottl@FreeBSD
|
|
a FreeBSD-ism from the original driver.
|
|
- Eliminate the bnx_dmamap_arg structure.
- Refactor the loop that fills the buffer descriptor so that it can be done
with a single set of logic in a single loop instead of two sets of logic.
- Eliminate the need to cache and pass descriptor indexes between the start
loop and the encap function.
- Change the start loop to always check the ifnet sendq for more work.
From scottl@FreeBSD
|
|
- Don't copy the bd_chain head pointers into temporary objects, they are
available globally.
From scottl@FreeBSD
|
|
gigantic firmware into the kernel; checked by brad
|
|
|
|
|
|
MTU.
|
|
|
|
|
|
|
|
- enable RX checksum offload.
- remove some unused code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
issues brad was seeing. Help from jason.
ok brad.
|
|
This was pointed out by mickey The driver now uses the same idiom as mpi.
help from miod, mickey and kettenis
ok brad
|
|
|
|
|
|
|
|
|
|
Redo detection of _LO & _HI macro; help from miod and jordan.
ok beck brad
|
|
|