netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jarek Poplawski <jarkao2@gmail.com>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: David Miller <davem@davemloft.net>,
	Changli Gao <xiaosuo@gmail.com>, netdev <netdev@vger.kernel.org>,
	Patrick McHardy <kaber@trash.net>
Subject: Re: [PATCH net-next-2.6] net: force a fresh timestamp for ingress packets
Date: Thu, 16 Dec 2010 23:08:38 +0100	[thread overview]
Message-ID: <20101216220838.GB2191@del.dom.local> (raw)
In-Reply-To: <1292535039.2655.13.camel@edumazet-laptop>

On Thu, Dec 16, 2010 at 10:30:39PM +0100, Eric Dumazet wrote:
> Le jeudi 16 décembre 2010 ?? 22:17 +0100, Jarek Poplawski a écrit :
> > On Wed, Dec 15, 2010 at 04:50:52PM +0100, Eric Dumazet wrote:
> > > In commit 8caf153974f2 (net: sch_netem: Fix an inconsistency in ingress
> > > netem timestamps.), Jarek added a logic to refresh timestamps of
> > > ingressed packets going through netem.
> > > 
> > > I believe we should generalize this, forcing a refresh of timestamps in
> > > dev_queue_xmit_nit() for all ingress packets, whatever qdisc/class they
> > > used before being delivered.
> > > 
> > > This way, we can have a good idea when packets are delivered to our
> > > stack (tcpdump -i ifb0), while a tcpdump on original device gives
> > > timestamps right before ingressing.
> > 
> > I don't think we should do it. IMHO netem on ingress is a special case,
> > obviously for testing, and otherwise the real (first) timestamp might
> > be valuable for some users.
> 
> Well, I find difficult to check sfq is actually correctly working
> because timestamps are mixed.
> 
> After this patch, I found the SFQ allot error for example.
> 
> I dont know, I feel adding a sysctl like netdev_tstamp_prequeue is not
> worth it...

Hmm... Do you expect more people start debugging SFQ or I missed your
point? ;-) Maybe such a change would be reasonable on a cloned skb?

Jarek P. 

  reply	other threads:[~2010-12-16 22:08 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-15 15:50 [PATCH net-next-2.6] net: force a fresh timestamp for ingress packets Eric Dumazet
2010-12-16 21:17 ` Jarek Poplawski
2010-12-16 21:30   ` Eric Dumazet
2010-12-16 22:08     ` Jarek Poplawski [this message]
2010-12-16 22:26       ` Eric Dumazet
2010-12-16 22:42         ` Jarek Poplawski
2010-12-16 23:31           ` Eric Dumazet
2010-12-17  7:30             ` Jarek Poplawski
2010-12-17  8:08               ` Eric Dumazet
2010-12-17  8:34                 ` Jarek Poplawski
2010-12-17  8:59                   ` Jarek Poplawski
2010-12-17  9:26                     ` Eric Dumazet
2010-12-21  7:22                       ` [PATCH net-next-2.6] net: timestamp cloned packet in dev_queue_xmit_nit Eric Dumazet
2010-12-21  7:56                         ` Changli Gao
2010-12-21 18:50                           ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101216220838.GB2191@del.dom.local \
    --to=jarkao2@gmail.com \
    --cc=davem@davemloft.net \
    --cc=eric.dumazet@gmail.com \
    --cc=kaber@trash.net \
    --cc=netdev@vger.kernel.org \
    --cc=xiaosuo@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).