From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2A52CA046B for ; Sat, 27 Jul 2019 19:14:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E7FC01C0B8; Sat, 27 Jul 2019 19:14:48 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id E7C7A1BF3C for ; Sat, 27 Jul 2019 19:14:47 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x6RHElF6022127; Sat, 27 Jul 2019 10:14:47 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=ASZU+BhgsZNqV2dapxP240xfOeqk4FvRumJNlnWVzF4=; b=P025+6y8xVI+TWwh4EJdeIB4aAFX0/TW/7nHKTAc+5kxxZRlbDQN9BndBrHVNghXGKxP HPmjXroBmsx6s+FBqCWIqLLvMhyQ3myzEAuYCLEBYIFI0EcKunt4HEaUUKJj9/DpyQMb 7/h+pHkjEA0IGj1jpn7E3e1dYpXcrTy4yTAF42y/Bdm6OE6YYn51qoA8aM/kmUjb2XgE QGwos9DNFYpp/ew6bI2SGpnIlIcKOJMV04KdCWzi1+yDQxLhCCblePAvwGC4TA51s7mT 1GwDsSpFN0gFfdgjNadf8PfyPbV0N76XjIrGN1Fyb1AnE2RSEr9Zb/BDgXR9xLqBLVMG Vg== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0b-0016f401.pphosted.com with ESMTP id 2u0p4krshf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sat, 27 Jul 2019 10:14:46 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sat, 27 Jul 2019 10:14:45 -0700 Received: from NAM03-BY2-obe.outbound.protection.outlook.com (104.47.42.51) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Sat, 27 Jul 2019 10:14:45 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gEdLZ/2SAH35JB99a+0e0yGeahGPg95RAQnAwqPzbO+5hBwsgbqfqqol3wduUJAyGh4pCt/bggRkhONpd4X+twGp/2BWgWdtw97PPWCckjme0j74VKouTN6/N9080O3t6OzWGwC/C/gE7+GPKXvuzHnmOs3JGDNzE1IM3s3V936FJfpWgww4UiLHPpsy2jTtcftovPHmL3bHuuQ4iT0XVO2JkaQZ11V5OZdBq/PUgnSPtOzZBd9NVGnAyjHFfssoT8+nzgN7xs7NST0TOiqjf1Xil5qOvaPJvufH3tZJmg7PW4CQF+GwX6CLewRb73bN40Z2XzsETHsCpV7GS17fMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ASZU+BhgsZNqV2dapxP240xfOeqk4FvRumJNlnWVzF4=; b=nFa43bnUdopS2WVUw5ugNSgMXjqDETFv3nniT3hLuV73tzFZoJw6DdHcmXRnQjll6w7W21dlwI55yxmiZU2Vs6A/Tv/198Spb+wGb8Sa/r0RCpUnhVmNyeakyc/swu+bI9VIgrpT3FVl83wzYf/yjw6wtf3ta15rXUHB8ox9K75B8jMVTsIjDmgmV5aSS37R6EidGg4YE3y1OhtfnQk+ixPXrDSdV017ypp/T2X0V5So+t1uHKbnttWJ0h5bCAy09z8HlMBZFRID5VF25kRuwt9/oMsUf/ClsaarDm1N7c+eIXE9roKp+zqgKErWTSS0vmwMKrhR/NAbgYfrXvBw6Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=marvell.com;dmarc=pass action=none header.from=marvell.com;dkim=pass header.d=marvell.com;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ASZU+BhgsZNqV2dapxP240xfOeqk4FvRumJNlnWVzF4=; b=LMnGRigMlzAkfTuVWdiFeG0wdJCVQa83U52D3sTlgJr2nENZWffin4SE4ugZkQyPBDGEyagBfga2RwEDsyvHOZZGPv1jQpHh6U2GLJrYp5ezsQ+3uQhNpmvzoxFzrwSbzA5XOYHCCIotPU6WiBDG0WtgdPSxCIjR4XfZ5AhPoU4= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2966.namprd18.prod.outlook.com (20.179.59.210) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2115.14; Sat, 27 Jul 2019 17:14:43 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::2d42:12b6:aa2e:2862]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::2d42:12b6:aa2e:2862%4]) with mapi id 15.20.2115.005; Sat, 27 Jul 2019 17:14:43 +0000 From: Jerin Jacob Kollanukkaran To: Harman Kalra , John McNamara , Pablo de Lara , Bruce Richardson , Harry van Haaren , Xiaoyun Li CC: "dev@dpdk.org" , Harman Kalra , "barbette@kth.se" Thread-Topic: [PATCH] examples/rxtx_callbacks: fix HW timestamp enable Thread-Index: AQHVQwDjmhj5fSrF40Cc6qCNGgyhrqbet2xA Date: Sat, 27 Jul 2019 17:14:43 +0000 Message-ID: References: <1564069902-3500-1-git-send-email-hkalra@marvell.com> In-Reply-To: <1564069902-3500-1-git-send-email-hkalra@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [106.200.230.107] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b821df03-2174-4a17-56fd-08d712b5ead9 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR18MB2966; x-ms-traffictypediagnostic: BYAPR18MB2966: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1013; x-forefront-prvs: 01110342A5 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(396003)(136003)(39850400004)(346002)(376002)(189003)(13464003)(199004)(68736007)(81166006)(81156014)(8676002)(14454004)(71190400001)(6436002)(6116002)(71200400001)(3846002)(55016002)(86362001)(8936002)(2906002)(478600001)(9686003)(25786009)(11346002)(7736002)(53936002)(6246003)(53546011)(102836004)(305945005)(5660300002)(7696005)(186003)(66066001)(76116006)(4744005)(52536014)(446003)(26005)(66476007)(64756008)(66446008)(66556008)(476003)(256004)(229853002)(33656002)(54906003)(486006)(110136005)(76176011)(6506007)(74316002)(99286004)(316002)(4326008)(66946007); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2966; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: NrLGziJmaPXiKBZK3k2WSx2OfuXCLKakDJ9PAOKdW4kqIY500nkDQVXqCArUzZXu+X2b2jumkle1SbZ8IqY9zAV+nnyMXJmv+uS+R7q7eCw9EN9sUSrEUcdqNRDYF1YAyyGFUEHnpWmzaf4TcswzKj9YmxMh13KCTUx18j3wyyBhEx75rjuwluuPUXfrE+IDCbYGKUcDOuXnnBOy/MDJi8JM4l5yqCojg4I57Q1ZddiiBEsWaF9JT+Cwv/wcQun83TRmXdTqeEOg2GwXf/PKFp2BZ7PiF2gqn7Dve30f9PMLTTJMt0SFNH3XAyKbq8OMp9r6lve9fXLTwhs/vZk17ef2ThIRfpRu+ugMFrRYlT/6Enfl8p7XNUrdTRgYmeiFoxngdjgjUmS/byBZgqWIqxw7r1eH8gpI2EuF27PHeXc= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: b821df03-2174-4a17-56fd-08d712b5ead9 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jul 2019 17:14:43.2518 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: jerinj@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2966 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-07-27_13:2019-07-26,2019-07-27 signatures=0 Subject: Re: [dpdk-dev] [PATCH] examples/rxtx_callbacks: fix HW timestamp enable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: dev On Behalf Of Harman Kalra > Sent: Thursday, July 25, 2019 9:22 PM > To: John McNamara ; Pablo de Lara > ; Bruce Richardson > ; Harry van Haaren > ; Xiaoyun Li > Cc: dev@dpdk.org; Harman Kalra ; barbette@kth.se > Subject: [dpdk-dev] [PATCH] examples/rxtx_callbacks: fix HW timestamp > enable >=20 > Offloafing Rx timestamp is a device capability than queue capability. > Hence the logic to enable HW timestamp via DEV_RX_OFFLOAD_TIMESTAMP > flag should be before device configuration. >=20 > Fixes: cd1dadeb9b2a ("examples/rxtx_callbacks: support HW timestamp") > Cc: barbette@kth.se >=20 > Signed-off-by: Harman Kalra Reviewed-by: Jerin Jacob