[PATCH net-next v3 8/8] net: Get rid of switchdev_port_attr_get()

Jiri Pirko jiri at resnulli.us
Thu Feb 21 09:57:52 UTC 2019


Thu, Feb 21, 2019 at 01:58:26AM CET, f.fainelli at gmail.com wrote:
>With the bridge no longer calling switchdev_port_attr_get() to obtain
>the supported bridge port flags from a driver but instead trying to set
>the bridge port flags directly and relying on driver to reject
>unsupported configurations, we can effectively get rid of
>switchdev_port_attr_get() entirely since this was the only place where
>it was called.
>
>Signed-off-by: Florian Fainelli <f.fainelli at gmail.com>

Acked-by: Jiri Pirko <jiri at mellanox.com>

Thanks!


More information about the devel mailing list