diff options
author | Divy Le Ray <divy@chelsio.com> | 2007-03-31 09:23:19 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-04-04 04:31:09 +0200 |
commit | 8ac3ba68e25a73594646ec30b7c482b364644c92 (patch) | |
tree | 1c15afe834f8f86f8a6c0a2c5da217de4afb6664 /drivers/net/cxgb3/sge.c | |
parent | cxgb3 - Safeguard TCAM size usage (diff) | |
download | linux-8ac3ba68e25a73594646ec30b7c482b364644c92.tar.xz linux-8ac3ba68e25a73594646ec30b7c482b364644c92.zip |
cxgb3 - detect NIC only adapters
Differentiate NIC only adapters from RNICs.
Initialize offload capabilities for RNICs only.
Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/cxgb3/sge.c')
-rw-r--r-- | drivers/net/cxgb3/sge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/sge.c b/drivers/net/cxgb3/sge.c index c23783432e51..027ab2c3825c 100644 --- a/drivers/net/cxgb3/sge.c +++ b/drivers/net/cxgb3/sge.c @@ -2631,7 +2631,7 @@ int t3_sge_alloc_qset(struct adapter *adapter, unsigned int id, int nports, q->txq[TXQ_ETH].stop_thres = nports * flits_to_desc(sgl_len(MAX_SKB_FRAGS + 1) + 3); - if (ntxq == 1) { + if (!is_offload(adapter)) { #ifdef USE_RX_PAGE q->fl[0].buf_size = RX_PAGE_SIZE; #else |