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)
commite0de7c93b950b9e784894efc4b529c6958cb747a
tree49a86ecc91a43e7d86fab75b3c36753d340c11d2
parente035587305011432ee07f69f9738b3c7ef7f3684
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