diff options
author | Alexander Lobakin <alobakin@marvell.com> | 2020-07-20 21:08:01 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-21 03:59:43 +0300 |
commit | bdb5d8ec47611ca61e168349f233e1dd1ed063f4 (patch) | |
tree | 2e03c2e0ce92bd1e8e09bfb07b8cd1645f62e928 /mm | |
parent | e812916d3278baf03aabf10044661fc3b2848823 (diff) | |
download | linux-bdb5d8ec47611ca61e168349f233e1dd1ed063f4.tar.xz |
qed, qede, qedf: convert link mode from u32 to ETHTOOL_LINK_MODE
Currently qed driver already ran out of 32 bits to store link modes,
and this doesn't allow to add and support more speeds.
Convert custom link mode to generic Ethtool bitmap and definitions
(convenient Phylink shorthands are used for elegance and readability).
This allowed us to drop all conversions/mappings between the driver
and Ethtool.
This involves changes in qede and qedf as well, as they used definitions
from shared "qed_if.h".
Suggested-by: Andrew Lunn <andrew@lunn.ch>
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions