Re: [PATCH 1/1] TX throttling bug-fixing patch of AX88179_178A

From: Ben Hutchings
Date: Mon Jul 22 2013 - 14:38:41 EST


On Mon, 2013-07-22 at 11:29 -0700, Grant Grundler wrote:
> On Mon, Jul 22, 2013 at 10:07 AM, Eric Dumazet <eric.dumazet@xxxxxxxxx> wrote:
> ...
> > I guess that if a driver does not advertise NETIF_F_SG, this
> > skb_linearize() call is not needed : All frames reaching your xmit
> > function should already be linear
>
> As Ben Hutchings pointed out, hw_features is still setting this...but
> I'm not sure how that matters.
>
> ax88179_set_features() doesn't allow setting SG or TSO features. But
> I expect it would be "not too difficult" to add such that ethtool
> could set those features after boot.
[...]

It already can. That's what putting feature flags in hw_features does.

Ben.

--
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/