net: add netif_is_lag_master helper
authorJiri Pirko <jiri@mellanox.com>
Thu, 3 Dec 2015 11:12:08 +0000 (12:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2015 16:49:24 +0000 (11:49 -0500)
commit7be61833042e7757745345eedc7b0efee240c189
treeb12d1367e6cbf7e993d2ba795c45b11d3e799289
parentf7f019ee6d117de5007d0b10e7960696bbf111eb
net: add netif_is_lag_master helper

Some code does not mind if the master is bond or team and treats them
the same, as generic LAG.

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