diff options
author | Mintz, Yuval <Yuval.Mintz@cavium.com> | 2017-06-04 13:30:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-05 06:08:30 +0300 |
commit | 6bea61da1716761c95cd32117be6004b0e14b4b2 (patch) | |
tree | dafdfeca7b88530203feeb81985a761ac7a203e5 /drivers/net/ethernet/qlogic/qed/qed.h | |
parent | a619cc8bedd0df6dfbc389f4c904070be87a0e5c (diff) | |
download | linux-6bea61da1716761c95cd32117be6004b0e14b4b2.tar.xz |
qed: Add bitmaps for VF CIDs
Each PF has a bitmap for its own ranges of CIDs, to allow easy grabbing
of an available CID when such is needed. But VFs are not using the same
mechanism, instead relying on hard-coded CIDs [ queue-index == cid ].
As an infrastructure step toward increasing number of CIDs of VFs,
the PF is going to maintain bitmaps for the VF CIDs as well -
the bitmaps would be per-VF and the ranges would be the same [in HW all
VFs of a given PF have the same mapping of CIDs, and the HW is capable
of distinguishing between those according to the VF index]
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed.h')
0 files changed, 0 insertions, 0 deletions