net/qede/base: support mapped doorbell BARs for VF
authorRasesh Mody <rasesh.mody@cavium.com>
Tue, 19 Sep 2017 01:51:33 +0000 (18:51 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:49 +0000 (02:49 +0200)
commitc73d7da71cf83f0f0ca5ec3c44c1f336d4366852
tree42cd41dc09aba7dfdb90f3057b77d0ea4bf6a04e
parent47af701989bcab5dc0c8be9bc0c46793278eb136
net/qede/base: support mapped doorbell BARs for VF

Determines whether VF utilizes doorbells via limited register bar or via
the doorbell bar and return the size of the HW doorbell bar via acquire
response. By doing that limit the VF CIDs to an amount that would make sure
doorbells for all CIDs fall within the bar.

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore.h
drivers/net/qede/base/ecore_dev.c
drivers/net/qede/base/ecore_sriov.c
drivers/net/qede/base/ecore_vf.c
drivers/net/qede/base/ecore_vf.h
drivers/net/qede/base/ecore_vfpf_if.h