]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit11803934c61c723abd70b71453f152a7041500b3
tree6596729c60caf1fc268af27755bae9ca10b7bba5
parent4fe3b7f04c73666aec043c910aa62753db790aed
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