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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87a75br4ze.fsf@linux.intel.com>
Date:   Fri, 21 Feb 2020 13:43:33 -0800
From:   Vinicius Costa Gomes <vinicius.gomes@...el.com>
To:     Po Liu <po.liu@....com>,
        "davem\@davemloft.net" <davem@...emloft.net>,
        "hauke.mehrtens\@intel.com" <hauke.mehrtens@...el.com>,
        "gregkh\@linuxfoundation.org" <gregkh@...uxfoundation.org>,
        "allison\@lohutok.net" <allison@...utok.net>,
        "tglx\@linutronix.de" <tglx@...utronix.de>,
        "hkallweit1\@gmail.com" <hkallweit1@...il.com>,
        "saeedm\@mellanox.com" <saeedm@...lanox.com>,
        "andrew\@lunn.ch" <andrew@...n.ch>,
        "f.fainelli\@gmail.com" <f.fainelli@...il.com>,
        "alexandru.ardelean\@analog.com" <alexandru.ardelean@...log.com>,
        "jiri\@mellanox.com" <jiri@...lanox.com>,
        "ayal\@mellanox.com" <ayal@...lanox.com>,
        "pablo\@netfilter.org" <pablo@...filter.org>,
        "linux-kernel\@vger.kernel.org" <linux-kernel@...r.kernel.org>,
        "netdev\@vger.kernel.org" <netdev@...r.kernel.org>
Cc:     "simon.horman\@netronome.com" <simon.horman@...ronome.com>,
        Claudiu Manoil <claudiu.manoil@....com>,
        Vladimir Oltean <vladimir.oltean@....com>,
        Alexandru Marginean <alexandru.marginean@....com>,
        Xiaoliang Yang <xiaoliang.yang_1@....com>,
        Roy Zang <roy.zang@....com>, Mingkai Hu <mingkai.hu@....com>,
        Jerry Huang <jerry.huang@....com>, Leo Li <leoyang.li@....com>,
        Po Liu <po.liu@....com>
Subject: Re: [v1,net-next, 1/2] ethtool: add setting frame preemption of traffic classes

Hi,

Po Liu <po.liu@....com> writes:

> IEEE Std 802.1Qbu standard defined the frame preemption of port
> traffic classes. This patch introduce a method to set traffic
> classes preemption. Add a parameter 'preemption' in struct
> ethtool_link_settings. The value will be translated to a binary,
> each bit represent a traffic class. Bit "1" means preemptable
> traffic class. Bit "0" means express traffic class.  MSB represent
> high number traffic class.
>
> If hardware support the frame preemption, driver could set the
> ethernet device with hw_features and features with NETIF_F_PREEMPTION
> when initializing the port driver.
>
> User can check the feature 'tx-preemption' by command 'ethtool -k
> devname'. If hareware set preemption feature. The property would
> be a fixed value 'on' if hardware support the frame preemption.
> Feature would show a fixed value 'off' if hardware don't support
> the frame preemption.
>
> Command 'ethtool devname' and 'ethtool -s devname preemption N'
> would show/set which traffic classes are frame preemptable.
>
> Port driver would implement the frame preemption in the function
> get_link_ksettings() and set_link_ksettings() in the struct ethtool_ops.
>

Any updates on this series? If you think that there's something that I
could help, just tell.


Cheers,
-- 
Vinicius

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ