diff options
author | Vladimir Oltean <olteanv@gmail.com> | 2019-04-28 21:45:49 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-30 23:05:29 -0400 |
commit | cf2d45f5ba9a730df6ec190e0345cecde80b1d8b (patch) | |
tree | e36dc5253af934d1479e463c489d352d55180d3b /drivers/net/bonding/bond_procfs.c | |
parent | 145746765f06a3dbc7869c81d0165b3ab96f935a (diff) |
net: dsa: Add helper function to retrieve VLAN awareness setting
Since different types of hardware may or may not support this setting
per-port, DSA keeps it either in dsa_switch or in dsa_port.
While drivers may know the characteristics of their hardware and
retrieve it from the correct place without the need of helpers, it is
cumbersone to find out an unambigous answer from generic DSA code.
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_procfs.c')
0 files changed, 0 insertions, 0 deletions