mirror of https://gitee.com/openkylin/linux.git
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:
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;
|
||||
|
|
Loading…
Reference in New Issue