[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAD56B7eM1--nOv=kPvsLfcvhLeYpSM+pVyk3CDi5szx3hCXp_A@mail.gmail.com>
Date: Tue, 12 Mar 2019 18:05:04 -0400
From: Paul Thomas <pthomas8589@...il.com>
To: "Keller, Jacob E" <jacob.e.keller@...el.com>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH] Check for SKBTX_HW_TSTAMP in macb driver
Hi Jake, thanks for all the help and for looking at this!
>
> You have two conditionals inside, and I misread where you were doing the checking of the SKBTX_HW_TSTAMP flag.
>
> I would do the following :
>
> if (unlikely(skb_shinfo(skb)->tx_flags & SKBTX_HWTSTAMP) &&
> gem_ptp_do_txstamp(queue, skb, desc)) {
I guess I was thinking the call to gem_ptp_do_txstamp() could be
avoided in many cases, but either way is fine with me..
> ....
> }
>
-Paul
Powered by blists - more mailing lists