On 4/26/20 1:17 AM, Maor Gottlieb wrote: > Add new ndo to get the xmit slave of master device. The reference > counters are not incremented so the caller must be careful with locks. > User can ask to get the xmit slave assume all the slaves can > transmit by set all_slaves arg to true. > > Signed-off-by: Maor Gottlieb <maorg@xxxxxxxxxxxx> > Reviewed-by: Jiri Pirko <jiri@xxxxxxxxxxxx> > --- > include/linux/netdevice.h | 12 ++++++++++++ > net/core/dev.c | 22 ++++++++++++++++++++++ > 2 files changed, 34 insertions(+) > Reviewed-by: David Ahern <dsahern@xxxxxxxxx>