Re: [PATCH V6 mlx5-next 01/16] net/core: Introduce netdev_get_xmit_slave

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux