commit | e812916d3278baf03aabf10044661fc3b2848823 | [log] [tgz] |
---|---|---|
author | Alexander Lobakin <alobakin@marvell.com> | Mon Jul 20 21:08:00 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 20 17:59:43 2020 -0700 |
tree | 42169d53b622b5e80437e45df3b6d2eb8b0e666b | |
parent | cfd6920175ac848e057ed258e87c427792f371d0 [diff] |
linkmode: introduce linkmode_intersects() Add a new helper to find intersections between Ethtool link modes, linkmode_intersects(), similar to the other linkmode helpers. Signed-off-by: Alexander Lobakin <alobakin@marvell.com> Signed-off-by: Igor Russkikh <irusskikh@marvell.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>