All of lore.kernel.org
 help / color / mirror / Atom feed
* pktgen and tos
@ 2014-08-20 21:52 Ben Greear
  2014-08-21  3:05 ` Cong Wang
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Greear @ 2014-08-20 21:52 UTC (permalink / raw)
  To: netdev@vger.kernel.org

Here's a half-arsed bug report, in case someone is bored.

At least in my hacked up pktgen, you cannot set a one-digit tos,
because the parser fails if length is not 2 digits.

echo tos 4 > /proc/net/pktgen/rddVR2 && cat /proc/net/pktgen/rddVR2

...
Result: ERROR: tos must be 00-ff

If you use '04' instead, it works.  In my case, it will be easier to hack user-space
to deal with this than fix pktgen, but I thought someone might want to fix it proper.

Also, could be that upstream code doesn't have this limitation...

Thanks,
Ben

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

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

end of thread, other threads:[~2014-08-21  3:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-20 21:52 pktgen and tos Ben Greear
2014-08-21  3:05 ` Cong Wang

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.