]> git.baikalelectronics.ru Git - kernel.git/commit
net: add netif_is_lag_port helper
authorJiri Pirko <jiri@mellanox.com>
Thu, 3 Dec 2015 11:12:09 +0000 (12:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2015 16:49:24 +0000 (11:49 -0500)
commit4646060e94b74e9411d949b6da143df621271cb5
tree2baa02a0b3dc797e6fe96d30e87d443fe30be2f0
parent30276fd4a83e9fbec3b67c5fb3510960cdc7a28e
net: add netif_is_lag_port helper

Some code does not mind if a device is bond slave or team port and treats
them the same, as generic LAG ports.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h