All of lore.kernel.org
 help / color / mirror / Atom feed
* Ethtool question
@ 2017-10-11 16:51 Ben Greear
  2017-10-11 20:44 ` John W. Linville
  0 siblings, 1 reply; 7+ messages in thread
From: Ben Greear @ 2017-10-11 16:51 UTC (permalink / raw)
  To: netdev

I noticed today that setting some ethtool settings to the same value
returns an error code.  I would think this should silently return
success instead?  Makes it easier to call it from scripts this way:

[root@lf0313-6477 lanforge]# ethtool -L eth3 combined 1
combined unmodified, ignoring
no channel parameters changed, aborting
current values: tx 0 rx 0 other 1 combined 1
[root@lf0313-6477 lanforge]# echo $?
1

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

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

end of thread, other threads:[~2017-10-17  7:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-11 16:51 Ethtool question Ben Greear
2017-10-11 20:44 ` John W. Linville
2017-10-11 20:49   ` David Miller
2017-10-12 21:45     ` Ben Greear
2017-10-12 22:00       ` Roopa Prabhu
2017-10-16 18:10         ` Ben Greear
2017-10-17  7:49           ` Gal Pressman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.