From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50057.outbound.protection.outlook.com [40.107.5.57]) by dpdk.org (Postfix) with ESMTP id BB6C72BC9 for ; Mon, 8 Apr 2019 07:24:27 +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:X-MS-Exchange-SenderADCheck; bh=ycbzM4hSLPy6W+yQJzhG+YlXo1QEtlK6g5hquO5UGxk=; b=eonXB7mtBb6JV1xsmJBBB1FThzCugIObYsgJwnQcP8SjqXwDFZsQ5DhNlpsJNGpuDnCGBikH8DmK5Xqsd1XUf5bSmGPlhnIw4Gsdy1w08dp++o/sPj0CqgOgQN6Mw7H+EF0ZNsVPkWFuY7NYg6FxM/ExgR8r4YxjgFwHhZ13CEk= Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com (52.133.45.150) by AM0PR0502MB4033.eurprd05.prod.outlook.com (52.133.34.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.16; Mon, 8 Apr 2019 05:24:26 +0000 Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::4192:b468:41e1:c323]) by AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::4192:b468:41e1:c323%4]) with mapi id 15.20.1771.011; Mon, 8 Apr 2019 05:24:26 +0000 From: Shahaf Shuler To: Yongseok Koh CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3 2/4] net/mlx5: remove redundant queue index Thread-Index: AQHU60+1X0z7pahgTkKZlOxRrWBh5qYxv+RQ Date: Mon, 8 Apr 2019 05:24:26 +0000 Message-ID: References: <20190325193627.19726-1-yskoh@mellanox.com> <20190405013357.14503-1-yskoh@mellanox.com> <20190405013357.14503-3-yskoh@mellanox.com> In-Reply-To: <20190405013357.14503-3-yskoh@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 440e4f63-847e-4949-45e6-08d6bbe277a5 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:AM0PR0502MB4033; x-ms-traffictypediagnostic: AM0PR0502MB4033: x-microsoft-antispam-prvs: x-forefront-prvs: 0001227049 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(396003)(39860400002)(346002)(136003)(366004)(199004)(189003)(26005)(446003)(256004)(102836004)(86362001)(6506007)(186003)(8676002)(81156014)(81166006)(11346002)(229853002)(74316002)(476003)(8936002)(486006)(71190400001)(71200400001)(55016002)(5660300002)(9686003)(14444005)(76176011)(6636002)(305945005)(14454004)(6436002)(7736002)(97736004)(25786009)(4744005)(68736007)(6862004)(316002)(105586002)(99286004)(66066001)(33656002)(7696005)(52536014)(53936002)(6246003)(6116002)(478600001)(3846002)(4326008)(106356001)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB4033; H:AM0PR0502MB3795.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: mVJs424i41bv3RKjH2+yJDgBYe3zMLWwjwDjLzORYBsivyGzAwJ/MDdFwmYgdVIC40x9jJKFPpnVj0EsxtLUwuAOCaGVHtWekOaulOwMBEkeTWqYSZ6oE3tF/KKjB3BUcZkms3Gj3rweDpthqJ6Gt6bfa8q60GvDGHWY4awPQEDZjf6GxqdUKnaoa+Z75otUVUeFuyb/kk3GBt6IvWGJfm4/vWUlqplxRhIL3+lJMipK7LGUsj1Xmsmwcw4CpBI6XkdGlzGW5cxtG/3wrdGTZ5pUgy+0UANRd71dN0R6J0mV2MoRNv+TAVBw8K8pz4EEOtgi5XEtSxQ8s677O2sjTxM9Xrgs5Gf/l9MNblp4RRR+IJUOQmyf0GMOYFuvmuIuE2YD83bt21AsC2kMM4UAQFnbJKXKoYtFwmAka7qxKZY= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 440e4f63-847e-4949-45e6-08d6bbe277a5 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Apr 2019 05:24:26.2305 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB4033 Subject: Re: [dpdk-dev] [PATCH v3 2/4] net/mlx5: remove redundant queue index 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: Mon, 08 Apr 2019 05:24:28 -0000 Friday, April 5, 2019 4:34 AM, Yongseok Koh: > Subject: [dpdk-dev] [PATCH v3 2/4] net/mlx5: remove redundant queue > index >=20 > Queue index is redundantly stored for both Rx and Tx structures. > E.g. txq_ctrl->idx and txq->stats.idx. Both are consolidated to single st= orage - > rxq->idx and txq->idx. >=20 > Also, rxq and txq are moved to the beginning of its control structure (rx= q_ctrl > and txq_ctrl) for cacheline alignment. >=20 > Signed-off-by: Yongseok Koh Acked-by: Shahaf Shuler 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 D51B2A0096 for ; Mon, 8 Apr 2019 07:24:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6BA332C54; Mon, 8 Apr 2019 07:24:28 +0200 (CEST) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50057.outbound.protection.outlook.com [40.107.5.57]) by dpdk.org (Postfix) with ESMTP id BB6C72BC9 for ; Mon, 8 Apr 2019 07:24:27 +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:X-MS-Exchange-SenderADCheck; bh=ycbzM4hSLPy6W+yQJzhG+YlXo1QEtlK6g5hquO5UGxk=; b=eonXB7mtBb6JV1xsmJBBB1FThzCugIObYsgJwnQcP8SjqXwDFZsQ5DhNlpsJNGpuDnCGBikH8DmK5Xqsd1XUf5bSmGPlhnIw4Gsdy1w08dp++o/sPj0CqgOgQN6Mw7H+EF0ZNsVPkWFuY7NYg6FxM/ExgR8r4YxjgFwHhZ13CEk= Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com (52.133.45.150) by AM0PR0502MB4033.eurprd05.prod.outlook.com (52.133.34.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.16; Mon, 8 Apr 2019 05:24:26 +0000 Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::4192:b468:41e1:c323]) by AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::4192:b468:41e1:c323%4]) with mapi id 15.20.1771.011; Mon, 8 Apr 2019 05:24:26 +0000 From: Shahaf Shuler To: Yongseok Koh CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3 2/4] net/mlx5: remove redundant queue index Thread-Index: AQHU60+1X0z7pahgTkKZlOxRrWBh5qYxv+RQ Date: Mon, 8 Apr 2019 05:24:26 +0000 Message-ID: References: <20190325193627.19726-1-yskoh@mellanox.com> <20190405013357.14503-1-yskoh@mellanox.com> <20190405013357.14503-3-yskoh@mellanox.com> In-Reply-To: <20190405013357.14503-3-yskoh@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 440e4f63-847e-4949-45e6-08d6bbe277a5 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:AM0PR0502MB4033; x-ms-traffictypediagnostic: AM0PR0502MB4033: x-microsoft-antispam-prvs: x-forefront-prvs: 0001227049 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(396003)(39860400002)(346002)(136003)(366004)(199004)(189003)(26005)(446003)(256004)(102836004)(86362001)(6506007)(186003)(8676002)(81156014)(81166006)(11346002)(229853002)(74316002)(476003)(8936002)(486006)(71190400001)(71200400001)(55016002)(5660300002)(9686003)(14444005)(76176011)(6636002)(305945005)(14454004)(6436002)(7736002)(97736004)(25786009)(4744005)(68736007)(6862004)(316002)(105586002)(99286004)(66066001)(33656002)(7696005)(52536014)(53936002)(6246003)(6116002)(478600001)(3846002)(4326008)(106356001)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB4033; H:AM0PR0502MB3795.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: mVJs424i41bv3RKjH2+yJDgBYe3zMLWwjwDjLzORYBsivyGzAwJ/MDdFwmYgdVIC40x9jJKFPpnVj0EsxtLUwuAOCaGVHtWekOaulOwMBEkeTWqYSZ6oE3tF/KKjB3BUcZkms3Gj3rweDpthqJ6Gt6bfa8q60GvDGHWY4awPQEDZjf6GxqdUKnaoa+Z75otUVUeFuyb/kk3GBt6IvWGJfm4/vWUlqplxRhIL3+lJMipK7LGUsj1Xmsmwcw4CpBI6XkdGlzGW5cxtG/3wrdGTZ5pUgy+0UANRd71dN0R6J0mV2MoRNv+TAVBw8K8pz4EEOtgi5XEtSxQ8s677O2sjTxM9Xrgs5Gf/l9MNblp4RRR+IJUOQmyf0GMOYFuvmuIuE2YD83bt21AsC2kMM4UAQFnbJKXKoYtFwmAka7qxKZY= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 440e4f63-847e-4949-45e6-08d6bbe277a5 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Apr 2019 05:24:26.2305 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB4033 Subject: Re: [dpdk-dev] [PATCH v3 2/4] net/mlx5: remove redundant queue index 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: <20190408052426.0iF7M7shtzOJefWn78akwZhz9kolRd4F67Hh9Q4-3BU@z> Friday, April 5, 2019 4:34 AM, Yongseok Koh: > Subject: [dpdk-dev] [PATCH v3 2/4] net/mlx5: remove redundant queue > index >=20 > Queue index is redundantly stored for both Rx and Tx structures. > E.g. txq_ctrl->idx and txq->stats.idx. Both are consolidated to single st= orage - > rxq->idx and txq->idx. >=20 > Also, rxq and txq are moved to the beginning of its control structure (rx= q_ctrl > and txq_ctrl) for cacheline alignment. >=20 > Signed-off-by: Yongseok Koh Acked-by: Shahaf Shuler