OpenCloudOS-Kernel/drivers/net/ethernet/broadcom/bnx2x
Ben Hutchings 278bc4296b ethtool: Define and apply a default policy for RX flow hash indirection
All drivers that support modification of the RX flow hash indirection
table initialise it in the same way: RX rings are assigned to table
entries in rotation.  Make that default policy explicit by having them
call a ethtool_rxfh_indir_default() function.

In the ethtool core, add support for a zero size value for
ETHTOOL_SRXFHINDIR, which resets the table to this default.

Partly-suggested-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Acked-by: Shreyas N Bhatewara <sbhatewara@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-12-16 13:53:18 -05:00
..
Makefile broadcom: Move the Broadcom drivers 2011-08-10 19:54:39 -07:00
bnx2x.h bnx2x, cnic: support DRV_INFO upon FW request 2011-12-06 13:06:05 -05:00
bnx2x_cmn.c ethtool: Define and apply a default policy for RX flow hash indirection 2011-12-16 13:53:18 -05:00
bnx2x_cmn.h bnx2x: properly initialize L5 features 2011-12-08 19:58:35 -05:00
bnx2x_dcb.c bnx2x: DCBX: use #define instead of magic 2011-11-13 16:03:54 -05:00
bnx2x_dcb.h bnx2x: DCBX: use #define instead of magic 2011-11-13 16:03:54 -05:00
bnx2x_dump.h broadcom: Move the Broadcom drivers 2011-08-10 19:54:39 -07:00
bnx2x_ethtool.c ethtool: Centralise validation of ETHTOOL_{G, S}RXFHINDIR parameters 2011-12-16 13:52:47 -05:00
bnx2x_fw_defs.h broadcom: Move the Broadcom drivers 2011-08-10 19:54:39 -07:00
bnx2x_fw_file_hdr.h broadcom: Move the Broadcom drivers 2011-08-10 19:54:39 -07:00
bnx2x_hsi.h bnx2x, cnic: support DRV_INFO upon FW request 2011-12-06 13:06:05 -05:00
bnx2x_init.h broadcom: Move the Broadcom drivers 2011-08-10 19:54:39 -07:00
bnx2x_init_ops.h broadcom: Move the Broadcom drivers 2011-08-10 19:54:39 -07:00
bnx2x_link.c bnx2x: Change value comparison order 2011-11-28 19:02:25 -05:00
bnx2x_link.h bnx2x: ETS changes 2011-11-28 19:02:22 -05:00
bnx2x_main.c bnx2x: handle vpd data longer than 128 bytes 2011-12-14 13:34:55 -05:00
bnx2x_reg.h bnx2x: Fix BCM84833 link and LED behavior 2011-11-28 19:02:23 -05:00
bnx2x_sp.c bnx2x: support classification config query 2011-12-06 13:06:05 -05:00
bnx2x_sp.h bnx2x: support classification config query 2011-12-06 13:06:05 -05:00
bnx2x_stats.c bnx2x, cnic: support DRV_INFO upon FW request 2011-12-06 13:06:05 -05:00
bnx2x_stats.h bnx2x: add PFC statistics 2011-12-06 13:06:04 -05:00