From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0080.outbound.protection.outlook.com [104.47.34.80]) by dpdk.org (Postfix) with ESMTP id 325E71B6AE for ; Mon, 23 Oct 2017 19:41:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=a68scDTnwIlRM1nbEqdFy/LYrJCjWc9QJImA/hVpqgI=; b=Wb8Z+6lIWYK8YR7HOI+yHYNyHTjNzan2EulI/PEuH6wKHBN9SGm8NrLWs9wbL/ZoGnX2P170xj2yj1dkl26Pvi5lCNqR7hFmX3tfhR8n+Q8oEl62U0j37mdziFv7otZqithhw+MI23pVEZOADu4LzQjWJRneLkizuOTL/O3ZWLg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from localhost.localdomain (103.16.71.47) by MWHPR07MB3471.namprd07.prod.outlook.com (10.164.192.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.156.4; Mon, 23 Oct 2017 17:41:22 +0000 From: Pavan Nikhilesh To: harry.van.haaren@intel.com, hemant.agrawal@nxp.com, jerin.jacob@caviumnetworks.com Cc: dev@dpdk.org, Pavan Bhagavatula Date: Mon, 23 Oct 2017 23:10:56 +0530 Message-Id: <1508780456-27837-3-git-send-email-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1508780456-27837-1-git-send-email-pbhagavatula@caviumnetworks.com> References: <1507814147-8223-1-git-send-email-pbhagavatula@caviumnetworks.com> <1508780456-27837-1-git-send-email-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [103.16.71.47] X-ClientProxiedBy: HK2PR04CA0048.apcprd04.prod.outlook.com (10.170.154.16) To MWHPR07MB3471.namprd07.prod.outlook.com (10.164.192.22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 92403175-e0ea-456c-8e60-08d51a3d478e X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(4627075)(201703031133081)(201702281549075)(2017052603199); SRVR:MWHPR07MB3471; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3471; 3:NNELTbKiixMvJWLaSwV6JSk3LTwZoSAadBYsOsi1RJCNS+KYvjFD69JGPqg4/AG8Xk1T+xW3LSW372XMRdiRvDRBJZOUg5trxZi5cQ1AceOeEi8Qgsm9YI/TPBR6/6ePgT/CdISdOxK+qdvj12BjFgYcX9YnQuGeqGj9J/rYqtB0skJzSLAPLaSoupaOovtwCILC+NuFkeo4NOAvKEtqPs79oiOkqoanRDjU9h+T3xamhtgewYEF3b7ShYDoIOlx; 25:fRVrGRXre/wpKVB+7u8VvXEyMM7IlX36o53aKPKk8jnkDFSOURx8mMlzi1/5tou528VshQjMZqzDt2Y8BbLXwYnfFx/l4+t00KpquFgg8vumKyDEGYYZDC5ganTVuSVs5bVwQvofXBspjixvyzATyT4KHGiwcck2e8N4JRPiTk0J8IrEdxMdCx63WJ1q+7yFVod0diBhdf+rkdVEQNqeSxMIBJu1ShKHkltJIjGHIr9UnPghEZG+MAYYMXscCgUhOTlV1lTkDXTdlHrC8XbPAR7AhnfzbefO2VQjtI91rMJulAcZWaewfBrlb1c+oogxLoY3Sr6ui5Lkv7xbyuAjRw==; 31:kYgDWLoDDKhFTjuIuEtTA8C702PphSWyz1u7FoROoVA2kEf79KlYWzTHU2MJbHfFkDMHOiOdXrM0A/k7+8yHDyD222Q/vmhrZ/Y7vQyR9gRWWS2yliWHc0rlAwouQqUPG5sFxxo/BQANzwIdfLAP8nqlt3V9U5skWjZdkxttomwyrA2fNdzXHTqjNmsamYV1CLgdpq9YtEsWc90OyxU6nFUNDZgp1sd7OOO4Dub2EYw= X-MS-TrafficTypeDiagnostic: MWHPR07MB3471: X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3471; 20:B35XRh2v51kHKdppekss7Jw75SxuNYEZl29vH4EFe8jDeBowQs5cInu+ZLRPl/vPjrkMROvYh0rzNjKwclVlfGhKyE2GA9vUXf4/TUHaEbBoSEEBU7D2bUXd2mwmkoVAptbvucrdIcEXytGbonSoskfV/l1YViA2/A3SpqNwLO2torTVDuC0asMU2/+JtHXEOQcNF1BgiDqpZ7ms/SsyK3SO8YK+TvMDleHUnc6IQ8GijQsCicyXs66J/iNT6wb+ISgFBDeUJ6fvGuId6XSUwqsdG64Y4/DUjl0cHgByncUmKM+7coEVZq7RKhWS26fqz4r89heZuhdIyz7rHNM5tiebCGQbBoHsI2FGwkrhRcDYHSvGwPKBzkbnggy237EK4EeEDgLA0iIGMdwkmXvhD1b3Vi6NRtAeCfFB3FXzf/E2LBnlgPET/6454lDXOaLMWAD8TK2oJppwhaOBeUfEfY7+qIsG/+0SM9DV9XWVM7Zq67Jw8LLshfw7DWRyIrhSzX8JPjfAwkW8mSXVlvjUFi8+eIsbM2x9bbh+5NCyBgPxQbQES5PXlb6JyqjOErOb9nloqhIez70220VxPUZOGvNImzK7EVJhiAH3TLLxd0w=; 4:wARTtTKoYV90eOj8aXy6G03jqDH7QOWIEwp9Y1JWlPWL6dpf7EYQnSzyDVhcW+q304qLG0vyfKkQe/gPAy5xlCw/L1ZtPZYATY33o2p2Dp+uzEKBubBQtRJBBBap5nOcw11HVSum6/j714yR7G27V0MhHkHuAka9fL9eFva8ilSbfuaPm5lWajfpXtk7/eGrtCFpoNiPVc8iniBG90OqNTN8VmClNsl+Ci1NInTa7v6pdtIX+Jw0k6SUDlUHyiKS X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(93006095)(100000703101)(100105400095)(10201501046)(3002001)(3231020)(6041248)(20161123564025)(20161123558100)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123555025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR07MB3471; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR07MB3471; X-Forefront-PRVS: 046985391D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(6069001)(346002)(376002)(199003)(189002)(8656005)(8656005)(6666003)(2950100002)(42882006)(6636002)(101416001)(47776003)(68736007)(106356001)(5660300001)(33646002)(105586002)(6116002)(16526018)(189998001)(6486002)(107886003)(97736004)(6506006)(3846002)(5003940100001)(4326008)(6512007)(53936002)(15650500001)(7736002)(305945005)(36756003)(8676002)(2906002)(66066001)(81166006)(81156014)(8936002)(76176999)(50226002)(50986999)(50466002)(478600001)(25786009)(16586007)(316002)(48376002)(72206003)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR07MB3471; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR07MB3471; 23:1imxBdgITutYUyGmvIpsG+LAjIomEJjgvYFLwnDPO?= =?us-ascii?Q?V1mRKIr9fTEa/dzBuz8tIfcnm0VZBriHFQeNpq5SFNNF5wQTBKBdA+9eXoiE?= =?us-ascii?Q?QkgO500jbWx7SpCvUGLZ/kvaC5lMyMSP7HXvrDI8LMkVy6a4HeVWCmAa8qFc?= =?us-ascii?Q?fe48Xt0RgaWrs4rzN1iZqBq1MrggE39ole93BgE3SyiRqgU/y4F4jjRG8RP3?= =?us-ascii?Q?IS5n5px1n/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?= =?us-ascii?Q?CAO7DLXioODQaD8AUJEBv2x8R7FtVOVjSsy8IQEUU6SKc+6G+oA9Pt7Rsi9V?= =?us-ascii?Q?UTU5R9CmHWhKv2fYK1dp+e5Bq82/OHbaIYr?= X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3471; 6:Mh5mta5c1vJjM+lsl2fp7nzWj03kyf91sT2b5fLVPH0AVT+ftsJplOu+k6JtL5tty0DcE06joVa2D/be2VTYc/YNStZROSakxgBPM7I06ejICaoltfdczPWm73j0siiSq/x0B/y61VXco4FmOA7vDA4lCVNpWxmusLznfD++DYQ6HswRXu7kkVT+KIGzgZ+ybqMl0F/cN0XnN3GmcfxFBd/dDSuP5V1l+Pqrrd886cFmZNj6xNil7ZbFxt3H+6P/9ogzmryAhtXH0r+3BglF7krD2NhCUb7WwjFeFumvQMewPZXoXwZ/RFP3a7W2GzB1mA7L2KsdF1+6Yf2NYToe+w==; 5:5zNrq72kqI6zjUJEGDBToVfbx9lwHBdoXbfos4+5okUHJbGYPxUGm2O0rH23LPJwHqwGLjqrHcexCOA95u0lW8iF7/dXArTLb9nOYkB6WC9ygbMe7CvI8oYEIrF7U8vbAzT0d33TrgNcblecjAoC/g==; 24:tI0e2gcQDyz6SpG254YpjjZRJ8P1Y8l9sWF06ul7Y41bcbfuLLFaO3HuPu0TUW51WuDXDl/4qPQQhL2YE3jWcybSGm8O8jEuYp2t9kkNyDM=; 7:URpef++Sm26xtmbgTigbm8bzkmN1dfGANZ8q3WZYD67NuyKc0GB32NFJRMo/4bhvuCiqhSEYMS7JV16DWM8pJWhApZc8DX4WXYBa/fAYkx8viAhE/tvQXElKZweic1ibfaB8DQIoXGnW3Ahi9/iM94QBzQbmj0m9qLptFVjo1y8SxhX1DYDrwdw5fsvM91LGcqBngQyQyqUKd3zq6Tw2KqL+JNzHQ0O3i4ZrJB3nblU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Oct 2017 17:41:22.3332 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 92403175-e0ea-456c-8e60-08d51a3d478e X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR07MB3471 Subject: [dpdk-dev] [PATCH v3 3/3] doc: update eventdev programmers guide 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, 23 Oct 2017 17:41:26 -0000 From: Pavan Bhagavatula Update the guide with event queue configuration and event enqueue operation. Signed-off-by: Pavan Nikhilesh --- doc/guides/prog_guide/eventdev.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guides/prog_guide/eventdev.rst b/doc/guides/prog_guide/eventdev.rst index 908d123..be9fccd 100644 --- a/doc/guides/prog_guide/eventdev.rst +++ b/doc/guides/prog_guide/eventdev.rst @@ -217,7 +217,7 @@ calling the setup function. Repeat this step for each queue, starting from .. code-block:: c struct rte_event_queue_conf atomic_conf = { - .event_queue_cfg = RTE_EVENT_QUEUE_CFG_ATOMIC_ONLY, + .schedule_type = RTE_SCHED_TYPE_ATOMIC, .priority = RTE_EVENT_DEV_PRIORITY_NORMAL, .nb_atomic_flows = 1024, .nb_atomic_order_sequences = 1024, @@ -320,7 +320,7 @@ The following code shows how those packets can be enqueued into the eventdev: for (i = 0; i < nb_rx; i++) { ev[i].flow_id = mbufs[i]->hash.rss; ev[i].op = RTE_EVENT_OP_NEW; - ev[i].sched_type = RTE_EVENT_QUEUE_CFG_ATOMIC_ONLY; + ev[i].sched_type = RTE_SCHED_TYPE_ATOMIC; ev[i].queue_id = 0; ev[i].event_type = RTE_EVENT_TYPE_ETHDEV; ev[i].sub_event_type = 0; -- 2.7.4