]> git.baikalelectronics.ru Git - kernel.git/commit
ethtool: Remove unimplemented flow specification types
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 14 Sep 2010 09:13:08 +0000 (09:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Sep 2010 21:42:13 +0000 (14:42 -0700)
commit4be67b35c278b44da9c2078fa3b42c20d558e250
tree49a86ecc91a43e7d86fab75b3c36753d340c11d2
parent46290c5367e4759eb7e114f5d6088defc12502f3
ethtool: Remove unimplemented flow specification types

struct ethtool_rawip4_spec and struct ethtool_ether_spec are neither
commented nor used by any driver, so remove them.  Adjust padding in
the user-visible unions that included these structures.

Fix references to struct ethtool_rawip4_spec in
ethtool_get_rx_ntuple(), which should use struct ethtool_usrip4_spec.

struct ethtool_usrip4_spec cannot hold IPv6 host addresses and there
is no separate structure that can, so remove ETH_RX_NFC_IP6 and the
reference to it in niu.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/niu.c
include/linux/ethtool.h
net/core/ethtool.c