]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qed: Uniform IOV queue validation
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Sun, 19 Mar 2017 11:08:16 +0000 (13:08 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 26 Jul 2017 03:46:46 +0000 (20:46 -0700)
commitde4cde695818d8c5148f98ae0a77fcbeb54ca1ea
tree383fdadbb7ad7bf6670d07064d2fbdf8d14e4fea
parent063fc4d0434791384da13c1a25814dd37c94c129
qed: Uniform IOV queue validation

Orabug: 2593305326439680

PF needs to validate the status of VF queues before asking firmware
to configure anything for them, but that validation is done in various
different forms - sometimes inadequate.

Add auxillary functions that can be used for testing of the queue
state and convert the various flows to use those instead of current
existing flows; Also, add missing validations where needed.

Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/qlogic/qed/qed_sriov.c