lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220315031834.56676-1-wangjie125@huawei.com>
Date:   Tue, 15 Mar 2022 11:18:32 +0800
From:   Jie Wang <wangjie125@...wei.com>
To:     <mkubecek@...e.cz>, <davem@...emloft.net>, <kuba@...nel.org>,
        <wangjie125@...wei.com>
CC:     <netdev@...r.kernel.org>, <huangguangbin2@...wei.com>,
        <lipeng321@...wei.com>, <shenjian15@...wei.com>,
        <moyufeng@...wei.com>, <linyunsheng@...wei.com>,
        <tanhuazhong@...wei.com>, <salil.mehta@...wei.com>,
        <chenhao288@...ilicon.com>
Subject: [RFC ethtool 0/2] add new ethtool command to support features contained entirely to driver

Currently ethtool doesn't have a command for features entirely belongs to
the driver.

So this patch add cmd "ethtool --set-dev-features <dev> tx-push [on |off]"
and "ethtool --show-dev-features <dev>" for new features contained to the 
driver. Examples are as follow:

1. set tx push mode
$ ethtool --set-dev-features eth2 tx-push on

2. get tx push mode
$ ethtool --show-dev-features eth2

Jie Wang (2):
  ethtool: add has_input struct cmdline_info to record cmdline params
  ethtool: add support to get/set device features

 ethtool.c            | 116 +++++++++++++++++++++++++++++++++++++++++++
 uapi/linux/ethtool.h |  27 ++++++++++
 2 files changed, 143 insertions(+)

-- 
2.33.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ