linux_dsm_epyc7002/drivers/net/ethernet
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
..
3com
8390
adaptec
adi
aeroflex
alteon
amd
apple
atheros
broadcom ethtool: Centralise validation of ETHTOOL_{G, S}RXFHINDIR parameters 2011-12-16 13:52:47 -05:00
brocade
cadence
calxeda
chelsio ethtool: Centralise validation of ETHTOOL_{G, S}RXFHINDIR parameters 2011-12-16 13:52:47 -05:00
cirrus
cisco
davicom
dec
dlink
emulex
faraday
freescale Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2011-12-16 02:11:14 -05:00
fujitsu
hp
i825xx
ibm
icplus
intel
marvell
mellanox
micrel
microchip
myricom
natsemi
neterion
nuvoton
nvidia
octeon
oki-semi
packetengines
pasemi
qlogic
racal
rdc
realtek
renesas
seeq
sfc ethtool: Centralise validation of ETHTOOL_{G, S}RXFHINDIR parameters 2011-12-16 13:52:47 -05:00
sgi
silan
sis
smsc
stmicro
sun
tehuti
ti
tile
toshiba
tundra
via
xilinx
xircom
xscale
dnet.c
dnet.h
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
Makefile
mipsnet.c
netx-eth.c
s6gmac.c