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:
Ganesh Goudar 2018-03-02 15:57:07 +05:30 committed by David S. Miller
parent 731cb7e05f
commit 3c34cb9def
1 changed files with 1 additions and 0 deletions

View File

@ -6091,6 +6091,7 @@ unsigned int t4_get_tp_ch_map(struct adapter *adap, int pidx)
case CHELSIO_T6: case CHELSIO_T6:
switch (nports) { switch (nports) {
case 1:
case 2: return 1 << pidx; case 2: return 1 << pidx;
} }
break; break;