Author: shurd
Date: Wed Jun 12 18:07:04 2019
New Revision: 348999
URL: https://svnweb.freebsd.org/changeset/base/348999
Log:
Some devices take undesired actions when RTS and DTR are
asserted. Some development boards for example will reset on DTR,
and some radio interfaces will transmit on RT
Author: shurd
Date: Mon May 13 18:48:08 2019
New Revision: 347542
URL: https://svnweb.freebsd.org/changeset/base/347542
Log:
MFC r346708:
iflib: Better control over queue core assignment
By default, cores are now assigned to queues in a sequential
manner rather than all NICs starting
Author: shurd
Date: Thu Apr 25 21:24:56 2019
New Revision: 346708
URL: https://svnweb.freebsd.org/changeset/base/346708
Log:
iflib: Better control over queue core assignment
By default, cores are now assigned to queues in a sequential
manner rather than all NICs starting at the first core
Author: shurd
Date: Fri Feb 22 18:24:57 2019
New Revision: 344472
URL: https://svnweb.freebsd.org/changeset/base/344472
Log:
MFC r333131:
Fix iflib_encap() EFBIG handling bugs
1) Don't give up if m_collapse() fails. Rather than giving up, try
m_defrag() immediately.
2) Fix a le
Author: shurd
Date: Fri Feb 22 18:02:46 2019
New Revision: 344471
URL: https://svnweb.freebsd.org/changeset/base/344471
Log:
MFC r344162:
iflib: Improve return values of interrupt handlers.
iflib was returning FILTER_HANDLED, in cases where FILTER_STRAY was more
correct. This potenti
Author: shurd
Date: Fri Feb 15 18:51:43 2019
New Revision: 344162
URL: https://svnweb.freebsd.org/changeset/base/344162
Log:
iflib: Improve return values of interrupt handlers.
iflib was returning FILTER_HANDLED, in cases where FILTER_STRAY was more
correct. This potentially caused issues
Author: shurd
Date: Fri Jan 25 18:30:12 2019
New Revision: 343441
URL: https://svnweb.freebsd.org/changeset/base/343441
Log:
MFC r343047:
Fix window update issue when scaling disabled
When the TCP window scale option is not used, and the window
opens up enough in one soreceive, a win
Author: shurd
Date: Wed Jan 16 19:20:14 2019
New Revision: 343099
URL: https://svnweb.freebsd.org/changeset/base/343099
Log:
MFC r342855:
Use iflib_if_init_locked() during resume instead of iflib_init_locked().
iflib_init_locked() assumes that iflib_stop() has been called, however,
i
Author: shurd
Date: Tue Jan 15 17:40:19 2019
New Revision: 343047
URL: https://svnweb.freebsd.org/changeset/base/343047
Log:
Fix window update issue when scaling disabled
When the TCP window scale option is not used, and the window
opens up enough in one soreceive, a window update will no
Author: shurd
Date: Mon Jan 14 18:40:37 2019
New Revision: 343024
URL: https://svnweb.freebsd.org/changeset/base/343024
Log:
MFC r342855:
Use iflib_if_init_locked() during resume instead of iflib_init_locked().
iflib_init_locked() assumes that iflib_stop() has been called, however,
i
Author: shurd
Date: Mon Jan 7 23:46:54 2019
New Revision: 342855
URL: https://svnweb.freebsd.org/changeset/base/342855
Log:
Use iflib_if_init_locked() during resume instead of iflib_init_locked().
iflib_init_locked() assumes that iflib_stop() has been called, however,
it is not called fo
Author: shurd
Date: Tue Dec 18 17:31:31 2018
New Revision: 342194
URL: https://svnweb.freebsd.org/changeset/base/342194
Log:
MFC r341824:
Fix !tx_abdicate error from r336560
r336560 was supposed to restore pre-r323954 behaviour when tx_abdicate is
not set (the default case). However,
Author: shurd
Date: Tue Dec 11 17:46:01 2018
New Revision: 341824
URL: https://svnweb.freebsd.org/changeset/base/341824
Log:
Fix !tx_abdicate error from r336560
r336560 was supposed to restore pre-r323954 behaviour when tx_abdicate is
not set (the default case). However, it appears that r
Author: shurd
Date: Mon Dec 3 15:18:35 2018
New Revision: 341427
URL: https://svnweb.freebsd.org/changeset/base/341427
Log:
MFC r341156:
Fix first-packet completion
The first packet after the ring is initialized was never
completed as isc_txd_credits_update() would not include it in
Author: shurd
Date: Wed Nov 28 17:37:17 2018
New Revision: 341156
URL: https://svnweb.freebsd.org/changeset/base/341156
Log:
Fix first-packet completion
The first packet after the ring is initialized was never
completed as isc_txd_credits_update() would not include it in the
count of co
Author: shurd
Date: Wed Nov 21 17:33:19 2018
New Revision: 340735
URL: https://svnweb.freebsd.org/changeset/base/340735
Log:
MFS r340729:
Prevent POLA violation with TSO/CSUM offload
Ensure that any time CSUM_IP_TSO or CSUM_IP6_TSO is set that the corresponding
CSUM_IP6?_TCP / CSUM_I
Author: shurd
Date: Wed Nov 21 17:14:57 2018
New Revision: 340729
URL: https://svnweb.freebsd.org/changeset/base/340729
Log:
MFC r340435:
Prevent POLA violation with TSO/CSUM offload
Ensure that any time CSUM_IP_TSO or CSUM_IP6_TSO is set that the corresponding
CSUM_IP6?_TCP / CSUM_I
Author: shurd
Date: Mon Nov 19 16:40:19 2018
New Revision: 340634
URL: https://svnweb.freebsd.org/changeset/base/340634
Log:
MFS r340629
r340434:
Fix leaks caused by ifc_nhwtxqs never being initialized (broken by r333502)
and clear the last ring in the case where isc_nfl != isc_nrxqs
Author: shurd
Date: Mon Nov 19 15:18:30 2018
New Revision: 340629
URL: https://svnweb.freebsd.org/changeset/base/340629
Log:
MFC r340434, r340445
r340434:
Fix leaks caused by ifc_nhwtxqs never being initialized
r333502 removed initialization of ifc_nhwtxqs, and it's not clear
there
Author: shurd
Date: Wed Nov 14 20:36:18 2018
New Revision: 340445
URL: https://svnweb.freebsd.org/changeset/base/340445
Log:
Clear RX completion queue state veriables in iflib_stop()
iflib_stop() was not resetting the rxq completion queue state variables.
This meant that for any driver th
Author: shurd
Date: Wed Nov 14 15:23:39 2018
New Revision: 340435
URL: https://svnweb.freebsd.org/changeset/base/340435
Log:
Prevent POLA violation with TSO/CSUM offload
Ensure that any time CSUM_IP_TSO or CSUM_IP6_TSO is set that the corresponding
CSUM_IP6?_TCP / CSUM_IP flags are also s
Author: shurd
Date: Wed Nov 14 15:16:45 2018
New Revision: 340434
URL: https://svnweb.freebsd.org/changeset/base/340434
Log:
Fix leaks caused by ifc_nhwtxqs never being initialized
r333502 removed initialization of ifc_nhwtxqs, and it's not clear
there's a need to copy it into the struct
Author: shurd
Date: Mon Nov 12 16:28:07 2018
New Revision: 340366
URL: https://svnweb.freebsd.org/changeset/base/340366
Log:
MFC r340310:
Fix first-packet completion
The first packet after the ring is initialized was never
completed as isc_txd_credits_update() would not include it in
Author: shurd
Date: Mon Nov 12 16:08:14 2018
New Revision: 340365
URL: https://svnweb.freebsd.org/changeset/base/340365
Log:
MFC r340236:
Fix rxcsum issue introduced in r338838
r338838 attempted to fix issues with rxcsum and rxcsum6.
However, the rxcsum bits were set as though if_set
Author: shurd
Date: Fri Nov 9 22:18:43 2018
New Revision: 340310
URL: https://svnweb.freebsd.org/changeset/base/340310
Log:
Fix first-packet completion
The first packet after the ring is initialized was never
completed as isc_txd_credits_update() would not include it in the
count of co
Author: shurd
Date: Wed Nov 7 19:31:48 2018
New Revision: 340236
URL: https://svnweb.freebsd.org/changeset/base/340236
Log:
Fix rxcsum issue introduced in r338838
r338838 attempted to fix issues with rxcsum and rxcsum6.
However, the rxcsum bits were set as though if_setcapenablebit() was
Author: shurd
Date: Tue Nov 6 20:46:00 2018
New Revision: 340202
URL: https://svnweb.freebsd.org/changeset/base/340202
Log:
MFC r339861:
Drain grouptaskqueue of the gtask before detaching it.
taskqgroup_detach() would remove the task even if it was running or
enqueued, which could l
Author: shurd
Date: Mon Oct 29 14:36:03 2018
New Revision: 339861
URL: https://svnweb.freebsd.org/changeset/base/339861
Log:
Drain grouptaskqueue of the gtask before detaching it.
taskqgroup_detach() would remove the task even if it was running or
enqueued, which could lead to panics (see
Author: shurd
Date: Tue Oct 9 20:16:19 2018
New Revision: 339267
URL: https://svnweb.freebsd.org/changeset/base/339267
Log:
Use mbuf defines to construct csum offload masks rather than literals
Reviewed by: erj
Approved by: re (rgrimes)
Sponsored by: Limelight Networks
Differential
Author: shurd
Date: Fri Oct 5 20:16:20 2018
New Revision: 339207
URL: https://svnweb.freebsd.org/changeset/base/339207
Log:
Fix igb corrupting checksums with BPF and VLAN
When using a vlan with igb and the vlanhwcsum option, any mbufs which
already had the TCP, UDP, or SCTP checksum calc
Author: shurd
Date: Thu Sep 20 20:06:44 2018
New Revision: 338840
URL: https://svnweb.freebsd.org/changeset/base/338840
Log:
Add IFCAP_TSO6 for igb
It seems igb supports TSO6, but the capability got lost in
the iflib update. Restore this capability.
PR: 231476
Reported by
Author: shurd
Date: Thu Sep 20 19:35:35 2018
New Revision: 338838
URL: https://svnweb.freebsd.org/changeset/base/338838
Log:
Fix capabilities handling for iflib drivers
Various capabilities were not being handled correctly in the
SIOCSIFCAP handler. Specifically:
IFCAP_RXCSUM and IFC
Author: shurd
Date: Thu Sep 20 18:24:32 2018
New Revision: 338834
URL: https://svnweb.freebsd.org/changeset/base/338834
Log:
Add iflib.4 manpage
The new manpage documents the tunables and statistic sysctls exposed by
iflib.
Reviewed by: bcr
Approved by: re (gjb)
Sponsored by: L
Author: shurd
Date: Thu Sep 6 18:51:52 2018
New Revision: 338505
URL: https://svnweb.freebsd.org/changeset/base/338505
Log:
Clean up iflib sysctls
Remove sysctls:
txq_drain_encapfail - now a duplicate of encap_txd_encap_fail
intr_link - was never incremented
intr_msix - was never inc
Author: shurd
Date: Wed Aug 29 16:21:34 2018
New Revision: 338373
URL: https://svnweb.freebsd.org/changeset/base/338373
Log:
Fix compile error due to missing parenthesis in r338372
Approved by: re (gjb)
Modified:
head/sys/net/iflib.c
Modified: head/sys/net/iflib.c
=
Author: shurd
Date: Wed Aug 29 15:55:25 2018
New Revision: 338372
URL: https://svnweb.freebsd.org/changeset/base/338372
Log:
Fix potential data corruption in iflib
The MP ring may have txq pointers enqueued. Previously, these were
passed to m_free() when IFC_QFLUSH was set. This patch c
Author: shurd
Date: Fri Jul 20 17:45:26 2018
New Revision: 336560
URL: https://svnweb.freebsd.org/changeset/base/336560
Log:
Add knob to control tx ring abdication.
r323954 changed the mp ring behaviour when 64-bit atomics were
available to abdicate the TX ring rather than having one beco
Author: shurd
Date: Fri Jul 20 17:24:45 2018
New Revision: 336559
URL: https://svnweb.freebsd.org/changeset/base/336559
Log:
Improve netmap TX handling when TX IRQs are not used/supported
Use the timer to poll for TX completions when there are
outstanding TX slots. Track when the last dri
Author: shurd
Date: Fri Jun 8 21:49:19 2018
New Revision: 334862
URL: https://svnweb.freebsd.org/changeset/base/334862
Log:
Remove tx task spinning added in r333686
This caused issues with PASTE. Just remove the reschedule since the DELAY()
should be enough for use cases such as pkt-gen
Author: shurd
Date: Tue May 29 21:56:39 2018
New Revision: 334358
URL: https://svnweb.freebsd.org/changeset/base/334358
Log:
iflib: mark irq allocation name parameter as constant
The *name parameter passed to iflib_irq_alloc_generic and
iflib_softirq_alloc_generic is never modified. Many
Author: shurd
Date: Thu May 24 18:53:29 2018
New Revision: 334178
URL: https://svnweb.freebsd.org/changeset/base/334178
Log:
MFC: r333792
Avoid spurious warnings when hardware LRO is enabled by not attempting
to configure invalid VNICs.
Approved by: re (gjb)
Submitted by: bharga
Author: shurd
Date: Wed May 16 21:03:22 2018
New Revision: 333686
URL: https://svnweb.freebsd.org/changeset/base/333686
Log:
Work around lack of TX IRQs in iflib for netmap
When poll() is called via netmap, txsync is initially called,
and if there are no available buffers to reclaim, it w
Author: shurd
Date: Tue May 15 16:54:41 2018
New Revision: 333637
URL: https://svnweb.freebsd.org/changeset/base/333637
Log:
Check that ifma_protospec != NULL in inm_lookup
If ifma_protospec is NULL when inm_lookup() is called, there
is a dereference in a NULL struct pointer. This ensures
Author: shurd
Date: Mon May 14 20:06:49 2018
New Revision: 333612
URL: https://svnweb.freebsd.org/changeset/base/333612
Log:
Replace rmlock with epoch in lagg
Use the new epoch based reclamation API. Now the hot paths will not
block at all, and the sx lock is used for the softc data. Thi
Author: shurd
Date: Fri May 11 21:42:27 2018
New Revision: 333505
URL: https://svnweb.freebsd.org/changeset/base/333505
Log:
Fix LORs in in6?_leave_group()
r333175 updated the join_group functions, but not the leave_group ones.
Reviewed by: sbruno
Sponsored by: Limelight Networks
Author: shurd
Date: Fri May 11 20:40:26 2018
New Revision: 333503
URL: https://svnweb.freebsd.org/changeset/base/333503
Log:
MFC r29, r66, r73
r29: Fix off-by-one error requesting tx interrupt
r66: Cleanup queues when iflib_device_register fails
r73: Log iflib_tx
Author: shurd
Date: Fri May 11 19:37:18 2018
New Revision: 333501
URL: https://svnweb.freebsd.org/changeset/base/333501
Log:
Fix mld6query(8) and add a new -g option
The mld6query command relies on KAME behaviour which allows the
ipv6mr_multiaddr member of the request object in a IPV6_JOI
Author: shurd
Date: Tue May 8 17:15:10 2018
New Revision: 73
URL: https://svnweb.freebsd.org/changeset/base/73
Log:
iflib: print message when iflib_tx_structures_setup fails
Print a message when iflib_tx_structures_setup fails, like we do for
iflib_rx_structures_setup.
Now t
Author: shurd
Date: Tue May 8 16:56:02 2018
New Revision: 66
URL: https://svnweb.freebsd.org/changeset/base/66
Log:
iflib: cleanup queues when iflib_device_register fail
Submitted by: Jacob Keller
Reviewed by: gallatin
MFC after:3 days
Sponsored by: Intel Corporation
Vogel Aq Mt jfvo...@gmail.com
+and
+.An Stephen Hurd Aq Mt sh...@freebsd.org ,
and is currently maintained by
-.An Stephen Hurd Aq Mt stephen.h...@broadcom.com .
+.An Broadcom Limited Aq Mt freebsd@broad
Author: shurd
Date: Mon May 7 23:10:02 2018
New Revision: 41
URL: https://svnweb.freebsd.org/changeset/base/41
Log:
MFC r333253-r333254
Fixes invalid free()s when iflib_queues_alloc() fails, and remove unused
brscp variable.
Approved by: re (gjb@)
Modified:
stable/11/sys
Author: shurd
Date: Mon May 7 22:33:40 2018
New Revision: 40
URL: https://svnweb.freebsd.org/changeset/base/40
Log:
Direct commit to stable/11 to fix botched r38
netmap nm_intr is not part of stable/11
Approved by: re (marius@)
Sponsored by: Limelight Networks
Modified
Author: shurd
Date: Mon May 7 21:42:22 2018
New Revision: 38
URL: https://svnweb.freebsd.org/changeset/base/38
Log:
Merge iflib changes to 11-STABLE
MFC r300147, r300153, r300154, r300215, r301563, r301567,
r302372, r307560, r307562, r307563, r307568, r308792, r311039,
r311837,
Author: shurd
Date: Fri May 4 15:20:34 2018
New Revision: 333254
URL: https://svnweb.freebsd.org/changeset/base/333254
Log:
iflib: fix invalid free during queue allocation failure
In r301567, code was added to cleanup to prevent memory leaks for the
Tx and Rx ring structs. This code care
Author: shurd
Date: Fri May 4 15:11:16 2018
New Revision: 333253
URL: https://svnweb.freebsd.org/changeset/base/333253
Log:
iflib: remove unused brscp pointer from iflib_queues_alloc
This pointer was no longer written to as of r315217. Since nothing writes
to the variable, remove it.
Author: shurd
Date: Thu May 3 17:02:31 2018
New Revision: 333218
URL: https://svnweb.freebsd.org/changeset/base/333218
Log:
Allow iflib NIC drivers to sleep rather than busy wait
Since the move to SMP NIC driver locking has had to go through serious
contortions using mtx around long runn
Author: shurd
Date: Wed May 2 19:36:29 2018
New Revision: 333175
URL: https://svnweb.freebsd.org/changeset/base/333175
Log:
Separate list manipulation locking from state change in multicast
Multicast incorrectly calls in to drivers with a mutex held causing drivers
to have to go through
Author: shurd
Date: Wed Apr 18 18:45:04 2018
New Revision: 332734
URL: https://svnweb.freebsd.org/changeset/base/332734
Log:
MFC r332388:
Make BPF global lock an SX
This allows NIC drivers to sleep on polling config operations.
PR: 323477
Submitted by: Matthew Macy
Author: shurd
Date: Wed Apr 18 15:34:18 2018
New Revision: 332729
URL: https://svnweb.freebsd.org/changeset/base/332729
Log:
iflib: Fix queue distribution when there are no threads
Previously, if there are no threads, all queues which targeted
cores that share an L2 cache were bound to a
Author: shurd
Date: Fri Apr 13 17:45:54 2018
New Revision: 332481
URL: https://svnweb.freebsd.org/changeset/base/332481
Log:
Move 1-second spin into ixgbe_netmap_reg()
This should still work around the netmap issue, but should not impact other
calls to ixgbe_stop().
PR: 221
tries to
> acquire the core lock they also adaptively spin on the mutex chewing
> up yet more cores. This includes any threads trying to fetch
> interface status (e.g. ifconfig), various interrupt handlers, etc.
>
--
[image: Limelight Networks] <http://www.limelight.com>
Stephen
Author: shurd
Date: Thu Apr 12 19:06:15 2018
New Revision: 332447
URL: https://svnweb.freebsd.org/changeset/base/332447
Log:
Work around netmap issue with ixgbe
After multiple start/stop of netmap, ixgbe will get into a bad state
requiring a reboot to recover. Adding a delay before stopp
Author: shurd
Date: Wed Apr 11 21:41:59 2018
New Revision: 332419
URL: https://svnweb.freebsd.org/changeset/base/332419
Log:
Properly initialize ifc_nhwtxqs.
Also, since ifc_nhwrxqs is only used in one place, remove it from the struct.
This was preventing iflib_dma_free() from being calle
Author: shurd
Date: Tue Apr 10 19:48:24 2018
New Revision: 332389
URL: https://svnweb.freebsd.org/changeset/base/332389
Log:
Split out flag manipulation from general context manipulation in iflib
To avoid blocking on the context lock in the swi thread and risk potential
deadlocks, this ch
Author: shurd
Date: Tue Apr 10 19:42:50 2018
New Revision: 332388
URL: https://svnweb.freebsd.org/changeset/base/332388
Log:
Make BPF global lock an SX
This allows NIC drivers to sleep on polling config operations.
Submitted by: Matthew Macy
Reviewed by: shurd
Sponsored by: Limel
Author: shurd
Date: Wed Mar 21 15:57:36 2018
New Revision: 331310
URL: https://svnweb.freebsd.org/changeset/base/331310
Log:
Update copyright per Matthew Macy
"Under my tutelage Nicole did 85% of the work. At the time it seemed
simplest for a number of reasons to put my copyright on it. I
Author: shurd
Date: Fri Mar 2 18:48:07 2018
New Revision: 330289
URL: https://svnweb.freebsd.org/changeset/base/330289
Log:
iflib: stop timer callout when stopping
iflib_timer has been seen running after the interface had been removed.
This change prevents that.
Submitted by: matt.m
Author: shurd
Date: Wed Feb 21 18:57:00 2018
New Revision: 329742
URL: https://svnweb.freebsd.org/changeset/base/329742
Log:
IFLIB: Make isc_magic unsigned
The IFLIB_MAGIC macro is > INT_MAX, so isc_magic should
be able to contain it.
Reported by: jeb
Sponsored by: Limelight Netw
Author: shurd
Date: Tue Feb 20 18:33:45 2018
New Revision: 329651
URL: https://svnweb.freebsd.org/changeset/base/329651
Log:
IFLIB: do not remove dmamap on buffer unload
Dmamap is created only on IFC attach. If we remove it on
buffer release, we won't be able to do ifconfig down&up. Only
ol feature. Defaults to Enable
.El
.Sh DIAGNOSTICS
.Bl -diag
@@ -219,6 +244,8 @@ device driver first appeared in
The
.Nm
driver was written by
-.An Jack Vogel Aq Mt jfvo...@gmail.com ,
+.An Jack Vogel Aq Mt jfvo...@gmail.com
+and
+.An Stephen Hurd Aq Mt sh...@freebsd.org ,
and is currently
Author: shurd
Date: Wed Dec 27 20:42:30 2017
New Revision: 327247
URL: https://svnweb.freebsd.org/changeset/base/327247
Log:
Don't pass rids to taskqgroup_attach()
As everywhere else, we want to pass rman_get_start(irq->ii_res). This
caused set affinity errors when not using MSI-X vector
Author: shurd
Date: Wed Dec 27 19:14:15 2017
New Revision: 327244
URL: https://svnweb.freebsd.org/changeset/base/327244
Log:
Remove assertion that's not true for !EARLY_AP_STARTUP
gtask->gt_taskqueue is NULL when EARLY_AP_STARTUP is not enabled.
Remove assertion to allow this config to wo
Author: shurd
Date: Wed Dec 27 19:12:32 2017
New Revision: 327242
URL: https://svnweb.freebsd.org/changeset/base/327242
Log:
Fix indentation.
Sponsored by: Limelight Networks
Modified:
head/sys/net/iflib.c
Modified: head/sys/net/iflib.c
==
Oleg Bulyzhin wrote:
On Fri, Dec 22, 2017 at 07:11:36PM -0500, Stephen Hurd wrote:
Interesting... is this a standard GENERIC kernel, or is this a custom
config? If a custom config, can you send it to me?
Also, does this system have any other iflib drivers? igb, em, or bnxt?
Can you include
Oleg Bulyzhin wrote:
On Fri, Dec 22, 2017 at 01:22:20PM -0500, Stephen Hurd wrote:
Can you provide me with the output of ``sysctl kern.sched.topology_spec''?
# sysctl kern.sched.topology_spec
kern.sched.topology_spec:
0, 1, 2, 3
0
1
Oleg Bulyzhin wrote:
On Wed, Dec 20, 2017 at 01:03:34AM +, Stephen Hurd wrote:
Author: shurd
Date: Wed Dec 20 01:03:34 2017
New Revision: 327013
URL: https://svnweb.freebsd.org/changeset/base/327013
Log:
Support attaching tx queues to cpus
This will attempt to use a different
Author: shurd
Date: Thu Dec 21 01:22:36 2017
New Revision: 327052
URL: https://svnweb.freebsd.org/changeset/base/327052
Log:
Don't call tcp_lro_rx() unless hardware verified TCP/UDP csum
It seems that tcp_lro_rx() doesn't verify TCP checksums, so
if there are bad checksums in the packets
Author: shurd
Date: Wed Dec 20 01:03:34 2017
New Revision: 327013
URL: https://svnweb.freebsd.org/changeset/base/327013
Log:
Support attaching tx queues to cpus
This will attempt to use a different thread/core on the same L2
cache when possible, or use the same cpu as the rx thread when n
Author: shurd
Date: Tue Dec 19 22:15:46 2017
New Revision: 327003
URL: https://svnweb.freebsd.org/changeset/base/327003
Log:
Add log messages for unknown and unhandled phy types
Previously, it silently only supported auto, instead, log a message
indicating why only auto is supported.
Author: shurd
Date: Tue Dec 19 22:06:25 2017
New Revision: 327001
URL: https://svnweb.freebsd.org/changeset/base/327001
Log:
On Link up & down, update media types
It's possible to change the SFP module when link is down, which would
change the available media types. This is part of D1335
Author: shurd
Date: Tue Dec 19 21:07:30 2017
New Revision: 327000
URL: https://svnweb.freebsd.org/changeset/base/327000
Log:
Support short HWRM commands
New Stratus bnxt devices require support for short HWRM commands for VFs
to function. Enable their use, but only use them if it's both
Author: shurd
Date: Tue Dec 19 20:32:45 2017
New Revision: 326999
URL: https://svnweb.freebsd.org/changeset/base/326999
Log:
Don't populate NVRAM sysctls for VFs
Only the PF allows NVRAM interaction on bnxt devices.
Submitted by: Bhargava Chenna Marreddy
Sponsored by: Broadcom Limit
Author: shurd
Date: Tue Dec 19 18:12:18 2017
New Revision: 326985
URL: https://svnweb.freebsd.org/changeset/base/326985
Log:
Add byte swapping in bnxt_cfg_async_cr() request
The firmware is always in little endian, use htole*() for all request fields
larger than one byte.
Submitted b
Author: shurd
Date: Tue Dec 19 17:59:00 2017
New Revision: 326984
URL: https://svnweb.freebsd.org/changeset/base/326984
Log:
Update Matthew Macy contact info
Email address has changed, uses consistent name (Matthew, not Matt)
Reported by: Matthew Macy
Differential Revision:
Author: shurd
Date: Mon Dec 11 20:01:28 2017
New Revision: 326775
URL: https://svnweb.freebsd.org/changeset/base/326775
Log:
Increment encap_pad_mbuf_fail when m_dup() fails in padding
Previously, the counter was only incremented when m_append() failed. Since
the function can also fail o
Author: shurd
Date: Fri Dec 8 19:50:06 2017
New Revision: 326706
URL: https://svnweb.freebsd.org/changeset/base/326706
Log:
Free mbuf chain when m_dup fails
Fix memory leak where mbuf chain wasn't free()d if iflib_ether_pad()
has a failure in m_dup().
Reported by: "Ryan Stone"
S
Author: shurd
Date: Fri Dec 8 18:43:31 2017
New Revision: 326702
URL: https://svnweb.freebsd.org/changeset/base/326702
Log:
Handle read-only mbufs in iflib ether pad function
If ethernet padding is enabled, and a read-only mbuf is passed,
it would modify the mbuf using m_append(). Instea
Author: shurd
Date: Tue Dec 5 21:00:31 2017
New Revision: 326578
URL: https://svnweb.freebsd.org/changeset/base/326578
Log:
iflib: Support to padding Ethernet frames to a min size
Some bnxt devices do not correctly send frames smaller than
52 bytes (without CRC), so add a quirk that will
Author: shurd
Date: Tue Dec 5 20:43:24 2017
New Revision: 326577
URL: https://svnweb.freebsd.org/changeset/base/326577
Log:
Avoid calling CURVNET_[SET|RESTORE] for each packet
The LRO possible test was calling CURVNET_SET once for IPv4 or IPv6 for
each packet in a chain. Only call it onc
Author: shurd
Date: Fri Dec 1 17:58:20 2017
New Revision: 326432
URL: https://svnweb.freebsd.org/changeset/base/326432
Log:
Add support for SIOCGIFXMEDIA to iflib
SIOCGIFXMEDIA is required for extended ethernet media types,
but iflib did not support it.
Reported by: Bhargava Chenna
Author: shurd
Date: Wed Nov 29 18:21:17 2017
New Revision: 326370
URL: https://svnweb.freebsd.org/changeset/base/326370
Log:
Fix comment introduced in r326369
The code uses the set of all CPUs, it doesn't zero out the set.
Sponsored by: Limelight Networks
Modified:
head/sys/net/ifli
Author: shurd
Date: Wed Nov 29 18:14:57 2017
New Revision: 326369
URL: https://svnweb.freebsd.org/changeset/base/326369
Log:
Ensure that ctx->ifc_cpus is always initialized
If a device didn't support MSI-X, ctx->ifc_cpus would not be initialized,
but the IRQ allocation routines still uses
Author: shurd
Date: Mon Nov 20 21:57:04 2017
New Revision: 326033
URL: https://svnweb.freebsd.org/changeset/base/326033
Log:
Fix off-by-one error in bit_nclear() usage
bit_nclear() takes the bit numbers for the start and end bits, not the start
and a count. This was resulting in memory c
Author: shurd
Date: Thu Nov 16 18:52:58 2017
New Revision: 325901
URL: https://svnweb.freebsd.org/changeset/base/325901
Log:
Fix default numbers of iflib queue sets
The intent appears to be having one RX/TX queue set per core,
but since scctx->isc_n[tr]xqsets is set to max before calling
Author: shurd
Date: Mon Nov 6 16:41:29 2017
New Revision: 325488
URL: https://svnweb.freebsd.org/changeset/base/325488
Log:
bnxt: Add support for new phy_types and speeds - Part #2
Use our ifm_list of supported media types rather than nested switch
statements to find the current media ty
Author: shurd
Date: Mon Nov 6 16:23:21 2017
New Revision: 325487
URL: https://svnweb.freebsd.org/changeset/base/325487
Log:
Only chain non-LRO mbufs when LRO is not possible
Preserve packet order between tcp_lro_rx() and if_input() to avoid
creating extra corner cases. If no packets can
Author: shurd
Date: Tue Oct 31 19:03:35 2017
New Revision: 325245
URL: https://svnweb.freebsd.org/changeset/base/325245
Log:
Preserve TSO checksum flags
r323941 incorrectly disabled TSO flags based on MTU.
Reported by: Yuri Pankov
Reviewed by: sbruno
Approved by: sbruno (mentor
Author: shurd
Date: Tue Oct 31 17:50:42 2017
New Revision: 325241
URL: https://svnweb.freebsd.org/changeset/base/325241
Log:
Fix PR221990 - Assertion at iflib.c:1947
ifl_pidx and ifl_credits are going out of sync in _iflib_fl_refill() as they
use different update log. Use the same update
Author: shurd
Date: Tue Oct 31 02:49:28 2017
New Revision: 325201
URL: https://svnweb.freebsd.org/changeset/base/325201
Log:
Fix build with nodevice netmap
iru_init() was declared and used outside the DEV_NETMAP
conditional blocks, but was implemented inside one. Move the
implementation
Author: shurd
Date: Mon Oct 30 21:26:23 2017
New Revision: 325169
URL: https://svnweb.freebsd.org/changeset/base/325169
Log:
bnxt: Add support for new phy_types and speeds
1) Add new phy_types and speeds from the latest firmware header.
2) Introduced a macro to avoid code duplication and
1 - 100 of 145 matches
Mail list logo