Message ID | 20200527132326.1382-4-hemant.agrawal@nxp.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:5b0a:0:0:0:0:0 with SMTP id p10csp1120849ilb; Wed, 27 May 2020 06:26:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxizXWSQ0GGGDLsKWFS9IiUOwUXqi677jWh1zYo277L2PO+gjboAdQAH5ZdJ3jI2xwFhuzx X-Received: by 2002:a05:6402:b91:: with SMTP id cf17mr23311047edb.148.1590586009304; Wed, 27 May 2020 06:26:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590586009; cv=none; d=google.com; s=arc-20160816; b=TRy7vf7y0YWnRuyqUcO7Zvu6x9cqXKZjODtjtoi28Bx5cbLvwlEERJiZKt1Mh440Vg IZV5/p7prcJBKd4km/z2WLO5ZhnqEqmPiowl7mnpFKPqha89hVOBXU9aY63ktW8fijnG GC+kG+4Yw9m6cyULYM+MZZROiQvYfdYAt7uO962IlE5jRaTcxhapsDl7ircbGcyaIuRT /CkPujqC0YLn/xNeMupNW33oAr/HeD20QlfvGc8N8IDGTLXt8B5ssSJSaqHIxXOUpC7D fxEqe3Om3FUvkmPwFe1if3hOAhRM5TrAWV6ZR8G/H55VVKsYYIi4jljEjDznYqk7jIcr Um9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:cc:to:from; bh=4lFaMUFOOUqm42CI6O/K7mHOmesEFzcg6fG8m9C/0ec=; b=bcIKRsvsJWSFrqNw2dVDClpHiN2JvLKgSNocwkCcvYsGhKFvBVjEAKr13EXOo7ym1p z0c0FNnvRRHpMEcQqTsuaInyJDJKqsZqJSpF43HCBoes7se8ju83rdYg+yMKE0neIdx6 a117bfzuONLIFfykkvtAPwB/iJ9PpIfvXMTh6UfTiwLd/GTDXGyg5c4f0Jeai0spp6Ur T+GlxZoDagcZjLCUsBEkvNPwy1CuR17N0dPXaaIWgENSXbFqA3hmElJ/DQgliJnso2CJ Ajum1TOGnMl5fbA5P/AveL+NAlautpYpVXwgKbHbTq6vMjIvtjaL2ehoiTvSD6OZPPeR +Lqw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: <dev-bounces@dpdk.org> Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id dk10si1895440ejb.554.2020.05.27.06.26.49; Wed, 27 May 2020 06:26:49 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 201CE1D980; Wed, 27 May 2020 15:26:30 +0200 (CEST) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by dpdk.org (Postfix) with ESMTP id BFA8F1D95D for <dev@dpdk.org>; Wed, 27 May 2020 15:26:20 +0200 (CEST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 8247A20077A; Wed, 27 May 2020 15:26:20 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id D5D34200773; Wed, 27 May 2020 15:26:18 +0200 (CEST) Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.133.63]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 534FD402FB; Wed, 27 May 2020 21:26:15 +0800 (SGT) From: Hemant Agrawal <hemant.agrawal@nxp.com> To: dev@dpdk.org, ferruh.yigit@intel.com Cc: Gagandeep Singh <g.singh@nxp.com> Date: Wed, 27 May 2020 18:52:52 +0530 Message-Id: <20200527132326.1382-4-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200527132326.1382-1-hemant.agrawal@nxp.com> References: <20200527132326.1382-1-hemant.agrawal@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH 03/37] net/dpaa2: enable timestamp for Rx offload case as well X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
NXP DPAAx enhancements
|
expand
|
diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 2f031ec5c..d3eb10459 100644 --- a/drivers/net/dpaa2/dpaa2_ethdev.c +++ b/drivers/net/dpaa2/dpaa2_ethdev.c @@ -526,8 +526,10 @@ dpaa2_eth_dev_configure(struct rte_eth_dev *dev) return ret; } +#if !defined(RTE_LIBRTE_IEEE1588) if (rx_offloads & DEV_RX_OFFLOAD_TIMESTAMP) - dpaa2_enable_ts = true; +#endif + dpaa2_enable_ts = true; if (tx_offloads & DEV_TX_OFFLOAD_IPV4_CKSUM) tx_l3_csum_offload = true;