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 2FEC9A0507 for ; Tue, 29 Mar 2022 14:10:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2710240691; Tue, 29 Mar 2022 14:10:04 +0200 (CEST) Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) by mails.dpdk.org (Postfix) with ESMTP id BF36340691 for ; Tue, 29 Mar 2022 14:10:02 +0200 (CEST) Received: by mail-ed1-f42.google.com with SMTP id r23so20480209edb.0 for ; Tue, 29 Mar 2022 05:10:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=spM+BgINpjLKutoUEhN5GMV9e5SxN1kIx+/ZuBkHetM=; b=M1cgltIe4Hr6x3Ooo5ESFrrMJrLVq8wVTC/bE6ahLA4Ty78FdW1aVhVff/5L6vqnYH 0yMWzSUnSDvWcZwuQTrNbd1h1xfqn1QTIIW1ZtE76HD1ERY9P5cncEGyu+8s+MNlubfK ceAoxnR3zqC9pj+M6v/fZ5p+08+YK48FBzlqL3JgmqzoC+sYoDNmfhLf74SWEYSKkrhg TQ6hQ69MHTaPb59nvaY2Q7EeD/vGwWKtfNte4middS6/9xkgjOj9doX14ZZHHfk7Tg4g y49WA/vwrynMyh9VDvIXXSGmzD52LpyS0wUahURi+EbfD4atIUldXS3XP8MzoIrQaf9w Ykzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=spM+BgINpjLKutoUEhN5GMV9e5SxN1kIx+/ZuBkHetM=; b=bBfvPlZQHefWTtIigwYSMUc9qLZEn237hdDLBr56DgefjmF6bdVeWPZA/l/Qba3R+S fjN6xo6CSnXTGhYaDVDDMS75f3B6hPNk76AZMRQgD3JEUIDfj8LxFn0t3qQkPDs7mGUJ 5bgXdnOvD19/M0mMg0s5S/fsro791Z9x4xnfpFMXHTnog1kOBQkTfPjBuY7pFLUdRX9k 6pUDED5xTTixm9MHFp6pONXG5TaGHFscBQNRDuKcvNGoeX/Jp9jsZj4NE6Qgy3/HAGPD Z2ALMywijE8XywRqksY/b/sFYV6++1l5OyEmc4AlAP89KOusASLurBQ7J6jEPxGBapTf 2qug== X-Gm-Message-State: AOAM533E0Cls7ROlDgAG9/pYE9OG2ykPtEqVZlmkuSEzxUXtE8ABpfwP +8NQ4Xu04rmPVKWlGNdwO0z90NENEIpLYg== X-Google-Smtp-Source: ABdhPJywdyfTmfXyzv++KDOl7RFHJAHRvSjlZpxkrykSUCXcC6kmpC3NXxjIEg7TgRzl6tBFRW3w8A== X-Received: by 2002:a05:6402:492:b0:404:c4bf:8b7e with SMTP id k18-20020a056402049200b00404c4bf8b7emr4019163edv.318.1648555802112; Tue, 29 Mar 2022 05:10:02 -0700 (PDT) Received: from localhost ([137.220.125.106]) by smtp.gmail.com with ESMTPSA id q22-20020a170906771600b006cf8a37ebf5sm7024307ejm.103.2022.03.29.05.10.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Mar 2022 05:10:01 -0700 (PDT) From: luca.boccassi@gmail.com To: stable@dpdk.org Cc: christian.ehrhardt@canonical.com, ktraynor@redhat.com, Luca Boccassi Subject: [PATCH 20.11 2/2] dpaa2: fix build with RTE_LIBRTE_IEEE1588 Date: Tue, 29 Mar 2022 13:09:53 +0100 Message-Id: <20220329120953.152396-2-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220329120953.152396-1-luca.boccassi@gmail.com> References: <20220329120953.152396-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org From: Luca Boccassi ../drivers/net/dpaa2/dpaa2_rxtx.c: In function ‘dpaa2_dev_rx’: ../drivers/net/dpaa2/dpaa2_rxtx.c:863:4: error: ‘priv’ undeclared (first use in this function); did you mean ‘ldiv’? priv->rx_timestamp = ^~~~ ldiv Bugzilla ID: 982 Fixes: 1d10966a22ca ("net/dpaa2: fix timestamping for IEEE1588") Signed-off-by: Luca Boccassi --- drivers/net/dpaa2/dpaa2_rxtx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_rxtx.c index ecd004f9fa..23e193f86c 100644 --- a/drivers/net/dpaa2/dpaa2_rxtx.c +++ b/drivers/net/dpaa2/dpaa2_rxtx.c @@ -772,6 +772,9 @@ dpaa2_dev_rx(void *queue, struct rte_mbuf **bufs, uint16_t nb_pkts) const struct qbman_fd *fd; struct qbman_pull_desc pulldesc; struct rte_eth_dev_data *eth_data = dpaa2_q->eth_data; +#if defined(RTE_LIBRTE_IEEE1588) + struct dpaa2_dev_priv *priv = eth_data->dev_private; +#endif if (unlikely(!DPAA2_PER_LCORE_DPIO)) { ret = dpaa2_affine_qbman_swp(); -- 2.34.1