projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
731cb7e
)
cxgb4: Add TP Congestion map entry for single-port
author
Ganesh Goudar
<ganeshgr@chelsio.com>
Fri, 2 Mar 2018 10:27:07 +0000
(15:57 +0530)
committer
David S. Miller
<davem@davemloft.net>
Fri, 2 Mar 2018 14:52:24 +0000
(09:52 -0500)
Add TP Congestion Map entry for single-port T6 cards.
Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
b/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
index bd41f93f73edc96b27430769517d81308769d21e..2c889efc78ea5a5edb4e3250e5a92b6c4939dddb 100644
(file)
--- a/
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
+++ b/
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
@@
-6091,6
+6091,7
@@
unsigned int t4_get_tp_ch_map(struct adapter *adap, int pidx)
case CHELSIO_T6:
switch (nports) {
+ case 1:
case 2: return 1 << pidx;
}
break;