]> www.infradead.org Git - users/jedix/linux-maple.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)
committerBrian Maly <brian.maly@oracle.com>
Tue, 19 Mar 2019 16:09:03 +0000 (12:09 -0400)
commitadfad62f3e8f34d3a58547a397fffb825b520621
tree850ae6599f1822d7337b6b5e8a45cb23629ae698
parenta01c26219c4f189a9339b059b39f101f1e08ea14
net: add netif_is_lag_port helper

Orabug: 29495360

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>
(cherry picked from commit e0ba1414f310c83bf425fe26fa2cd5f1befcd6dc)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
include/linux/netdevice.h