]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qed: Provide auxiliary for getting free VF SB
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Thu, 1 Jun 2017 12:29:08 +0000 (15:29 +0300)
committerChuck Anderson <chuck.anderson@oracle.com>
Tue, 19 Sep 2017 05:32:23 +0000 (22:32 -0700)
commit51e30219399d13bcdd98de029c6a563cc691d1f5
tree7c1e0894fb87221c49ca01a8dd66c64b0d3a5e89
parent8ea7242352a17197bfdd00a3767bd33a06a84e11
qed: Provide auxiliary for getting free VF SB

Orabug: 26783820

IOV code is very intrusive in its manipulation of the status block
database.
Add a new auxiliary function to allow the PF to find an available unused
status block to configure for a specific VF's MSI-x vector.

Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[ Upstream commit 09b6b14749523e3660b72be2ed91b3c0b852f58f ]
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
drivers/net/ethernet/qlogic/qed/qed_int.c
drivers/net/ethernet/qlogic/qed/qed_int.h
drivers/net/ethernet/qlogic/qed/qed_sriov.c