| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- introduce drbr_needs_enqueue that returns whether the interface/br needs
an enqueue operation: returns true if altq is enabled or there are
already packets in the ring (as we need to maintain packet order)
- update all drbr consumers
- fix drbr_flush
- avoid using the driver queue (IFQ_DRV_*) in the altq case as the
multiqueue consumer does not provide enough protection, serialize altq
interaction with the main queue lock
- make drbr_dequeue_cond work with altq
Discussed with: kmacy, yongari, jfv
MFC after: 4 weeks
|
|
|
|
|
| |
around a buf_ring call that will break 7.3, and thanks to Fabien Thomas
add POLLING support for igb and a minor related fix in the em driver.
|
|
|
|
|
|
|
|
|
|
| |
lagg and vlan the vlan attach/detach event is not being
handed down to em, this caused some init code not to run,
and thus VLANs did not work. Ultimately having the event
get propagated would be nice, but for now the solution is
to have HWFILTER off by default, when this is the case
VLANs will work, ifconfig can be used to turn it on and
then get HW tag filtering.
|
| |
|
| |
|
|
|
|
| |
the checkin, sorry all :(
|
| |
|
|
|
|
| |
fail in kernel tree.
|
|
|
|
|
|
|
|
|
|
| |
igb now has a queue notion that has a single interrupt
with an RX/TX pair, this will reduce the total interrupts
seen on a system. Both em and igb have a new watchdog
method. igb has fixes from Pyun Yong-Hyeon that have
improved stability, thank you :)
I wish to MFC this for 7.3 asap, please test if able.
|
|
|
|
|
| |
Submitted by: Marc Balmer <marc@msys.ch>
MFC after: 1 week
|
|
|
|
|
|
| |
- Add interrupt descriptions when using mulitple MSI-X interrupts.
Reviewed by: jfv
|
|
|
|
| |
a customer report of an Invalid MAC Address has occurred.
|
|
|
|
|
| |
as it was causing a panic, also took the opportunity
to rename the lock for clarity.
|
|
|
|
| |
into the checkin.
|
|
|
|
|
|
|
|
|
|
|
| |
drivers. These add new hardware support, most importantly
the pch (i5 chipset) in the em driver. Also, both drivers
now have the simplified (and I hope improved) watchdog
code. The igb driver uses the new RX cleanup that I
first implemented in ixgbe.
em - version 6.9.24
igb - version 1.8.4
|
|
|
|
|
|
|
|
| |
page fault panic on initialization due to a large
number of bounce pages being allocated. This is due
to the dma tag requiring page alignment on mbuf mapping.
This was removed some time back from the ixgbe driver
and is not needed here either.
|
| |
|
| |
|
|
|
|
|
|
| |
still have an mbuf it was not being requeued.
MFC: 3 days
|
|
|
|
|
|
| |
An mbuf is not requeued when a xmit fails.
MFC: 3 days
|
|
|
|
| |
know better than to commit with a cat in the area.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Without this changeset there will be no way to prevent these NICs from
sending ARP, which is harmful in server farms that is configured as
"Direct Server Return" behind a load balancer.
A better fix would remove the whole hack completely but it would be
later than 8.0-RELEASE.
Reviewed by: jfv, yongari
Approved by: re (kib)
|
|
|
|
|
|
|
| |
way to tell the one and only interface that a vlan
event is for. Thanks to John Baldwin for the patch.
Approved by: re
|
|
|
|
|
|
|
|
|
|
|
| |
- When a vlan event occurs a check was not made that
the event was actually for the interface, thus resulting
in a panic. All three drivers have this vulnerability. Add
a check for this condition.
- Secondly, there was a duplicate buf_ring free in the em
driver resulting in a panic on unload. Remove.
Approved by: re
|
|
|
|
|
|
|
|
|
| |
part that is made up of 8K banks rather than 4K, if these
systems are using bank 1 then the last change in this code
breaks the bank read, resulting in an invalid checksum of
the eeprom during driver load. This change fixes this.
Approved by: re
|
|
|
|
| |
Approved by: re (kib)
|
|
|
|
|
|
|
| |
RAR(0) register does not work on this old adapter,
provide a local routine that does it the older way.
Approved by: re
|
|
|
|
|
|
|
|
| |
result was when the RX index wrapped it was converted into some
sort of gibberish and written into the RDT register, effectively
killing the RX side of the thing :)
Approved by: re
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
IF_ADDR_UNLOCK() across network device drivers when accessing the
per-interface multicast address list, if_multiaddrs. This will
allow us to change the locking strategy without affecting our driver
programming interface or binary interface.
For two wireless drivers, remove unnecessary locking, since they
don't actually access the multicast address list.
Approved by: re (kib)
MFC after: 6 weeks
|
|
|
|
|
| |
multiqueue setup which is not the shipping default for
igb (its set to 1).
|
|
|
|
| |
global builds (failing sun4v lint build)
|
| |
|
|
|
|
|
| |
for multiqueue tx, shared code updates, new device
support, and some bug fixes.
|
|
|
|
|
| |
This will bring back improved IPv4 SIOCSIFADDR ioctl handling
not re-initializing the interface if avoidable.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CPU for too long period than necessary. Additively, interfaces are kept
polled (in the tick) even if no more packets are available.
In order to avoid such situations a new generic mechanism can be
implemented in proactive way, keeping track of the time spent on any
packet and fragmenting the time for any tick, stopping the processing
as soon as possible.
In order to implement such mechanism, the polling handler needs to
change, returning the number of packets processed.
While the intended logic is not part of this patch, the polling KPI is
broken by this commit, adding an int return value and the new flag
IFCAP_POLLING_NOCOUNT (which will signal that the return value is
meaningless for the installed handler and checking should be skipped).
Bump __FreeBSD_version in order to signal such situation.
Reviewed by: emaste
Sponsored by: Sandvine Incorporated
|
|
|
|
| |
buf_ring on transmit
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
get reset when it should be
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
the watchdog timer was not being rearmed in txeof, and also
a missing case in the new code.
MFC after: 2 weeks
|
| |
|
|
|
|
| |
Pointed out by Nate Whitehorn
|
| |
|
| |
|
|
|
|
|
|
|
| |
few important bug fixes found while they were doing SCTP
development, and that I somehow lost during the scramble.
Thanks guys!!
|
|
|
|
|
|
| |
- make buF_ring usage conditional but enabled by default
Reviewed by: jfv
|
| |
|
|
|
|
|
|
|
| |
adds header split and SCTP support into the igb driver.
Various small improvements and fixes.
MFC after: 2 weeks
|