alistair23-linux/drivers/net/ethernet/broadcom/bnx2x
Ariel Elior 005a07baa1 bnx2x: Set ethtool ops for vfs
Virtual functions don't have access to HW registers, therefore most ethtool ops
are forbidden to them. Instead of checking in each op whether the device being
driven is a virtual function or a physical function, this patch creates a
separate ethtool ops struct for virtual functions and uses it to initialize
the ethtool ops of the driver in case it is driving a virtual function device.

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-03-12 07:54:21 -04:00
..
bnx2x.h bnx2x: Set ethtool ops for vfs 2013-03-12 07:54:21 -04:00
bnx2x_cmn.c bnx2x: fix UDP checksum for 57710/57711. 2013-02-27 13:10:35 -05:00
bnx2x_cmn.h bnx2x: use the default NAPI weight 2013-03-05 23:40:01 -05:00
bnx2x_dcb.c bnx2x: Semantic renovation 2013-01-23 13:58:27 -05:00
bnx2x_dcb.h bnx2x: Introduce 2013 and advance version to 1.78.02 2013-01-15 15:07:59 -05:00
bnx2x_dump.h bnx2x: add `ethtool -w' support. 2013-01-15 15:07:59 -05:00
bnx2x_ethtool.c bnx2x: Set ethtool ops for vfs 2013-03-12 07:54:21 -04:00
bnx2x_fw_defs.h bnx2x: Semantic renovation 2013-01-23 13:58:27 -05:00
bnx2x_fw_file_hdr.h bnx2x: Introduce 2013 and advance version to 1.78.02 2013-01-15 15:07:59 -05:00
bnx2x_hsi.h bnx2x: Remove many sparse warnings 2013-01-23 13:58:29 -05:00
bnx2x_init.h bnx2x: Introduce 2013 and advance version to 1.78.02 2013-01-15 15:07:59 -05:00
bnx2x_init_ops.h bnx2x: Remove many sparse warnings 2013-01-23 13:58:29 -05:00
bnx2x_link.c bnx2x: Fix SFP+ misconfiguration in iSCSI boot scenario 2013-03-08 00:35:44 -05:00
bnx2x_link.h bnx2x: Fix SFP+ misconfiguration in iSCSI boot scenario 2013-03-08 00:35:44 -05:00
bnx2x_main.c bnx2x: Set ethtool ops for vfs 2013-03-12 07:54:21 -04:00
bnx2x_mfw_req.h bnx2x: Introduce 2013 and advance version to 1.78.02 2013-01-15 15:07:59 -05:00
bnx2x_reg.h bnx2x: Introduce 2013 and advance version to 1.78.02 2013-01-15 15:07:59 -05:00
bnx2x_sp.c bnx2x: fix vlan-mac memory leak 2013-03-12 07:54:21 -04:00
bnx2x_sp.h bnx2x: Remove many sparse warnings 2013-01-23 13:58:29 -05:00
bnx2x_sriov.c bnx2x: SR-IOV version compatibility bugfix 2013-01-23 13:58:30 -05:00
bnx2x_sriov.h bnx2x: correct memory release scheme 2013-01-23 13:58:29 -05:00
bnx2x_stats.c bnx2x: Remove many sparse warnings 2013-01-23 13:58:29 -05:00
bnx2x_stats.h bnx2x: Remove many sparse warnings 2013-01-23 13:58:29 -05:00
bnx2x_vfpf.c bnx2x: remove dead code and make local funcs static 2013-02-24 20:16:02 -05:00
bnx2x_vfpf.h bnx2x: SR-IOV version compatibility bugfix 2013-01-23 13:58:30 -05:00
Makefile bnx2x: Segregate SR-IOV code 2013-01-07 19:49:14 -08:00