aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorParav Pandit <[email protected]>2021-08-10 16:24:15 +0300
committerDavid S. Miller <[email protected]>2021-08-11 14:34:21 +0100
commitf13a5ad88186c142b4f6060fb06f0f8fb1674915 (patch)
tree911bf5f21dbdfa095ab194876617f61de7bd8dc4 /tools/perf/scripts/python/net_dropmonitor.py
parente9c130ad665c60dc965feb4d84580a01c7abb9e4 (diff)
devlink: Add new "enable_eth" generic device param
Add new device generic parameter to enable/disable creation of Ethernet auxiliary device and associated device functionality in the devlink instance. User who prefers to disable such functionality can disable it using below example. $ devlink dev param set pci/0000:06:00.0 \ name enable_eth value false cmode driverinit $ devlink dev reload pci/0000:06:00.0 At this point devlink instance do not create auxiliary device for the Ethernet functionality. Signed-off-by: Parav Pandit <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions