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

2019-02-04 Thread Jakub Kicinski
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 Ac

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

2019-02-04 Thread Florian Fainelli
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 --- .../ethernet/netronome/nfp/nfp_net_common.c | 4 +--- .../net/eth