]> git.karo-electronics.de Git - linux-beck.git/commit
bnx2x: Remove the sriov VFOP mechanism
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Sun, 23 Mar 2014 16:12:25 +0000 (18:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Mar 2014 01:07:04 +0000 (21:07 -0400)
commit2dc33bbc4f8a5d6a05bf3c673b86c37b825450f3
tree7c5dea75fe3c305bfd86967290628924e1ae3376
parent370d4a26590fcc7510ad4a8432e4982a209f1b59
bnx2x: Remove the sriov VFOP mechanism

Since we now posses a workqueue dedicated for sriov, the paradigm that sriov-
related tasks cannot sleep is no longer correct.

The VFOP mechanism was the one previously supporting said paradigm - the sriov
related tasks were broken into segments which did not require sleep, and the
mechanism re-scheduled the next segment whenever possible.

This patch remvoes the VFOP mechanism altogether - the resulting code is a much
easier to follow code; The segments are gathered into straight-forward
functions which sleep whenever neccessary.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c