From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 28092A0C45 for ; Fri, 11 Jun 2021 10:50:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AE09C40688; Fri, 11 Jun 2021 10:49:59 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 0C8854014F for ; Fri, 11 Jun 2021 10:49:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623401397; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+4mdCyvfPQOQ39BRJHB8UIc1GPXFoNRtcn3hJk5eaPY=; b=aK1CQ8jXq3pcCoHyYEav8FJE8mVdfSmZNUyIaXoIB290QX4SV7hto/rMZ3+El6aSYiCXt5 yeXaAT6lUlJDn5oomiwRxa6BHo9Sef4zrn6L5FoTdygLi/wWypIDQC1uGedtWs1Y2YWCL8 HLhgfqeU14ajRoNpD9BkcsRlTQO018U= Received: from mail-ua1-f70.google.com (mail-ua1-f70.google.com [209.85.222.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-142-AHhYzao0OZ-4FGk-jNS4YA-1; Fri, 11 Jun 2021 04:49:51 -0400 X-MC-Unique: AHhYzao0OZ-4FGk-jNS4YA-1 Received: by mail-ua1-f70.google.com with SMTP id v20-20020ab076940000b029020b0b4ada34so2230395uaq.4 for ; Fri, 11 Jun 2021 01:49:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+4mdCyvfPQOQ39BRJHB8UIc1GPXFoNRtcn3hJk5eaPY=; b=qaP5wFGOddxrU4f9d/XgkwAHIIjlhgwbhowVT8RpPnUy7ZIGLw0R7S5zzfJ6ybEuzR P8GU8SRpztRUR+woOoLowfl6r6wrHiHWnqXoyYr2pk52Mdx3ZqZkWibU3FrRbgAY8eXX ZEB4/857l7QzVwZ6bU5GHTOef9LUkiBx5peiYJgUHaQSPcAmXRt2SXzl/Md9b4xoJvuo Greerei2hGYt8srYYjjGf4b613ER9JzUxCpId6slZhjRbTCr0gpDVPnBKrEhHDzWKOiw HONT4WTeO1F/12UuwWnG7c1eTzKKUqzNSnf7+f/CqaeuncWzdUeW3CStvoCCIASVfSDw GRbw== X-Gm-Message-State: AOAM532KsJhSJC4Y970NYoofnHwWo587/+PTmNTg5vvABAHq4HyvrH61 aYn78CyVftHR1xj4ZU91041W3LgOskojx6iQ4sOojcuLmtF4Ng0PxgQvB27+/AYYVgcG4XVWQKo W/4aM7HlokcR9wwDkDslPSg== X-Received: by 2002:a67:7cc4:: with SMTP id x187mr8036070vsc.17.1623401390827; Fri, 11 Jun 2021 01:49:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzdyb3TTAT4eiNaPdofeu966LIYr2a/dJkHfpNBoyJXxlkyT98gnguVwt/PnYUGCeT3g1WK/dO1XttyAWnWxOU= X-Received: by 2002:a67:7cc4:: with SMTP id x187mr8036067vsc.17.1623401390634; Fri, 11 Jun 2021 01:49:50 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: David Marchand Date: Fri, 11 Jun 2021 10:49:39 +0200 Message-ID: To: Linyih Teng Cc: users , "Wang, Haiyue" Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-users] 82599ES 10-Gigabit NIC can't use timesync? X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" On Fri, Jun 11, 2021 at 10:34 AM Linyih Teng wrote: > > I'm trying to capture rx/tx timestamp using *rte_eth_timesync_rx/tx_read()* > functions but it always returns EINVAL. Does the* 82599ES* NIC(with > *igb_uio*) support the timesync function to capture Tx/Rx timestamp? Did you call rte_eth_timesync_enable() and pass a valid timespec ? I would take testpmd as a reference and check it works with RTE_LIBRTE_IEEE1588 enabled. Cc: ixgbe maintainer. -- David Marchand