Skip to content

RFC Add extended pause query capability

Matt Carlson netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ethtool: Add extended flow control query facilityinclude/linux/ethtool.h net/core/ethtool.c+67 -60 replies
2/2tg3: Convert to get_pauseparamextdrivers/net/ethernet/broadcom/tg3.c+20 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH RFC 0/2] Add extended pause query capability

The current implementation of get_pauseparam allows userspace to query the flow control configuration, but not the flow control status. This patchset defines a new ethtool_pauseparamext structure and adds a new get_pauseparamext ethtool callback to support it. The new facilities allow the driver to report both config and status in the same query.

Please note that Ben Hutchings' suggestion to deduce the flow control settings through the 'advertising' and 'lp_advertising' from ETHTOOL_GSET was considered, but rejected because there was no way to know if the flow control advertisements reported were valid.