]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5012d4ede6b1313e406265c4c8b49ffebb8fc856
treec51947d97236e93656df928cb9b6055e03a950b6
parent15f7b9b031bf2e6fb1884fb2c2263cc0ac0b5953
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