linux/drivers/net/ethernet/sfc
Ben Hutchings 7850f63f16 ethtool: Centralise validation of ETHTOOL_{G, S}RXFHINDIR parameters
Add a new ethtool operation (get_rxfh_indir_size) to get the
indirectional table size.  Use this to validate the user buffer size
before calling get_rxfh_indir or set_rxfh_indir.  Use get_rxnfc to get
the number of RX rings, and validate the contents of the new
indirection table before calling set_rxfh_indir.  Remove this
validation from drivers.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Acked-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-12-16 13:52:47 -05:00
..
bitfield.h
efx.c net: introduce and use netdev_features_t for device features sets 2011-11-16 17:43:10 -05:00
efx.h
enum.h
ethtool.c ethtool: Centralise validation of ETHTOOL_{G, S}RXFHINDIR parameters 2011-12-16 13:52:47 -05:00
falcon.c
falcon_boards.c
falcon_xmac.c
filter.c
filter.h
io.h
Kconfig
mac.h
Makefile
mcdi.c
mcdi.h
mcdi_mac.c
mcdi_pcol.h
mcdi_phy.c
mdio_10g.c
mdio_10g.h
mtd.c
net_driver.h net: introduce and use netdev_features_t for device features sets 2011-11-16 17:43:10 -05:00
nic.c
nic.h
phy.h
qt202x_phy.c
regs.h
rx.c sfc: Use kcalloc instead of kzalloc to allocate array 2011-12-04 01:32:06 -05:00
selftest.c sfc: Use kcalloc instead of kzalloc to allocate array 2011-12-04 01:32:06 -05:00
selftest.h
siena.c
spi.h
tenxpress.c
tx.c sfc: Use kcalloc instead of kzalloc to allocate array 2011-12-04 01:32:06 -05:00
txc43128_phy.c
workarounds.h