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)
commite0ba1414f310c83bf425fe26fa2cd5f1befcd6dc
tree2baa02a0b3dc797e6fe96d30e87d443fe30be2f0
parent7be61833042e7757745345eedc7b0efee240c189
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