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>
Showing
- drivers/net/ethernet/broadcom/bnx2x/bnx2x.h 0 additions, 1 deletiondrivers/net/ethernet/broadcom/bnx2x/bnx2x.h
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 0 additions, 2 deletionsdrivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c 431 additions, 1373 deletionsdrivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h 36 additions, 312 deletionsdrivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h
- drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c 155 additions, 266 deletionsdrivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c
Loading
Please register or sign in to comment