summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2025-09-30 15:45:06 +0200
committerPaolo Abeni <pabeni@redhat.com>2025-10-01 09:48:21 +0200
commit1a98f5699bd57c9b3f66ec54cc38571d5e42ffb1 (patch)
tree47d4b17cf43cc060883816af98c2703c11737e1f /include/linux
parent3cfb33f92dfb118ccaec5613c677f444af12bcc7 (diff)
Revert "Documentation: net: add flow control guide and document ethtool API"
This reverts commit 7bd80ed89d72285515db673803b021469ba71ee8. I should not have merged it to begin with due to pending review and changes to be addressed. Link: https://patch.msgid.link/c6f3af12df9b7998920a02027fc8893ce82afc4c.1759239721.git.pabeni@redhat.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ethtool.h45
1 files changed, 3 insertions, 42 deletions
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h
index eeed1ea50369..c2d8b4ec62eb 100644
--- a/include/linux/ethtool.h
+++ b/include/linux/ethtool.h
@@ -953,48 +953,9 @@ struct kernel_ethtool_ts_info {
* @get_pause_stats: Report pause frame statistics. Drivers must not zero
* statistics which they don't report. The stats structure is initialized
* to ETHTOOL_STAT_NOT_SET indicating driver does not report statistics.
- *
- * @get_pauseparam: Report the configured policy for link-wide PAUSE
- * (IEEE 802.3 Annex 31B). Drivers must fill struct ethtool_pauseparam
- * such that:
- * @autoneg:
- * This refers to **Pause Autoneg** (IEEE 802.3 Annex 31B) only
- * and is independent of generic link autonegotiation configured
- * via ethtool -s.
- * true -> the device follows the negotiated result of pause
- * autonegotiation (Pause/Asym);
- * false -> the device uses a forced MAC state independent of
- * negotiation.
- * @rx_pause/@tx_pause:
- * represent the desired policy (preferred configuration).
- * In autoneg mode they describe what is to be advertised;
- * in forced mode they describe the MAC state to apply.
- *
- * Drivers (and/or frameworks) should persist this policy across link
- * changes and reapply appropriate MAC programming when link parameters
- * change.
- *
- * @set_pauseparam: Apply a policy for link-wide PAUSE (IEEE 802.3 Annex 31B).
- * If @autoneg is true:
- * Arrange for pause advertisement (Pause/Asym) based on
- * @rx_pause/@tx_pause and program the MAC to follow the
- * negotiated result (which may be symmetric, asymmetric, or off
- * depending on the link partner).
- * If @autoneg is false:
- * Do not rely on autonegotiation; force the MAC RX/TX pause
- * state directly per @rx_pause/@tx_pause.
- *
- * Implementations that integrate with PHYLIB/PHYLINK should cooperate
- * with those frameworks for advertisement and resolution; MAC drivers are
- * still responsible for applying the required MAC state.
- *
- * Return: 0 on success or a negative errno. Return -EOPNOTSUPP if
- * link-wide PAUSE is unsupported. If only symmetric pause is supported,
- * reject unsupported asymmetric requests with -EINVAL (or document any
- * coercion policy).
- *
- * See also: Documentation/networking/flow_control.rst
- *
+ * @get_pauseparam: Report pause parameters
+ * @set_pauseparam: Set pause parameters. Returns a negative error code
+ * or zero.
* @self_test: Run specified self-tests
* @get_strings: Return a set of strings that describe the requested objects
* @set_phys_id: Identify the physical devices, e.g. by flashing an LED