• Vedang Patel's avatar
    taprio: Adjust timestamps for TCP packets · 54002066
    Vedang Patel authored
    When the taprio qdisc is running in "txtime offload" mode, it will
    set the launchtime value (in skb->tstamp) for all the packets which do
    not have the SO_TXTIME socket option. But, the TCP packets already have
    this value set and it indicates the earliest departure time represented
    in CLOCK_MONOTONIC clock.
    
    We need to respect the timestamp set by the TCP subsystem. So, convert
    this time to the clock which taprio is using and ensure that the packet
    is not transmitted before the deadline set by TCP.
    Signed-off-by: default avatarVedang Patel <vedang.patel@intel.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    54002066
sch_taprio.c 39.5 KB