summaryrefslogtreecommitdiffstats
path: root/include/net/gue.h
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2019-02-20 16:58:19 -0800
committerDavid S. Miller <davem@davemloft.net>2019-02-21 14:55:13 -0800
commit746dc184ba59aa2c843b9e888be3f1302d227b74 (patch)
treeff3d2739fa128df049337baefba53270a6c8e94d /include/net/gue.h
parentdb088ca3c13983b250ea6efc24148e8617d59ffb (diff)
downloadlinux-746dc184ba59aa2c843b9e888be3f1302d227b74.tar.bz2
net: switchdev: Add PORT_PRE_BRIDGE_FLAGS
In preparation for removing switchdev_port_attr_get(), introduce PORT_PRE_BRIDGE_FLAGS which will be called through switchdev_port_attr_set(), in the caller's context (possibly atomic) and which must be checked by the switchdev driver in order to return whether the operation is supported or not. This is entirely analoguous to how the BRIDGE_FLAGS_SUPPORT works, except it goes through a set() instead of get(). Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/gue.h')
0 files changed, 0 insertions, 0 deletions