Skip to content

Commit

Permalink
cxgb4: Add TP Congestion map entry for single-port
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ganesh Goudar authored and David S. Miller committed Mar 2, 2018
1 parent 731cb7e commit 3c34cb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3c34cb9

Please sign in to comment.