be2net: query max_tx_qs for BE3 super-nic profile from FW
authorSuresh Reddy <Suresh.Reddy@emulex.com>
Tue, 2 Sep 2014 04:26:57 +0000 (09:56 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Sep 2014 19:46:00 +0000 (12:46 -0700)
commita28277dc65f4f7a58db899ab69acd8cf078b9039
treed6607b00beef9aa8f24d90812b8aa9ea07d57d71
parenta4906ea0a5fe6dba89d3809f1e0e97b4d55ef4b7
be2net: query max_tx_qs for BE3 super-nic profile from FW

In the BE3 super-nic profile, the max_tx_qs value can vary for each function.
So the driver needs to query this value from FW instead of using the
pre-defined constant BE3_MAX_TX_QS.

Signed-off-by: Suresh Reddy <Suresh.Reddy@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c