mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-07 05:20:55 -05:00
cxgb4: Add TP Congestion map entry for single-port
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>
This commit is contained in:
committed by
David S. Miller
parent
731cb7e05f
commit
3c34cb9def
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user