ethtool: Add vmxnet3 register dump support
Subsystems (3)
PATCH 1/1 ethtool: Add vmxnet3 register dump support
This adds support for dumping vmxnet3 registers in a readable format.
Signed-off-by Shrikrishna Khare <[email protected]>
Signed-off-by Bhavesh Davda <[email protected]>
Acked-by Srividya Murali <[email protected]>
--- Makefile.am | 2 +- ethtool.c | 2 + internal.h | 3 + vmxnet3.c | 198 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 204 insertions(+), 1 deletion(-) create mode 100644 vmxnet3.c
Makefile.am +1 -1
@@ -13,7 +13,7 @@ ethtool_SOURCES += \ fec_8xx.c ibm_emac.c ixgb.c ixgbe.c natsemi.c \ pcnet32.c realtek.c tg3.c marvell.c vioc.c \ smsc911x.c at76c50x-usb.c sfc.c stmmac.c \ - sfpid.c sfpdiag.c ixgbevf.c tse.c + sfpid.c sfpdiag.c ixgbevf.c tse.c vmxnet3.c endif TESTS = test-cmdline test-features
ethtool.c +2 -0
@@ -20,6 +20,7 @@* Copyright 2009, 2010 Solarflare Communications * MDI-X set support by Jesse Brandeburg <[email protected]> * Copyright 2012 Intel Corporation +* vmxnet3 support by Shrikrishna Khare <[email protected]> * * TODO: * * show settings for all devices
@@ -974,6 +975,7 @@ static const struct { { "st_gmac", st_gmac_dump_regs }, { "et131x", et131x_dump_regs }, { "altera_tse", altera_tse_dump_regs }, + { "vmxnet3", vmxnet3_dump_regs }, #endif };
internal.h +3 -0
@@ -248,6 +248,9 @@ int et131x_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs);int altera_tse_dump_regs (struct ethtool_drvinfo *info,struct ethtool_regs *regs); +/* VMware vmxnet3 ethernet controller */ +int vmxnet3_dump_regs (struct ethtool_drvinfo *info,struct ethtool_regs *regs); +/* Rx flow classification */ int rxclass_parse_ruleopts (struct cmd_context *ctx,struct ethtool_rx_flow_spec *fsp);
vmxnet3.c new file +198 -0
198 lines not on this page · raw message
Signature · 1 line
1.8.5.6
Ben Hutchings
AppliedQuoted 5 lines · Shrikrishna Khare
This adds support for dumping vmxnet3 registers in a readable format.
Signed-off-by Shrikrishna Khare <[email protected]>Signed-off-by Bhavesh Davda <[email protected]>Acked-by Srividya Murali <[email protected]>
[...]
Applied, thanks.
Ben.
Signature · 2 lines
Ben Hutchings If the facts do not conform to your theory, they must be disposed of.