On Mon, 14 Sep 2020 19:18:08 +0200 Andrew Lunn wrote:
> On Mon, Sep 14, 2020 at 08:48:10AM -0700, Jakub Kicinski wrote:
> > On Mon, 14 Sep 2020 03:48:40 +0200 Andrew Lunn wrote:
> > > > static int pause_prepare_data(const struct ethnl_req_info *req_base,
> > > > @@ -34,10 +36,17 @@ static int pa
On Mon, Sep 14, 2020 at 08:48:10AM -0700, Jakub Kicinski wrote:
> On Mon, 14 Sep 2020 03:48:40 +0200 Andrew Lunn wrote:
> > > static int pause_prepare_data(const struct ethnl_req_info *req_base,
> > > @@ -34,10 +36,17 @@ static int pause_prepare_data(const struct
> > > ethnl_req_info *req_base,
>
On Mon, 14 Sep 2020 03:48:40 +0200 Andrew Lunn wrote:
> > static int pause_prepare_data(const struct ethnl_req_info *req_base,
> > @@ -34,10 +36,17 @@ static int pause_prepare_data(const struct
> > ethnl_req_info *req_base,
> >
> > if (!dev->ethtool_ops->get_pauseparam)
> > retu
> static int pause_prepare_data(const struct ethnl_req_info *req_base,
> @@ -34,10 +36,17 @@ static int pause_prepare_data(const struct ethnl_req_info
> *req_base,
>
> if (!dev->ethtool_ops->get_pauseparam)
> return -EOPNOTSUPP;
> +
> ret = ethnl_ops_begin(dev);
>
Currently drivers have to report their pause frames statistics
via ethtool -S, and there is a wide variety of names used for
these statistics.
Add the two statistics defined in IEEE 802.3x to the standard
API. Create a new ethtool request header flag for including
statistics in the response to GET