From patchwork Tue Jun 28 11:28:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavan Nikhilesh Bhagavatula X-Patchwork-Id: 113499 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id EB126A0568; Tue, 28 Jun 2022 13:31:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C785540691; Tue, 28 Jun 2022 13:31:26 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 04CBD400D7 for ; Tue, 28 Jun 2022 13:31:24 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 25SAHgrC010805; Tue, 28 Jun 2022 04:29:20 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=uzBfAJv3Cngu9wV+N16lZe+VZ4W3WCdXKb4KdhHYOuM=; b=C/H7WkzI13hMmLZjlBTD+NY2sX1j8VjldtgZXY2cQyDPQbax6arvbUlzS+5QAZUAJF7o +dguxwePHwhhlolPzSd98ciSEgWIVRlPgsCEYy8DZcVhMo5bNYhjRGQWDlSQn2SmmHK6 ttEgvIlWoUhlEHpaxB5AnRGTfJ0wW0ZPdVZLwPDsNJz8esd6TCvhv+JkYLvy0GJorKhS Ffbv9Y2rfQ8UseZOirwtNBEohBXHGrmie+AiH7pLgUVbrrPuzTPIm30O3Pqdk9JuQJiH kCzyI9A8VIKJqO/c7WGxuAFVjFoE8q8Buiqa8AJfSDVN6gQ7HIGs4RlVYNLLbfTjStba ZA== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3gx1vm3f8p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 28 Jun 2022 04:29:20 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 28 Jun 2022 04:29:18 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Tue, 28 Jun 2022 04:29:18 -0700 Received: from MININT-80QBFE8.corp.innovium.com (unknown [10.28.161.88]) by maili.marvell.com (Postfix) with ESMTP id F2EC53F70E2; Tue, 28 Jun 2022 04:29:14 -0700 (PDT) From: To: , Ray Kinsella CC: , Pavan Nikhilesh Subject: [PATCH] doc: announce changes to event vector structure Date: Tue, 28 Jun 2022 16:58:52 +0530 Message-ID: <20220628112852.1397-1-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: v0IOtMAxwb-4r24QjzTkR64UfzzWyUHH X-Proofpoint-GUID: v0IOtMAxwb-4r24QjzTkR64UfzzWyUHH X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-06-28_06,2022-06-24_01,2022-06-22_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Pavan Nikhilesh The structure ``rte_event_vector`` will be modified to include ``elem_offset:12`` bits taken from ``rsvd:15``. The ``elem_offset`` defines the offset into the vector array from which valid elements are present. Signed-off-by: Pavan Nikhilesh Acked-by: Jerin Jacob Acked-by: Timothy McDaniel Acked-by: Abhinandan Gujjar --- doc/guides/rel_notes/deprecation.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 4e5b23c53d..d7933629f2 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -125,3 +125,10 @@ Deprecation Notices applications should be updated to use the ``dmadev`` library instead, with the underlying HW-functionality being provided by the ``ioat`` or ``idxd`` dma drivers + +* eventdev: The structure ``rte_event_vector`` will be modified to include + ``elem_offset:12`` bits taken from ``rsvd:15``. The ``elem_offset`` defines + the offset into the vector array from which valid elements are present. + The difference between ``rte_event_vector::nb_elem`` and + ``rte_event_vector::elem_offset`` gives the number of valid elements left to + process from the ``rte_event_vector::elem_offset``.