Re: [PATCH net-next V2 1/8] net: netdevice: Add operation ndo_sk_get_slave

2021-01-17 Thread Tariq Toukan
On 1/17/2021 4:51 AM, Jakub Kicinski wrote: On Thu, 14 Jan 2021 20:01:28 +0200 Tariq Toukan wrote: ndo_sk_get_slave returns the slave that corresponds to a given socket. Additionally, we implement a helper netdev_sk_get_lowest_dev() to get the lowest slave netdevice. Please don't add new us

Re: [PATCH net-next V2 1/8] net: netdevice: Add operation ndo_sk_get_slave

2021-01-16 Thread Jakub Kicinski
On Thu, 14 Jan 2021 20:01:28 +0200 Tariq Toukan wrote: > ndo_sk_get_slave returns the slave that corresponds to a given socket. > Additionally, we implement a helper netdev_sk_get_lowest_dev() to get > the lowest slave netdevice. Please don't add new uses of the word "slave" outside of the bond,

[PATCH net-next V2 1/8] net: netdevice: Add operation ndo_sk_get_slave

2021-01-14 Thread Tariq Toukan
ndo_sk_get_slave returns the slave that corresponds to a given socket. Additionally, we implement a helper netdev_sk_get_lowest_dev() to get the lowest slave netdevice. Signed-off-by: Tariq Toukan Reviewed-by: Boris Pismenny --- include/linux/netdevice.h | 4 net/core/dev.c| 3