• Tom Zhao's avatar
    sfc: complete the next packet when we receive a timestamp · 3b4f06c7
    Tom Zhao authored
    We now ignore the "completion" event when using tx queue timestamping,
    and only pay attention to the two (high and low) timestamp events. The
    NIC will send a pair of timestamp events for every packet transmitted.
    The current firmware may merge the completion events, and it is possible
    that future versions may reorder the completion and timestamp events.
    As such the completion event is not useful.
    
    Without this patch in place a merged completion event on a queue with
    timestamping will cause a "spurious TX completion" error. This affects
    SFN8000-series adapters.
    Signed-off-by: default avatarTom Zhao <tzhao@solarflare.com>
    Acked-by: default avatarMartin Habets <mhabets@solarflare.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    3b4f06c7
tx_common.h 1.49 KB