cxgb4: Pass in a Congestion Channel Map to t4_sge_alloc_rxq()
authorHariprasad Shenai <hariprasad@chelsio.com>
Tue, 5 May 2015 09:29:53 +0000 (14:59 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 May 2015 23:31:49 +0000 (19:31 -0400)
commitb8b1ae990efa2e677b162e9e24de77743bfca954
tree6596729c60caf1fc268af27755bae9ca10b7bba5
parent145ef8a54eb3bee917947f9bf7940093a0f2b03d
cxgb4: Pass in a Congestion Channel Map to t4_sge_alloc_rxq()

Passes a Congestion Channel Map to t4_sge_alloc_rxq()
for the Ethernet RX Queues based on the MPS Buffer Group Map
of the TX Channel rather than just the TX Channel Map.
Also, in t4_sge_alloc_rxq() for T5, setting up the
Congestion Manager values of the new RX Ethernet Queue is
done by firmware now.

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/sge.c
drivers/net/ethernet/chelsio/cxgb4/t4_values.h
drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h