History log of /freebsd/sys/dev/cxgb/cxgb_main.c (Results 201 – 225 of 357)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# f001b63d 10-Jan-2008 Kip Macy <kmacy@FreeBSD.org>

- make 9k clusters the default unless a tunable is set
- return the error from cxgb_tx_common so that when an error is hit we dont
spin forever in the taskq thread
- remove unused rxsd_ref
- simpli

- make 9k clusters the default unless a tunable is set
- return the error from cxgb_tx_common so that when an error is hit we dont
spin forever in the taskq thread
- remove unused rxsd_ref
- simplify header_offset calculation for embedded mbuf headers
- fix memory leak by making sure that mbuf header initialization took place
- disable printf's for stalled queue, don't do offload/ctrl queue restart
when tunnel queue is restarted
- add more diagnostic information about the txq state
- add facility to dump the actual contents of the hardware queue using sysctl

show more ...


# 81186fb4 18-Dec-2007 Kip Macy <kmacy@FreeBSD.org>

only include intr_machdep.h when it is needed for intr_bind
ia64 doesn't have an intr_machdep.h


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


# fc5a2e51 16-Dec-2007 Kip Macy <kmacy@FreeBSD.org>

Use the vm include convention of busdma


# 04b25f8e 16-Dec-2007 Kip Macy <kmacy@FreeBSD.org>

need M_IOVEC define


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

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


# 45c5d90b 12-Sep-2007 Kip Macy <kmacy@FreeBSD.org>

Evidently setup_rss needs to happen whenever bind_qsets is done. This fixes
a problem with jumbo frames when not using msi-x interrupts.

Supported by: Chelsio
Approved by: re (blanket)


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


# f4a2d780 09-Sep-2007 Kip Macy <kmacy@FreeBSD.org>

- Remove filter support

Supported by: Chelsio
Approved by: re(blanket)


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


# 93cccbf8 11-Aug-2007 Kip Macy <kmacy@FreeBSD.org>

White space cleanups

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


# 8870f0e1 17-Jul-2007 Kip Macy <kmacy@FreeBSD.org>

- Increase descriptors per call to start
- enqueue per-txq task
- fix per-txq task initialization

Approved by: re (blanket)


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


# c0fdfb95 15-Jun-2007 Kip Macy <kmacy@FreeBSD.org>

Fix build warnings
Submitted by: mjacob@


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


# f3ec953c 02-Jun-2007 Kip Macy <kmacy@FreeBSD.org>

remove pointless recursive acquisition of port lock in cxgb_init_locked


# cebf6b9f 29-May-2007 Kip Macy <kmacy@FreeBSD.org>

Fix case of setting OACTIVE erroneously


# f0a542f8 29-May-2007 Kip Macy <kmacy@FreeBSD.org>

Fix interrupt setup for the non-MSI-X case


# 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


# 5dfb4c0b 28-May-2007 Kip Macy <kmacy@FreeBSD.org>

Don't bind queue to cpus if only one queue is in use


12345678910>>...15