[PATCH 07/12] nfp: Implement ndo_get_port_parent_id()

Jakub Kicinski jakub.kicinski at netronome.com
Tue Feb 5 03:49:25 UTC 2019


On Mon,  4 Feb 2019 15:36:28 -0800, Florian Fainelli wrote:
> NFP only supports SWITCHDEV_ATTR_ID_PORT_PARENT_ID, which makes it a
> great candidate to be converted to use the ndo_get_port_parent_id() NDO
> instead of implementing switchdev_port_attr_get().
> 
> Signed-off-by: Florian Fainelli <f.fainelli at gmail.com>

Acked-by: Jakub Kicinski <jakub.kicinski at netronome.com>

Very nice!!  Hopefully nobody hates this approach :)


More information about the devel mailing list