aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorJesper Dangaard Brouer <brouer@redhat.com>2014-08-28 18:14:47 +0200
committerDavid S. Miller <davem@davemloft.net>2014-09-01 18:06:59 -0700
commitafb84b6261841f8ab387e267e748236fa805bea0 (patch)
treedeb07ffc7c37287974233be17f49da1a459da757 /net/ipv4
parentbnx2x: fix tunneled GSO over IPv6 (diff)
downloadlinux-dev-afb84b6261841f8ab387e267e748236fa805bea0.tar.xz
linux-dev-afb84b6261841f8ab387e267e748236fa805bea0.zip
pktgen: add flag NO_TIMESTAMP to disable timestamping
Then testing the TX limits of the stack, then it is useful to be-able to disable the do_gettimeofday() timetamping on every packet. This implements a pktgen flag NO_TIMESTAMP which will disable this call to do_gettimeofday(). The performance change on (my system E5-2695) with skb_clone=0, goes from TX 2,423,751 pps to 2,567,165 pps with flag NO_TIMESTAMP. Thus, the cost of do_gettimeofday() or saving is approx 23 nanosec. Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions