linux/drivers/net
Ariel Elior 49baea8816 bnx2x: set VF DMAE when first function has 0 supported VFs
There are possible HW configurations in which PFs will have SR-IOV capability
but will have Max VFs set to 0 - this happens when there are Multi-Function
devices where the VFs are allocated to only some of the PFs.

DMAE is configured to support VFs only if the configuring PF has supported VFs.
In case the first PF to be loaded will be one without supported VFs, it will
not configure DMAE to the VF-supporting mode. When VFs of other PFs will be
loaded later on, they will not be able to communicate with their PF.

This changes the requirement for configuring DMAE for VF-supporting mode;
If the device has SR-IOV capabilities there must be some PF that has
max supported VFs > 0, thus it will configure the DMAE for supporting VFs.

Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-08-20 00:21:48 -07:00
..
appletalk
arcnet arcnet: cleanup sizeof parameter 2013-07-19 17:36:03 -07:00
bonding bonding: modify only neigh_parms owned by us 2013-08-05 15:19:04 -07:00
caif drivers/net: caif: fix wrong rtnl_is_locked() usage 2013-07-09 12:55:48 -07:00
can can: pcan_usb: fix wrong memcpy() bytes length 2013-08-11 21:51:49 -07:00
cris
dsa
ethernet bnx2x: set VF DMAE when first function has 0 supported VFs 2013-08-20 00:21:48 -07:00
fddi
hamradio
hippi
hyperv hyperv: Fix the NETIF_F_SG flag setting in netvsc 2013-07-16 23:02:24 -07:00
ieee802154 drivers/net/ieee802154: don't use devm_pinctrl_get_select_default() in probe 2013-07-11 17:18:27 -07:00
irda
phy net: sun4i: fix timeout check 2013-07-24 17:04:20 -07:00
plip
ppp
slip
team
usb net/usb/r8152: adjust relative ocp function 2013-07-31 14:49:13 -07:00
vmxnet3
wan
wimax
wireless cw1200: Fix spurious BUG_ON() trigger when starting AP mode. 2013-08-05 14:46:07 -04:00
xen-netback
Kconfig
LICENSE.SRC
Makefile
Space.c
dummy.c dummy: fix oops when loading the dummy failed 2013-07-11 11:59:20 -07:00
eql.c
ifb.c ifb: fix oops when loading the ifb failed 2013-07-11 12:00:05 -07:00
loopback.c
macvlan.c macvlan: validate flags 2013-08-05 11:02:48 -07:00
macvtap.c macvtap: fix two races 2013-08-11 21:48:58 -07:00
mdio.c
mii.c
netconsole.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-07-09 18:24:39 -07:00
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
sungem_phy.c
tun.c tun: signedness bug in tun_get_user() 2013-08-15 14:51:23 -07:00
veth.c veth: add vlan features 2013-07-19 17:36:03 -07:00
virtio_net.c No real surprises. 2013-07-10 14:50:58 -07:00
vxlan.c vxlan: fix a soft lockup in vxlan module removal 2013-08-09 11:41:45 -07:00
xen-netfront.c xen-netfront: pull on receive skb may need to happen earlier 2013-07-17 12:51:19 -07:00