Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3c34cb9d authored by Ganesh Goudar's avatar Ganesh Goudar Committed by David S. Miller
Browse files

cxgb4: Add TP Congestion map entry for single-port



Add TP Congestion Map entry for single-port T6 cards.

Signed-off-by: default avatarCasey Leedom <leedom@chelsio.com>
Signed-off-by: default avatarGanesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 731cb7e0
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -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;