aboutsummaryrefslogtreecommitdiff
path: root/security/bpf
diff options
context:
space:
mode:
authorAlexander Duyck2021-03-16 17:30:36 -0700
committerDavid S. Miller2021-03-17 11:42:30 -0700
commit7888fe53b7066c284e172d98d98d1865d6a9e5a0 (patch)
tree7774816ad11687302b0fc973e93179e3eda1e586 /security/bpf
parent0c88eda9f5590eac0ac7e1963dd1f35b25b39c62 (diff)
ethtool: Add common function for filling out strings
Add a function to handle the common pattern of printing a string into the ethtool strings interface and incrementing the string pointer by the ETH_GSTRING_LEN. Most of the drivers end up doing this and several have implemented their own versions of this function so it would make sense to consolidate on one implementation. Signed-off-by: Alexander Duyck <alexanderduyck@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/bpf')
0 files changed, 0 insertions, 0 deletions