cxgb4: get on-chip queue info from FW and create a memory window for them
authorDimitris Michailidis <dm@chelsio.com>
Mon, 2 Aug 2010 13:19:19 +0000 (13:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Aug 2010 23:26:42 +0000 (16:26 -0700)
commit1ae970e0c047fbb1050865c6cf3ac68c7ca67dba
tree1f33ba36c15425b9e48bd0293760707089eea605
parent625ac6ae5739b4da9bdfd44cbac2f9b6fec17db3
cxgb4: get on-chip queue info from FW and create a memory window for them

Get info about the availability of Tx on-chip queues from FW and if they
are supported set up a memory window for them.  iw_cxgb4 will be using them.
Move the existing window setup later in the init sequence, after we have
collected the new info.

Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb4/cxgb4_main.c
drivers/net/cxgb4/cxgb4_uld.h
drivers/net/cxgb4/t4_regs.h
drivers/net/cxgb4/t4fw_api.h