OSDN Git Service

ethtool: move string arrays into common file
authorMichal Kubecek <mkubecek@suse.cz>
Wed, 11 Dec 2019 09:58:29 +0000 (10:58 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Dec 2019 01:07:05 +0000 (17:07 -0800)
commitd44e13108b6da4e1c4778bd654a470208e02ef37
treec51947d97236e93656df928cb9b6055e03a950b6
parent9ce48e5a09ea63a7867647af68caa0605d99757d
ethtool: move string arrays into common file

Introduce file net/ethtool/common.c for code shared by ioctl and netlink
ethtool interface. Move name tables of features, RSS hash functions,
tunables and PHY tunables into this file.

Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ethtool/Makefile
net/ethtool/common.c [new file with mode: 0644]
net/ethtool/common.h [new file with mode: 0644]
net/ethtool/ioctl.c