From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 3E9E6A3 for ; Tue, 19 Mar 2019 05:36:20 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x2J4XnMt014172; Mon, 18 Mar 2019 21:36:19 -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=e9/ev3szblWDEpsLlmb3xemuLX2S4wpUkx5FCPZFNyU=; b=eZgHQsClKrua9pbR4Ya6EN6cJyyUvGzBuUo2fPEQM7j+8ZSO6xiUrpdSVTXpm9Ho+u3D JtNbXthcNJg/D4Ke/762JIBDSQlSeJNIpXBeOd1CmYPjzouDHHJyvNZtnlHSgaV1E36B OrBEvGCIKI6+bNdyIxiWEtsqxs0aoVVvZjdufRBN7jVqhjngTssP7GuHIw4sGebwkkTm Ln/cpq3Kz8sLz0qbi+0yPom69fIIwLiv3c/xyQGjWcbKRrq0zeEZzYF8bl5HQmXaH2OD S3PXoMst9Hef9mBqTjRM2EOdnfLo9qWKT/9U7BWo2r+gPG7tY/vrGL240D9rzvobs8o2 Hg== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0b-0016f401.pphosted.com with ESMTP id 2raaprbcpt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 18 Mar 2019 21:36:19 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 18 Mar 2019 21:36:07 -0700 Received: from NAM05-BY2-obe.outbound.protection.outlook.com (104.47.50.51) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Mon, 18 Mar 2019 21:36:07 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=e9/ev3szblWDEpsLlmb3xemuLX2S4wpUkx5FCPZFNyU=; b=DEw3Kh0RluwWz8OQVwnauZjZuvcG1qLAnDjY1mVfOTq8LjM+zH2fNvT6eymHT8zKqMtmS8Hh9mrhcrw3KYCRQJkQQGhYIxs8qLor/Hy3f1u/+ZZ8c/54shy2+73YrM9cMygFDjaexHmsxljeebOWQ6L+UY7oeGHvtiFv/gTfwbk= Received: from MN2PR18MB2877.namprd18.prod.outlook.com (20.179.20.218) by MN2PR18MB2560.namprd18.prod.outlook.com (20.179.83.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.15; Tue, 19 Mar 2019 04:36:02 +0000 Received: from MN2PR18MB2877.namprd18.prod.outlook.com ([fe80::1905:8cf6:f4a1:5d9a]) by MN2PR18MB2877.namprd18.prod.outlook.com ([fe80::1905:8cf6:f4a1:5d9a%4]) with mapi id 15.20.1709.015; Tue, 19 Mar 2019 04:36:02 +0000 From: Anoob Joseph To: Akhil Goyal , Pablo de Lara CC: Jerin Jacob Kollanukkaran , "Narayana Prasad Raju Athreya" , Suheil Chandran , Ankur Dwivedi , "dev@dpdk.org" Thread-Topic: [PATCH 1/3] common/cpt: improve structures used in datapath Thread-Index: AQHU0F6AY9XlCgc4Z0O+B+gfL0RfgaYSeWfw Date: Tue, 19 Mar 2019 04:36:02 +0000 Message-ID: References: <1551465683-26721-1-git-send-email-anoobj@marvell.com> In-Reply-To: <1551465683-26721-1-git-send-email-anoobj@marvell.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [115.113.156.2] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0716fafa-e6a1-4d99-0626-08d6ac24647f x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:MN2PR18MB2560; x-ms-traffictypediagnostic: MN2PR18MB2560: x-microsoft-antispam-prvs: x-forefront-prvs: 0981815F2F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(376002)(396003)(366004)(346002)(39860400002)(13464003)(189003)(199004)(186003)(55236004)(106356001)(71190400001)(6506007)(316002)(71200400001)(66066001)(110136005)(102836004)(52536014)(76176011)(26005)(6246003)(53546011)(54906003)(99286004)(25786009)(53936002)(7736002)(105586002)(55016002)(9686003)(6436002)(486006)(68736007)(86362001)(81156014)(8676002)(81166006)(2906002)(256004)(97736004)(14444005)(3846002)(74316002)(305945005)(7696005)(11346002)(478600001)(8936002)(476003)(14454004)(6116002)(4326008)(5660300002)(229853002)(446003)(33656002); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR18MB2560; H:MN2PR18MB2877.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: Cf10PZFfBZmTdmPa8WPP4jxE0Y56kIDQAR2mH1cLT2dscwp7iEiUlHWmuiQT71y8Y+a5QN47tWjazoGpCiv3cQbFjzP6Cnub2Ex6dYkEwhkcj8ohXlsDrYq5n9BP3RIKZ+PcEXdVPYoWO7y9gwR01p5vQghUeASZh+/l4qThO9mLLneQ9WYTvM/Wf0dNv8XYOaoqYJKZDRJ0myfafbzPiReehzKIHkX/X1O+knvsDH7JWwrQUfBHIV4rdppUFEEUaz2A4LKFDpqbKVNTi2S99qFP3tlihRZ9W8ShNhf1j47CEsVwTi2hAtxwHFREePkn70/ZfOosQQohTvcQTef1y5EJHxnslzgDSPICuFJKU2sd9R8B69rG23uW74b2wbPEMHBbHuuuYOrOl0fNRHQ7xHLi7Nh36O12oBCIx9JkrYI= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 0716fafa-e6a1-4d99-0626-08d6ac24647f X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2019 04:36:02.2939 (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-Transport-CrossTenantHeadersStamped: MN2PR18MB2560 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-03-19_02:, , signatures=0 Subject: Re: [dpdk-dev] [PATCH 1/3] common/cpt: improve structures used in datapath 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: , X-List-Received-Date: Tue, 19 Mar 2019 04:36:20 -0000 Hi Akhil, Can you review this series and share your thoughts? Thanks, Anoob > -----Original Message----- > From: Anoob Joseph > Sent: Saturday, March 2, 2019 12:12 AM > To: Akhil Goyal ; Pablo de Lara > > Cc: Anoob Joseph ; Jerin Jacob Kollanukkaran > ; Narayana Prasad Raju Athreya > ; Suheil Chandran ; > Ankur Dwivedi ; dev@dpdk.org > Subject: [PATCH 1/3] common/cpt: improve structures used in datapath >=20 > Signed-off-by: Ankur Dwivedi > Signed-off-by: Anoob Joseph > --- > drivers/common/cpt/cpt_common.h | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) >=20 > diff --git a/drivers/common/cpt/cpt_common.h > b/drivers/common/cpt/cpt_common.h index 8461cd6..8568d5b 100644 > --- a/drivers/common/cpt/cpt_common.h > +++ b/drivers/common/cpt/cpt_common.h > @@ -60,14 +60,14 @@ struct rid { > * > */ > struct pending_queue { > + /** Pending requests count */ > + uint64_t pending_count; > + /** Array of pending requests */ > + struct rid *rid_queue; > /** Tail of queue to be used for enqueue */ > uint16_t enq_tail; > /** Head of queue to be used for dequeue */ > uint16_t deq_head; > - /** Array of pending requests */ > - struct rid *rid_queue; > - /** Pending requests count */ > - uint64_t pending_count; > }; >=20 > struct cpt_request_info { > @@ -86,6 +86,6 @@ struct cpt_request_info { > /** Control path fields */ > uint64_t time_out; > uint8_t extra_time; > -}; > +} __rte_cache_aligned; >=20 > #endif /* _CPT_COMMON_H_ */ > -- > 2.7.4 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id C4FDCA05FE for ; Tue, 19 Mar 2019 05:36:22 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C8D951B19; Tue, 19 Mar 2019 05:36:21 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 3E9E6A3 for ; Tue, 19 Mar 2019 05:36:20 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x2J4XnMt014172; Mon, 18 Mar 2019 21:36:19 -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=e9/ev3szblWDEpsLlmb3xemuLX2S4wpUkx5FCPZFNyU=; b=eZgHQsClKrua9pbR4Ya6EN6cJyyUvGzBuUo2fPEQM7j+8ZSO6xiUrpdSVTXpm9Ho+u3D JtNbXthcNJg/D4Ke/762JIBDSQlSeJNIpXBeOd1CmYPjzouDHHJyvNZtnlHSgaV1E36B OrBEvGCIKI6+bNdyIxiWEtsqxs0aoVVvZjdufRBN7jVqhjngTssP7GuHIw4sGebwkkTm Ln/cpq3Kz8sLz0qbi+0yPom69fIIwLiv3c/xyQGjWcbKRrq0zeEZzYF8bl5HQmXaH2OD S3PXoMst9Hef9mBqTjRM2EOdnfLo9qWKT/9U7BWo2r+gPG7tY/vrGL240D9rzvobs8o2 Hg== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0b-0016f401.pphosted.com with ESMTP id 2raaprbcpt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 18 Mar 2019 21:36:19 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 18 Mar 2019 21:36:07 -0700 Received: from NAM05-BY2-obe.outbound.protection.outlook.com (104.47.50.51) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Mon, 18 Mar 2019 21:36:07 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=e9/ev3szblWDEpsLlmb3xemuLX2S4wpUkx5FCPZFNyU=; b=DEw3Kh0RluwWz8OQVwnauZjZuvcG1qLAnDjY1mVfOTq8LjM+zH2fNvT6eymHT8zKqMtmS8Hh9mrhcrw3KYCRQJkQQGhYIxs8qLor/Hy3f1u/+ZZ8c/54shy2+73YrM9cMygFDjaexHmsxljeebOWQ6L+UY7oeGHvtiFv/gTfwbk= Received: from MN2PR18MB2877.namprd18.prod.outlook.com (20.179.20.218) by MN2PR18MB2560.namprd18.prod.outlook.com (20.179.83.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.15; Tue, 19 Mar 2019 04:36:02 +0000 Received: from MN2PR18MB2877.namprd18.prod.outlook.com ([fe80::1905:8cf6:f4a1:5d9a]) by MN2PR18MB2877.namprd18.prod.outlook.com ([fe80::1905:8cf6:f4a1:5d9a%4]) with mapi id 15.20.1709.015; Tue, 19 Mar 2019 04:36:02 +0000 From: Anoob Joseph To: Akhil Goyal , Pablo de Lara CC: Jerin Jacob Kollanukkaran , "Narayana Prasad Raju Athreya" , Suheil Chandran , Ankur Dwivedi , "dev@dpdk.org" Thread-Topic: [PATCH 1/3] common/cpt: improve structures used in datapath Thread-Index: AQHU0F6AY9XlCgc4Z0O+B+gfL0RfgaYSeWfw Date: Tue, 19 Mar 2019 04:36:02 +0000 Message-ID: References: <1551465683-26721-1-git-send-email-anoobj@marvell.com> In-Reply-To: <1551465683-26721-1-git-send-email-anoobj@marvell.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [115.113.156.2] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0716fafa-e6a1-4d99-0626-08d6ac24647f x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:MN2PR18MB2560; x-ms-traffictypediagnostic: MN2PR18MB2560: x-microsoft-antispam-prvs: x-forefront-prvs: 0981815F2F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(376002)(396003)(366004)(346002)(39860400002)(13464003)(189003)(199004)(186003)(55236004)(106356001)(71190400001)(6506007)(316002)(71200400001)(66066001)(110136005)(102836004)(52536014)(76176011)(26005)(6246003)(53546011)(54906003)(99286004)(25786009)(53936002)(7736002)(105586002)(55016002)(9686003)(6436002)(486006)(68736007)(86362001)(81156014)(8676002)(81166006)(2906002)(256004)(97736004)(14444005)(3846002)(74316002)(305945005)(7696005)(11346002)(478600001)(8936002)(476003)(14454004)(6116002)(4326008)(5660300002)(229853002)(446003)(33656002); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR18MB2560; H:MN2PR18MB2877.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: Cf10PZFfBZmTdmPa8WPP4jxE0Y56kIDQAR2mH1cLT2dscwp7iEiUlHWmuiQT71y8Y+a5QN47tWjazoGpCiv3cQbFjzP6Cnub2Ex6dYkEwhkcj8ohXlsDrYq5n9BP3RIKZ+PcEXdVPYoWO7y9gwR01p5vQghUeASZh+/l4qThO9mLLneQ9WYTvM/Wf0dNv8XYOaoqYJKZDRJ0myfafbzPiReehzKIHkX/X1O+knvsDH7JWwrQUfBHIV4rdppUFEEUaz2A4LKFDpqbKVNTi2S99qFP3tlihRZ9W8ShNhf1j47CEsVwTi2hAtxwHFREePkn70/ZfOosQQohTvcQTef1y5EJHxnslzgDSPICuFJKU2sd9R8B69rG23uW74b2wbPEMHBbHuuuYOrOl0fNRHQ7xHLi7Nh36O12oBCIx9JkrYI= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 0716fafa-e6a1-4d99-0626-08d6ac24647f X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2019 04:36:02.2939 (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-Transport-CrossTenantHeadersStamped: MN2PR18MB2560 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-03-19_02:, , signatures=0 Subject: Re: [dpdk-dev] [PATCH 1/3] common/cpt: improve structures used in datapath 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" Message-ID: <20190319043602.bbhZYKotbex270rPDMUyd4IR6Ob4TA0qWbmGB4D0394@z> Hi Akhil, Can you review this series and share your thoughts? Thanks, Anoob > -----Original Message----- > From: Anoob Joseph > Sent: Saturday, March 2, 2019 12:12 AM > To: Akhil Goyal ; Pablo de Lara > > Cc: Anoob Joseph ; Jerin Jacob Kollanukkaran > ; Narayana Prasad Raju Athreya > ; Suheil Chandran ; > Ankur Dwivedi ; dev@dpdk.org > Subject: [PATCH 1/3] common/cpt: improve structures used in datapath >=20 > Signed-off-by: Ankur Dwivedi > Signed-off-by: Anoob Joseph > --- > drivers/common/cpt/cpt_common.h | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) >=20 > diff --git a/drivers/common/cpt/cpt_common.h > b/drivers/common/cpt/cpt_common.h index 8461cd6..8568d5b 100644 > --- a/drivers/common/cpt/cpt_common.h > +++ b/drivers/common/cpt/cpt_common.h > @@ -60,14 +60,14 @@ struct rid { > * > */ > struct pending_queue { > + /** Pending requests count */ > + uint64_t pending_count; > + /** Array of pending requests */ > + struct rid *rid_queue; > /** Tail of queue to be used for enqueue */ > uint16_t enq_tail; > /** Head of queue to be used for dequeue */ > uint16_t deq_head; > - /** Array of pending requests */ > - struct rid *rid_queue; > - /** Pending requests count */ > - uint64_t pending_count; > }; >=20 > struct cpt_request_info { > @@ -86,6 +86,6 @@ struct cpt_request_info { > /** Control path fields */ > uint64_t time_out; > uint8_t extra_time; > -}; > +} __rte_cache_aligned; >=20 > #endif /* _CPT_COMMON_H_ */ > -- > 2.7.4