lkml.org 
[lkml]   [2019]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH net-next v8 06/14] ethtool: provide string sets with STRSET_GET request
From
Date


On 12/22/2019 3:45 PM, Michal Kubecek wrote:
> Requests a contents of one or more string sets, i.e. indexed arrays of
> strings; this information is provided by ETHTOOL_GSSET_INFO and
> ETHTOOL_GSTRINGS commands of ioctl interface. Unlike ioctl interface, all
> information can be retrieved with one request and mulitple string sets can
> be requested at once.
>
> There are three types of requests:
>
> - no NLM_F_DUMP, no device: get "global" stringsets
> - no NLM_F_DUMP, with device: get string sets related to the device
> - NLM_F_DUMP, no device: get device related string sets for all devices
>
> Client can request either all string sets of given type (global or device
> related) or only specific sets. With ETHTOOL_A_STRSET_COUNTS flag set, only
> set sizes (numbers of strings) are returned.
>
> Signed-off-by: Michal Kubecek <mkubecek@suse.cz>

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
--
Florian

\
 
 \ /
  Last update: 2019-12-24 05:29    [W:0.127 / U:14.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site