]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit19e9a7bc456bf9ed1bf6384e86522b1ff0cdcc28
treed6607b00beef9aa8f24d90812b8aa9ea07d57d71
parentb562cf7471ee237b21fe550a6b464dea682d1f3a
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