#
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 ...
|
#
c78cb5e4 |
| 23-Jan-2010 |
Navdeep Parhar <np@FreeBSD.org> |
MFC r202863
Don't forget to release the adapter lock for a no-op.
|
#
3c0e59de |
| 23-Jan-2010 |
Navdeep Parhar <np@FreeBSD.org> |
Don't forget to release the adapter lock for a no-op.
|
#
e0d8d4df |
| 21-Jan-2010 |
Navdeep Parhar <np@FreeBSD.org> |
MFC r201907,202671,202678
r201907: Extra parantheses to keep certain compilers happy.
r202671: Fix for a cxgb(4) panic. cxgb_ioctl can be called by the IP and IPv6 layers with non-sleepable locks
MFC r201907,202671,202678
r201907: Extra parantheses to keep certain compilers happy.
r202671: 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.
r202678: Complain if freelist queue sizes are significantly less than desired.
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.
|
#
9199c09a |
| 06-Jan-2010 |
Warner Losh <imp@FreeBSD.org> |
Merge from head at r201628.
# This hasn't been tested, and there are at least three bad commits # that need to be backed out before the branch will be stable again.
|
#
1dc03a9f |
| 06-Dec-2009 |
Navdeep Parhar <np@FreeBSD.org> |
MFC r199237:
sc->rev and is_offload(sc) will always be 0 during probe. Wait till attach to get correct values.
(missed this one in r200175)
|
#
3b3920bc |
| 06-Dec-2009 |
Navdeep Parhar <np@FreeBSD.org> |
MFC r199237, r199238, r199239, r199240, r200003
r199237: sc->rev and is_offload(sc) will always be 0 during probe. Wait till attach to get correct values.
r199238: Make sure *some* edc is setup ev
MFC r199237, r199238, r199239, r199240, r200003
r199237: sc->rev and is_offload(sc) will always be 0 during probe. Wait till attach to get correct values.
r199238: Make sure *some* edc is setup even for an unknown transceiver (assume it is optical).
r199239: The 10GBASE-T card should use an IPG of 1. Also enable the check for low power startup on this card.
r199240: Don't disable the XGMAC's tx on ifconfig down. It is unnecessary and can cause false backpressure in the chip. Fix a us/ms mixup while here.
r200003: T3 firmware 7.8.0 for cxgb(4)
show more ...
|
Revision tags: release/8.0.0_cvs, release/8.0.0 |
|
#
a9c23ef0 |
| 13-Nov-2009 |
Navdeep Parhar <np@FreeBSD.org> |
Don't disable the XGMAC's tx on ifconfig down. It is unnecessary and can cause false backpressure in the chip. Fix a us/ms mixup while here.
|
#
7ead19d4 |
| 13-Nov-2009 |
Navdeep Parhar <np@FreeBSD.org> |
sc->rev and is_offload(sc) will always be 0 during probe. Wait till attach to get correct values.
|
#
874108ae |
| 12-Nov-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
MFC @199204
|
#
bbec3bb5 |
| 12-Nov-2009 |
Navdeep Parhar <np@FreeBSD.org> |
MFC r197791
cxgb(4) updates, including: - support for the new Gen-2, BT, and LP-CR cards. - T3 firmware 7.7.0 - shared "common code" updates.
|
#
e1b17582 |
| 06-Nov-2009 |
John Baldwin <jhb@FreeBSD.org> |
Take a step towards removing if_watchdog/if_timer. Don't explicitly set if_watchdog/if_timer to NULL/0 when initializing an ifnet. if_alloc() sets those members to NULL/0 already.
|
#
9e14139d |
| 29-Oct-2009 |
John Baldwin <jhb@FreeBSD.org> |
MFC 196840: Fill the reverse RSS map with 0xff's so that the subsequent loop to calculate the values will work properly.
|
#
c01f2b83 |
| 05-Oct-2009 |
Navdeep Parhar <np@FreeBSD.org> |
cxgb(4) updates, including: - support for the new Gen-2, BT, and LP-CR cards. - T3 firmware 7.7.0 - shared "common code" updates.
Approved by: gnn (mentor) Obtained from: Chelsio MFC after: 1 month
|
#
10b3b545 |
| 17-Sep-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Merge from head
|
#
7d4b968b |
| 17-Sep-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Merge from head up to r188941 (last revision before the USB stack switch)
|
#
cbd59a4f |
| 08-Sep-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- MFC from head@196987
|
#
6b2eaa83 |
| 04-Sep-2009 |
John Baldwin <jhb@FreeBSD.org> |
Fill the reverse RSS map with 0xff's so that the subsequent loop to calculate the values will work properly.
Reviewed by: np MFC after: 1 month
|
#
09c817ba |
| 03-Jul-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- MFC
|
#
2975f787 |
| 24-Jun-2009 |
Navdeep Parhar <np@FreeBSD.org> |
Various ifmedia related fixes in cxgb(4), including:
- build ifmedia list based on phy->caps, not string comparisons. - rebuild media list when a transceiver change is detected. - return EOPNOTSUPP
Various ifmedia related fixes in cxgb(4), including:
- build ifmedia list based on phy->caps, not string comparisons. - rebuild media list when a transceiver change is detected. - return EOPNOTSUPP instead of ENXIO in cxgb_media_status.
Approved by: gnn (mentor) MFC after: 2 weeks.
show more ...
|
#
16daf368 |
| 22-Jun-2009 |
Navdeep Parhar <np@FreeBSD.org> |
Fix cxgb's ifmedia ioctl handling. Also fixed a comment.
Reviewed by: kmacy Approved by: gnn (mentor)
|
#
3f345a5d |
| 20-Jun-2009 |
Kip Macy <kmacy@FreeBSD.org> |
Greatly simplify cxgb by removing almost all of the custom mbuf management logic
- remove mbuf iovec - useful, but adds too much complexity when isolated to the driver
- remove driver private ca
Greatly simplify cxgb by removing almost all of the custom mbuf management logic
- remove mbuf iovec - useful, but adds too much complexity when isolated to the driver
- remove driver private caching - insufficient benefit over UMA to justify the added complexity and maintenance overhead
- remove separate logic for managing multiple transmit queues, with the new drbr routines the control flow can be made to much more closely resemble legacy drivers
- remove dedicated service threads, with per-cpu callouts one can get the same benefit much more simply by registering a callout 1 tick in the future if there are still buffered packets
- remove embedded mbuf usage - Jeffr's changes will (I hope) soon be integrated greatly reducing the overhead of using kernel APIs for reference counting clusters
- add hysteresis to descriptor coalescing logic
- add coalesce threshold sysctls to allow users to decide at run-time between optimizing for forwarding / UDP or optimizing for TCP
- add once per second watchdog to effectively close the very rare races occurring from coalescing
- incorporate Navdeep's changes to the initialization path required to convert port and adapter locks back to ordinary mutexes (silencing BPF LOR complaints)
- enable prefetches in get_packet and tx cleaning
Reviewed by: navdeep@ MFC after: 2 weeks
show more ...
|
#
7e857dd1 |
| 12-Jun-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- Merge from HEAD
|
#
02c7d9a6 |
| 11-Jun-2009 |
George V. Neville-Neil <gnn@FreeBSD.org> |
Re-add the send queue tunable for people who do not use buffering.
Reviewed by: jhb MFC after: 3 days
|