Message ID | 1503409570-9946-1-git-send-email-rasland@mellanox.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 0C69D7D42; Tue, 22 Aug 2017 15:46:28 +0200 (CEST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0080.outbound.protection.outlook.com [104.47.1.80]) by dpdk.org (Postfix) with ESMTP id C7D482BD0 for <dev@dpdk.org>; Tue, 22 Aug 2017 15:46:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=NBmQh9nTtHK7Qh8YfnQ3Og/s0cVW7KZRlfkJteGvy9U=; b=lMZKL1fQKNvuEw6kEtQKKujps6KP3otyJmLm3V1PEh8meo8Pvtc5rnk6HXSMmvF0az5JqlAaO+V/WgZEJPfMsJ7LQst1yk76gojkZO3/x1MEuzFsbuZLt98Qv0Jipi4fLHA+nVp74SyYBBWrtfM9jodUuqUPurTI6Er1tYLKCc8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=rasland@mellanox.com; Received: from mellanox.com (37.142.13.130) by AM2PR05MB1218.eurprd05.prod.outlook.com (2a01:111:e400:8450::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1362.18; Tue, 22 Aug 2017 13:46:24 +0000 From: Raslan Darawsheh <rasland@mellanox.com> To: thomas@monjalon.net, jingjing.wu@intel.com, dev@dpdk.org, nelio.laranjeiro@6wind.com, adrien.mazarguil@6wind.com Date: Tue, 22 Aug 2017 16:46:08 +0300 Message-Id: <1503409570-9946-1-git-send-email-rasland@mellanox.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [37.142.13.130] X-ClientProxiedBy: VI1PR0101CA0043.eurprd01.prod.exchangelabs.com (2603:10a6:800:1f::11) To AM2PR05MB1218.eurprd05.prod.outlook.com (2a01:111:e400:8450::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 077f51ac-fa62-444d-5722-08d4e9642e91 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:AM2PR05MB1218; X-Microsoft-Exchange-Diagnostics: 1; AM2PR05MB1218; 3:jCx/0VS6qwVEFEsM3hDQ/uRpop5Nmrmqyz3GoZQOUqaGhQZIwL2M2yaq9kzEU1/JVkuAlVG4IzWMes13b8yhD90QO/VVtBP/moOJmbF5q8PdJzBAoWSVYlM0WykPhohrSEvJRL5hwzmRdguu1sgvrY9IFDnFDv/cypCqMVuDPgK1dUzRK9yL3Yh39pS4mm4EYBDi4AoNaydphrxSWOkGoD1rYsKSnZtb2Q9EM5lLKZCwNmWfk10bvj4OFIu1DhDl; 25:yo7Rf5e6IEIddgp/M55JAM/xMIw0C1wjBNXSFoMRDvx7t93r2VO0fmYM0KQvnefMFuPJmWAclur4walyw0KGM7d+k2PgZKgHdkKpF4wTtC66dxKOeCmUyWdxRsGbyBQNxY6SbjQ+vW/3bWoutUFdQidh8shw+ZGG5j7bQmEnk0nhRnJ9FcB+6JEejkb6Ii3Sx+dUuAUOeP4Azu+9O8q79tvPitol5wifI9gJpV0ul0SF4OZ+5q5TCe72lu/zIpGS1+WQ97XrDoR2qxIHP3qQvFXk8HLskBn2c6d3TYzp+jvNokzc7EXfs77mM+rn+4/2uwBZRxyNZFiisPXGYjLdQA==; 31:vxFjbDYNjrOBYpYE3Z5Gny9+0tBr7z2giJqpOqBKyZ7C/Skc+EMk2vZ0+ngkx6f2/d+jJpSpEhcDE+7p46sSVhMKV5hSgTCu8LXazNGWHFTaqLa/84keEz+rtUZ2ioVT3ckmqj6+OLiMLa03Iahb1zPpda/TgCcKwgsgUIUS5f1quIrrxv794/j53bXTRl5MBsk4w/8rz3NMxypv5XMIEphVEUbvAvf5tb70mZ3+0RQ= X-MS-TrafficTypeDiagnostic: AM2PR05MB1218: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; AM2PR05MB1218; 20:70tM1vYer7quxjkEmT2Neh296G2nwvxm9xno2xQXlAzKBWAqCbY19hKdj/0xz+2dZM50TuCrSXzBTwOGJkyGJ6AbyKSIiFw/X2XAdzSubN0jYg1TF2Oi0jbjg1KNNusq1JVBQTsN2tW/SDHH10jDVIKZqQP+nast578LBwx1/x+KSsU6jBGghAqfdVnpN5u5U0tm1UU7JBT/X97Nhy4m1rQDRPNsFaAY4SuvBMNHrA4hXADauPlavmM8XzDDPbn+tX6KToL2sNwW/Yi+F+5xjbrgeXx6yADHNfmjftP1OVOswp8C7n5+OjhZ5DgnL9dAAqrEXa5mlghWbZ3QqU8IBR/swpD1s1apw6YloxILO/x+Hf+Kpt6c/Bzd+7Cmpw8/4xtisg7iByWauuhIG/HzTaV6BfWsMyW5kba84VwzYCEltx1e3eC3/CiKVNqZA0h5oVqpxsSwYzGKd72yO2923YotDSob/vsBXW1TA7/F0BkwqHmSGh2DxJXsVRpJQ8EI; 4:4J+al59lgNszvUoeWlOGQ/WSwlIjsGhAPD7Chl+SDAzdGENTkGtIVYUX2ukk4Tz4tsqM9Ru/gYUcdms+yY542oVvJhZ298Xe8r5kO1vkbTF31hsIhKe8D61dLE/g2rClOb0p8SjQgNmRxyTf3DJTsWakLltNzSqm1UULpy/kyrJKjEGHYat5YHK6kDThMDLdoDgX3nnn9YKigP50QmW1+KFBSdsI+BporkdFTbH0Ir8s3V1nN0uAEkh1WiVtvaheycyVJOGAOaOA34nvZ1VZZ/ElPMH2zFHvpCcLVXUWuQY= X-Exchange-Antispam-Report-Test: UriScan:(278428928389397); X-Microsoft-Antispam-PRVS: <AM2PR05MB121805803C4E698BC79CD76FC2840@AM2PR05MB1218.eurprd05.prod.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(100000703101)(100105400095)(3002001)(93006095)(93001095)(6055026)(6041248)(20161123558100)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123562025)(20161123560025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM2PR05MB1218; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM2PR05MB1218; X-Forefront-PRVS: 04073E895A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(7370300001)(4630300001)(6009001)(199003)(189002)(68736007)(110136004)(21086003)(6116002)(47776003)(69596002)(7350300001)(478600001)(2906002)(53376002)(6666003)(189998001)(48376002)(3846002)(36756003)(86362001)(55016002)(66066001)(50986999)(53936002)(6306002)(33026002)(5660300001)(33646002)(42186005)(50466002)(305945005)(7736002)(8676002)(81156014)(97736004)(106356001)(25786009)(101416001)(81166006)(105586002)(966005)(5003940100001)(50226002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR05MB1218; H:mellanox.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM2PR05MB1218; 23:axm45oQQasc9V1+HMp3u1zKT8xAvZmx2iKv/1D/fH?= 4ENOhJMeaCN9SlMVqw66odH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5pU6ql3MafrI+ddVAeg3iPvMyLP1c7ymhzf+YXkH3LfKLUBoxhjeCFPZEGH4rDThnx7bnZxHeE0ydzC2oEWpCywGO72ec08EiXnXmTMB7LEA6Pgvwv5e2KJGZkdG5k5Mv1XJ/Ks0b5naUOKLyTc+M9wEKsTr7w2qcoPhe+TGxafK0uufJfWZMMhpqJ3rDfcMA9RsbBNHghPekZxZTvoUdRZrRP1TK2hotYZcq/mSjSom+ZzWNAsMRHUx9+f2KMatCCMfxaKurJaSuCRa629R0lSwHN8kzPpV9kaed4tq7NqMWJ1/6lv+yOBVeRXSCoP6E686W7mucwsnTA==; 5:gy8y4rQdxTVFA5CyNAxXCm6QO+tlZY4gu7PE6fyNb+syYLzeJACIJMhmsOdfPoUjUnFe6xiAHZ9rES0i7owEzzFIrz8zj6SPVWC5AotgSFY2R/tqu0wL/Ml36M5VKg2/gAVPW+eVVoQ7xN5Lm+rPgw==; 24:3iVkux3O6rDxdqev8TcC1DAoZGtKhihicwerK7Fqj+Hr78EG++BvOi0ssZoaq4ajNn9aXFF98S5Dthz9FfU/NL12AzaIF2Au6jiDe+ifJA4=; 7://M3q8oRrgy8clIzdQ9OX3slrtfMKCFhAsopz2DFXVYFYYbmuTf8IqtmwkbPMpBnoaomvIDP1HuqBrT6SEmKlJrYsu/LMDag9cBv9MxIg0+ZPfHGRyjLS4t65/KeELYnhcOglYILk3widf7+6EM8ecGueeVTnd5dsBNp1W7Smiy4hzCEPFHbPNIfg9OGNIph91UoI/2aMNpNahLQ5FYf7VM1UdQSpvoNwvwkopA+L5A= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Aug 2017 13:46:24.3985 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR05MB1218 Subject: [dpdk-dev] [PATCH 1/3] ethdev: expose Rx hardware timestamp X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <http://dpdk.org/ml/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://dpdk.org/ml/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <http://dpdk.org/ml/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Checks
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
ci/Intel-compilation | success | Compilation OK |
Commit Message
Raslan Darawsheh
Aug. 22, 2017, 1:46 p.m. UTC
Added new capability to the list of rx offloads for hw timestamp
The PMDs how expose this capability will always have it enabled.
But, if the following API got accepted applications can choose
between disable/enable this API.
http://dpdk.org/dev/patchwork/patch/27470/
Signed-off-by: Raslan Darawsheh <rasland@mellanox.com>
---
lib/librte_ether/rte_ethdev.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index 0adf327..cc5d281 100644 --- a/lib/librte_ether/rte_ethdev.h +++ b/lib/librte_ether/rte_ethdev.h @@ -907,6 +907,8 @@ struct rte_eth_conf { #define DEV_RX_OFFLOAD_QINQ_STRIP 0x00000020 #define DEV_RX_OFFLOAD_OUTER_IPV4_CKSUM 0x00000040 #define DEV_RX_OFFLOAD_MACSEC_STRIP 0x00000080 +#define DEV_RX_OFFLOAD_TIMESTAMP 0x00000100 +/**< Device puts raw timestamp in mbuf. */ /** * TX offload capabilities of a device.