History log of /freebsd/sys/dev/cxgb/cxgb_adapter.h (Results 151 – 175 of 177)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 60f1e276 15-Jan-2008 Kip Macy <kmacy@FreeBSD.org>

- move WR_LEN in to cxgb_adapter.h add PIO_LEN to make intent clearer
- move cxgb_tx_common in to cxgb_multiq.c and rename to cxgb_tx
- move cxgb_tx_common dependencies
- further simplify cxgb_dequeu

- move WR_LEN in to cxgb_adapter.h add PIO_LEN to make intent clearer
- move cxgb_tx_common in to cxgb_multiq.c and rename to cxgb_tx
- move cxgb_tx_common dependencies
- further simplify cxgb_dequeue_packet for the non-multiqueue case
- only launch one service thread per port in the non-multiq case
- remove dead cleaning code from cxgb_sge.c
- simplify PIO case substantially in by returning directly from mbuf collapse
and just using m_copydata
- remove gratuitous m_gethdr in the rx path
- clarify freeing of mbufs in collapse

show more ...


# 5ef02c02 13-Jan-2008 Kip Macy <kmacy@FreeBSD.org>

Convert over to using the multiqueue infrastructure although all calls going
through cxgb_start still end up using queue 0


# 9330dbc3 11-Jan-2008 Kip Macy <kmacy@FreeBSD.org>

Be more aggressive about tx cleaning - when multiples streams were running the tx
queue could fill up and stop getting cleaned.


# 10b16b26 10-Jan-2008 Kip Macy <kmacy@FreeBSD.org>

Add support for selectively dumping the state of the hardware response queue.
Change ordering of a couple of types.


# 8d5754af 09-Jan-2008 Kip Macy <kmacy@FreeBSD.org>

make nqsets a uint32_t so that sysctl will work
add 2 fields for allowing queue dumping


# 8090c9f5 17-Dec-2007 Kip Macy <kmacy@FreeBSD.org>

Make TCP offload work on HEAD (modulo negative interaction between sbcompress
and t3_push_frames).
- Import latest changes to cxgb_main.c and cxgb_sge.c from toestack p4 branch
- make driver local

Make TCP offload work on HEAD (modulo negative interaction between sbcompress
and t3_push_frames).
- Import latest changes to cxgb_main.c and cxgb_sge.c from toestack p4 branch
- make driver local copy of tcp_subr.c and tcp_usrreq.c and override tcp_usrreqs so
TOE can also functions on versions with unmodified TCP

- add cxgb back to the build

show more ...


# 3e96c7e7 15-Dec-2007 Kip Macy <kmacy@FreeBSD.org>

Import updated support code for the TOM (tcp offload module).


# 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 ...


12345678