diff options
author | Maxime Chevallier <maxime.chevallier@bootlin.com> | 2025-03-07 18:36:08 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-03-18 09:03:12 +0100 |
commit | 3bea75002a05b86bf4d87773c456f39f7693f5c4 (patch) | |
tree | d8b3f5943bad9eb319e7466668c542268fd90199 /include/linux/fpga/fpga-mgr.h | |
parent | ce60fef7feccb5c71d5b49e489d24db7d79c2ac7 (diff) |
net: phylink: Add a mapping between MAC_CAPS and LINK_CAPS
phylink allows MAC drivers to report the capabilities in terms of speed,
duplex and pause support. This is done through a dedicated set of enum
values in the form of the MAC_ capabilities. They are very close to what
the LINK_CAPA_xxx can express, with the difference that LINK_CAPA don't
have any information about Pause/Asym Pause support.
To prepare converting phylink to using the phy_caps, add the mapping
between MAC capabilities and phy_caps. While doing so, we move the
phylink_caps_params array up a bit to simplify future commits.
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20250307173611.129125-12-maxime.chevallier@bootlin.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions