[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKoUAr=jm0YP=c=bggOaA1MtK=funkX4WuD+FUVgDPidUi5Xnw@mail.gmail.com>
Date: Thu, 2 Jan 2014 14:40:10 +0200
From: Rami Rosen <roszenrami@...il.com>
To: Or Gerlitz <ogerlitz@...lanox.com>
Cc: Ben Hutchings <bhutchings@...arflare.com>,
netdev <netdev@...r.kernel.org>
Subject: Re: inconsistency of ethtool feature names for get vs. set
Hi,
3 short comments:
1) This is true also to setting GSO:
ethtool -k enp0s8 | grep generic-segmentation-offload
generic-segmentation-offload: on
ethtool -K enp0s8 generic-segmentation-offload off
ethtool: bad command line argument(s)
and
ethtool -K enp0s8 gso off
works.
and also to setting scatter-gather:
ethtool -k enp0s8 | grep scatter-gather
scatter-gather: off
ethtool -K enp0s8 scatter-gather on
ethtool: bad command line argument(s)
And
ethtool -K enp0s8 sg on
works.
2)
you said:
> ethtool -K eth1 rx-gro on
You can also use:
ethtool -K eth1 gro on
3)
>same problem for rx checksum which is displayed as "rx-checksumming" >by the get (-k)
>but need to be "rx-checksum" for the set (-K) directive.
You can also use:
ethtool -K eth1 rx on
or
ethtool -K eth1 rx off
The same for tx-checksum:
ethtool -K eth1 tx on
or
ethtool -K eth1 tx off
Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists