]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: Add support to read actual provisioned resources
authorCasey Leedom <leedom@chelsio.com>
Wed, 4 Jul 2018 09:42:56 +0000 (15:12 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jul 2018 01:53:30 +0000 (10:53 +0900)
commit5a8f1f529a527f4b60741c361619371ec43ec9d8
tree5181b3362819c52e8332e9e1fb00337af6117930
parentb2acc51614a8a802beda4419555740c4beccf78c
cxgb4: Add support to read actual provisioned resources

In highly constrained resources environments (like the 124VF
T5 and 248VF T6 configurations), PF4 may not have very many
resources at all and we need to adapt to whatever we've been
allocated, this patch adds support to get the provisioned
resources.

Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c