netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC 0/2] Add extended pause query capability
@ 2011-10-14 20:54 Matt Carlson
  2011-10-14 20:55 ` Matt Carlson
  2011-10-19 20:05 ` Ben Hutchings
  0 siblings, 2 replies; 3+ messages in thread
From: Matt Carlson @ 2011-10-14 20:54 UTC (permalink / raw)
  To: davem; +Cc: netdev, mcarlson, bhutchings

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-19 20:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-14 20:54 [PATCH RFC 0/2] Add extended pause query capability Matt Carlson
2011-10-14 20:55 ` Matt Carlson
2011-10-19 20:05 ` Ben Hutchings

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).