cvs commit: src/sys/dev/cxgb cxgb_adapter.h cxgb_lro.c cxgb_main.c
cxgb_sge.c src/sys/dev/cxgb/common cxgb_vsc8211.c
Kip Macy
kmacy at FreeBSD.org
Sat Aug 25 14:07:37 PDT 2007
kmacy 2007-08-25 21:07:37 UTC
FreeBSD src repository
Modified files:
sys/dev/cxgb cxgb_adapter.h cxgb_lro.c cxgb_main.c
cxgb_sge.c
sys/dev/cxgb/common cxgb_vsc8211.c
Log:
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
Revision Changes Path
1.3 +1 -0 src/sys/dev/cxgb/common/cxgb_vsc8211.c
1.17 +6 -3 src/sys/dev/cxgb/cxgb_adapter.h
1.8 +6 -7 src/sys/dev/cxgb/cxgb_lro.c
1.32 +80 -29 src/sys/dev/cxgb/cxgb_main.c
1.28 +32 -37 src/sys/dev/cxgb/cxgb_sge.c
More information about the cvs-src
mailing list