RFC Add extended pause query capability
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ethtool: Add extended flow control query facilityinclude/ net/ | +67 | 0 replies | |
| 2/2 | tg3: Convert to get_pauseparamextdrivers/ | +20 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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.