pktgen: adjust flag NO_TIMESTAMP to be more pktgen compliant
authorJesper Dangaard Brouer <brouer@redhat.com>
Thu, 7 May 2015 14:34:51 +0000 (16:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 May 2015 02:26:06 +0000 (22:26 -0400)
commitf1f00d8ff60ca056db3805406507483eeb3794d7
tree1c0f1ad1ada5811164ac0e6a7dafa4c11f502187
parent4d95b72f61432cb2cb5bc0f65018d0a6c2201c81
pktgen: adjust flag NO_TIMESTAMP to be more pktgen compliant

Allow flag NO_TIMESTAMP to turn timestamping on again, like other flags,
with a negation of the flag like !NO_TIMESTAMP.

Also document the option flag NO_TIMESTAMP.

Fixes: afb84b626184 ("pktgen: add flag NO_TIMESTAMP to disable timestamping")
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/pktgen.txt
net/core/pktgen.c