Thread (4 messages) flat view 4 messages, 4 authors, 2018-09-10

Re: [PATCH net-next] net: dsa: Expose tagging protocol to user-space

From: Jiri Pirko <jiri@resnulli.us>
Date: 2018-09-08 09:47:45
Also in: lkml

Fri, Sep 07, 2018 at 08:09:02PM CEST, f.fainelli@gmail.com wrote:
There is no way for user-space to know what a given DSA network device's
tagging protocol is. Expose this information through a dsa/tagging
attribute which reflects the tagging protocol currently in use.

This is helpful for configuration (e.g: none behaves dramatically
different wrt. bridges) as well as for packet capture tools when there
is not a proper Ethernet type available.

Hmm, I wonder. It this something that varies between ports of an
individual ASIC? Or is it rather something defined per-ASIC. If so, this
looks more like a devlink-api material.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help