[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAEEdnKEi1ZUMqUjGE7kKZmQLkB+pceo24OLQu9H8PA8J_fUk6Q@mail.gmail.com>
Date: Thu, 19 Aug 2021 10:06:35 +0800
From: 范开喜 <fankaixi.li@...edance.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: dev@...nvswitch.org, netdev@...r.kernel.org,
xiexiaohui <xiexiaohui.xxh@...edance.com>,
Cong Wang <cong.wang@...edance.com>
Subject: Re: [External] Re: [PATCH] ovs: clear skb->tstamp in forwarding path
Eric Dumazet <eric.dumazet@...il.com> 于2021年8月18日周三 下午5:32写道:
>
>
>
> On 8/18/21 4:22 AM, fankaixi.li@...edance.com wrote:
> > From: kaixi.fan <fankaixi.li@...edance.com>
> >
> > fq qdisc requires tstamp to be cleared in the forwarding path. Now ovs
> > doesn't clear skb->tstamp. We encountered a problem with linux
> > version 5.4.56 and ovs version 2.14.1, and packets failed to
> > dequeue from qdisc when fq qdisc was attached to ovs port.
> >
>
> Fixes: fb420d5d91c1 ("tcp/fq: move back to CLOCK_MONOTONIC")
>
> This is more precise than " version 5.4.56 and ovs version ..."
>
> Thanks.
>
> > Signed-off-by: kaixi.fan <fankaixi.li@...edance.com>
> > Signed-off-by: xiexiaohui <xiexiaohui.xxh@...edance.com>
> > Reviewed-by: Cong Wang <cong.wang@...edance.com>
> > ---
> > net/openvswitch/vport.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/net/openvswitch/vport.c b/net/openvswitch/vport.c
> > index 88deb5b41429..cf2ce5812489 100644
> > --- a/net/openvswitch/vport.c
> > +++ b/net/openvswitch/vport.c
> > @@ -507,6 +507,7 @@ void ovs_vport_send(struct vport *vport, struct sk_buff *skb, u8 mac_proto)
> > }
> >
> > skb->dev = vport->dev;
> > + skb->tstamp = 0;
> > vport->ops->send(skb);
> > return;
> >
> >
Hi Eric Dumazet,
Yes and many thanks.
Powered by blists - more mailing lists