]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: VF <-> PF channel 'acquire' at vf probe
authorAriel Elior <ariele@broadcom.com>
Tue, 1 Jan 2013 05:22:24 +0000 (05:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Jan 2013 09:45:05 +0000 (01:45 -0800)
commit46c1982fbaeb5493c65c161cecf85152ab1df1cf
tree5f3c6f995645e427cc8e7f48b681ebd3b80eaa0a
parentab49c7872a7564d4d5ef119125d0a8500405bbf3
bnx2x: VF <-> PF channel 'acquire' at vf probe

Add the 'acquire' request to VF <-> PF channel and use it at
VF probe. In the acquire request the VF driver lists the resources
it would like to have. In the response the PF either ratifies the
request, or denies it and supplies the maximum values supported.
The VF may then attempt another acquire request.
This patch adds the bnx2x_vfpf.c file which contains the
implementation of the VF to PF hardware channel.

Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/Makefile
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_reg.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c [new file with mode: 0644]
drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.h