#
2de1fa86 |
| 10-Sep-2007 |
Kip Macy <kmacy@FreeBSD.org> |
pull in changes made to RELENG_6 version in the process of doing the MFC
Supported by: Chelsio Approved by: re (blanket)
|
#
8adc65ad |
| 09-Sep-2007 |
Kip Macy <kmacy@FreeBSD.org> |
Add back in support for normal mbuf chaining on RX under DISABLE_MBUF_IOVEC
Approved by: re(blanket) Supported by: Chelsio
|
#
5c5df3da |
| 09-Sep-2007 |
Kip Macy <kmacy@FreeBSD.org> |
- fix qset to port binding as a proper fix for the problems encountered on the 4-port - fix the use after free seen when sending packets small enough to fit as an immediate and bpf peers are pres
- fix qset to port binding as a proper fix for the problems encountered on the 4-port - fix the use after free seen when sending packets small enough to fit as an immediate and bpf peers are present - update to firmware rev 4.7 along with various small vendor fixes
Supported by: Chelsio Approved by: re (blanket) MFC after: 3 days
show more ...
|
#
7ac2e6c3 |
| 25-Aug-2007 |
Kip Macy <kmacy@FreeBSD.org> |
Fixes for 4 port and small packet optimization
- remove cpl->iff panic - we can't know the port number from the rspq on the 4-port - pick the ifnet based on the interface in the CPL header - switch
Fixes for 4 port and small packet optimization
- remove cpl->iff panic - we can't know the port number from the rspq on the 4-port - pick the ifnet based on the interface in the CPL header - switch to using qset 0 for egress on the 4-port for now - may change when we start using RSS - move ether_ifdetach to before the port lock gets deinitialized to avoid hang in the case where there are BPF peers (cxgb_ioctl is called indirectly when BPF peers are present) - don't call t3_mac_reset if multiport is set, this was causing tx errors by misconfiguring the MAC on the 4-port - change V_TXPKT_INTF to use txpkt_intf as the interfaces are not contiguous - free the mbuf immediately in the case where the payload is small enough to be copied into the rspq - only update the coalesce timer if for a queue if packets were taken off of it - add in missed 20ms DELAY in initializaton vsc8211
- prompt MFC as this only applies to the 4-port which is currently completely broken - OK'd by kensmith
Supported by: Chelsio Approved by: re (blanket) MFC after: 0 days
show more ...
|
#
7aff6d8e |
| 17-Aug-2007 |
Kip Macy <kmacy@FreeBSD.org> |
forward port signedness fixes from RELENG_6 fix compile error for case where MSI_SUPPORTED not defined
Approved by: re (blanket)
|
#
6b68e276 |
| 11-Aug-2007 |
Kip Macy <kmacy@FreeBSD.org> |
- In all structures other than port info port is a pointer to a port info, make the code less confusing by renaming the port number to port_id
Approved by: re (blanket)
|
#
ac3a6d9c |
| 17-Jul-2007 |
Kip Macy <kmacy@FreeBSD.org> |
- integrate most recent changes from vendor branch and upgrade to firmware revision 4.5.5 - add filter support - further improvements for T304 - recover gracefully from spurious immediate packets
- integrate most recent changes from vendor branch and upgrade to firmware revision 4.5.5 - add filter support - further improvements for T304 - recover gracefully from spurious immediate packets
Approved by: re(blanket) Supported by: Chelsio MFC after: 3 days
show more ...
|
#
b8fe6051 |
| 10-Jul-2007 |
Kip Macy <kmacy@FreeBSD.org> |
MFp4 122896 - reduce cpu usage by as much as 25% (40% -> 30) by doing txq reclaim more efficiently - use mtx_trylock when trying to grab the lock to avoid spinning during long encap loop - add
MFp4 122896 - reduce cpu usage by as much as 25% (40% -> 30) by doing txq reclaim more efficiently - use mtx_trylock when trying to grab the lock to avoid spinning during long encap loop - add per-txq reclaim task - if mbufs were successfully re-claimed try another pass - track txq overruns with sysctl
Approved by: re (blanket)
show more ...
|
#
bb38cd2f |
| 17-Jun-2007 |
Kip Macy <kmacy@FreeBSD.org> |
- switch adapter and port lock over to using sx so that resources can be allocated atomically - add debug macros for printing lock initialization / teardown - add buffers to port_info and adapter t
- switch adapter and port lock over to using sx so that resources can be allocated atomically - add debug macros for printing lock initialization / teardown - add buffers to port_info and adapter to allow each lock to have a unique name - destroy mutexes initialized by cxgb_offload_init - remove recursive calls to ADAPTER_LOCK - move callout_drain calls so that they don't occur with the lock held - ensure that only as many qsets as are needed are initialized and destroyed
MFC after: 3 days Sponsored by: Chelsio Inc.
show more ...
|
#
ef72318f |
| 13-Jun-2007 |
Kip Macy <kmacy@FreeBSD.org> |
- import new common code for the T304 - update to firmware version 4.1.0
- switch over to standard method for initializing cdevs (contributed by scottl@) - break out timer_reclaim_task to be per-por
- import new common code for the T304 - update to firmware version 4.1.0
- switch over to standard method for initializing cdevs (contributed by scottl@) - break out timer_reclaim_task to be per-port - move msix teardown into separate function - fix bus_setup_intr for msi-x for the multi-port case so that msi-x resources are not corrupted on unload - handle 10/100/1000 base-T media and auto negotiation - bind qset to cpu even for singleq case - white space cleanups - remove recursive PORT_LOCK - move mtu setting to separate function - stop and re-init port when changing mtu - replace all direct references to m_data with calls to mtod - handle attach failure better by not trying to de-initialize taskqueues when they have not been allocated - no longer default to jumbo frames
Sponsored by: Chelsio MFC after: 3 days
show more ...
|
#
10faa568 |
| 29-May-2007 |
Kip Macy <kmacy@FreeBSD.org> |
When building cxgb as a module make include paths relative to the driver's root. This will make it possible to build the module out of tree against an older src tree.
MFC after: 3 days
|
#
d722cab4 |
| 25-May-2007 |
Kip Macy <kmacy@FreeBSD.org> |
(MFp4) - upgrade to reflect state of 1.0.0.86 - move from firmware rev 3.2 to 4.0.0 - import driver bits for offload functionality - remove binary distribution clause from to
(MFp4) - upgrade to reflect state of 1.0.0.86 - move from firmware rev 3.2 to 4.0.0 - import driver bits for offload functionality - remove binary distribution clause from top level files as it runs counter to the intent of purely supporting the hardware
MFC after: 3 days
show more ...
|
#
c0a24dd4 |
| 08-Apr-2007 |
Kip Macy <kmacy@FreeBSD.org> |
Convert driver RX path over to using mbuf iovec
|
#
fa0521c0 |
| 04-Apr-2007 |
Kip Macy <kmacy@FreeBSD.org> |
Make DMA tags per-queue to facilate parallel mappings Defer mbuf allocation and initialization until after data has already been received in a cluster
This reduces cpu utilization somewhat, but it o
Make DMA tags per-queue to facilate parallel mappings Defer mbuf allocation and initialization until after data has already been received in a cluster
This reduces cpu utilization somewhat, but it only improves the rx path. Recent changes to TCP appear to make us rate limited by the TX path.
This is the first step in reducing mbuf management overhead for manipulating clusters.
MFC after: 3 days
show more ...
|
#
ac6b4cf1 |
| 24-Mar-2007 |
Kip Macy <kmacy@FreeBSD.org> |
bus_size_t is a bad cross-architectural type with respect to printf, use uint32_t instead
|
#
f309e60d |
| 23-Mar-2007 |
Kip Macy <kmacy@FreeBSD.org> |
commit missed change
|
#
693d746c |
| 21-Mar-2007 |
Kip Macy <kmacy@FreeBSD.org> |
make MSI-X the default and allocate up to mp_ncpus queues per port
MFC after: 3 days
|
#
577e9bbe |
| 20-Mar-2007 |
Kip Macy <kmacy@FreeBSD.org> |
Synchronize with version 1.0.071 of Chelsio's common code (with the notable exception of improvements for using multiple TX queues)
This adds support for the T3B2 ASIC rev
Obtained from: Chelsio M
Synchronize with version 1.0.071 of Chelsio's common code (with the notable exception of improvements for using multiple TX queues)
This adds support for the T3B2 ASIC rev
Obtained from: Chelsio MFC after: 3 days
show more ...
|
#
b9d6bc3b |
| 14-Mar-2007 |
Kip Macy <kmacy@FreeBSD.org> |
make desc_reclaimable macro safe to arbitrary arguments
|
#
b6d90eb7 |
| 14-Mar-2007 |
Kip Macy <kmacy@FreeBSD.org> |
First of several commits for driver support for the Chelsio T3B 10 Gigabit Ethernet adapter.
Reviewed by: scottl, sam
For those interested in the preliminary performance work see below.
Plots of m
First of several commits for driver support for the Chelsio T3B 10 Gigabit Ethernet adapter.
Reviewed by: scottl, sam
For those interested in the preliminary performance work see below.
Plots of mxge vs. cxgb running netpipe:
blocksize vs. bandwidth: http://www.fsmware.com/chelsio.random/bsvsbw.gif
blocksize vs. RTT: First of several commits for driver support for the Chelsio T3B 10 Gigabit Ethernet adapter.
Reviewed by: scottl, sam
For those interested in the preliminary performance work see below.
Plots of mxge vs. cxgb running netpipe:
blocksize vs. bandwidth: http://www.fsmware.com/chelsio.random/bsvsbw.gif
blocksize vs. RTT: http://www.fsmware.com/chelsio.random/bsvstime.gif
blocksize vs. RTT for block sizes <= 10kb: http://www.fsmware.com/chelsio.random/bsvstime_10kb.gif http://www.fsmware.com/chelsio.random/bsvstime_10kb3.gif
show more ...
|
#
489ca05b |
| 02-Apr-2010 |
Navdeep Parhar <np@FreeBSD.org> |
Increase response queue size to avoid starvation, add a counter to track it when it does occur.
|
#
97ae3bc3 |
| 31-Mar-2010 |
Navdeep Parhar <np@FreeBSD.org> |
Multiple fixes related to queue set sizing and resources:
- Only the tunnelq (TXQ_ETH) requires a buf_ring, an ifq, and the watchdog/timer callouts. Do not allocate these for the other tx queues.
Multiple fixes related to queue set sizing and resources:
- Only the tunnelq (TXQ_ETH) requires a buf_ring, an ifq, and the watchdog/timer callouts. Do not allocate these for the other tx queues.
- Use 16k jumbo clusters only on offload capable cards by default.
- Do not allocate a full tx ring for the offload queue if the card is not offload capable.
- Slightly better freelist size calculation.
- Fix nmbjumbo4 typo, remove unneeded global variables.
MFC after: 3 days
show more ...
|
#
92f61ecb |
| 31-Mar-2010 |
Navdeep Parhar <np@FreeBSD.org> |
Fix tx drop statistics.
MFC after: 3 days
|
#
e83ec3e5 |
| 24-Feb-2010 |
Navdeep Parhar <np@FreeBSD.org> |
There is no need to test __FreeBSD_version for features that have been around for a long time now (7.1-ish or even earlier); assume they are present. These includes MSI, TSO, LRO, VLAN, INTR_FILTERS
There is no need to test __FreeBSD_version for features that have been around for a long time now (7.1-ish or even earlier); assume they are present. These includes MSI, TSO, LRO, VLAN, INTR_FILTERS, FIRMWARE, etc.
Also, eliminate some dead code and clean up in other places as part of this quick once-over.
MFC after: 1 week
show more ...
|
#
b302b77c |
| 20-Jan-2010 |
Navdeep Parhar <np@FreeBSD.org> |
Fix for a cxgb(4) panic. cxgb_ioctl can be called by the IP and IPv6 layers with non-sleepable locks held. Don't (potentially) sleep in those situations.
|