From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 21FE75F28 for ; Wed, 27 Feb 2019 21:00:57 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x1RK0TPo031362; Wed, 27 Feb 2019 12:00:47 -0800 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=M/rQVSEmFdWTrvsgrVHUZRmz3T/vByfbjDGRhGPJSuY=; b=vONeGBS4SKGJaxrgHADJhX/VcXHx7C4/xBYURTs6+nV7SODqndFmdP4Pgu/XTfuALP+B 20M6Pzj5pUQT+Z0gJLKbwIhBMUHJZ8w0UUoe2OHH07Xvoda0HMV9eKhdXFg1xWtn4cSa WzQbYZ1NwcVU6yEM5V3jua7eMQDxFHL4MVlWVAUm0YpL4mOZo/lvcNiFsGbmG+9OagYg 7h8DPma79YGK0i+C0FGcoH0rawkQRIR6imKAhacJlrA8HzhbOInPug70FPgIXDt2pi9s EHROr3UrEH05F4JRqlh/rqU6O7G86sk9wI81D5qIYzT8UczPpJrkv4MeBYemSbPASRZ/ jQ== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0a-0016f401.pphosted.com with ESMTP id 2qwt361fdt-6 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 27 Feb 2019 12:00:47 -0800 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 27 Feb 2019 12:00:44 -0800 Received: from NAM04-CO1-obe.outbound.protection.outlook.com (104.47.45.55) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 27 Feb 2019 12:00:44 -0800 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=M/rQVSEmFdWTrvsgrVHUZRmz3T/vByfbjDGRhGPJSuY=; b=HdTk4Q7/crNUkHmNe6eVKeYVIpuoBFWAqNgxdj1CucfWg03eLylBAxseuTdh/hqBhnFZ1gsUETUmT6XD4JkTubST14vDZ/+abaOYbpzPfoiYLQA9+yJOul+A20NN4Xx5k+qFOvyoUtcisCA9CxTLrc97ecOK8uYjuyrlccxjTS4= Received: from CY4PR1801MB1863.namprd18.prod.outlook.com (10.171.255.14) by CY4PR1801MB1862.namprd18.prod.outlook.com (10.171.255.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1665.15; Wed, 27 Feb 2019 20:00:43 +0000 Received: from CY4PR1801MB1863.namprd18.prod.outlook.com ([fe80::51f1:659f:d799:d1ad]) by CY4PR1801MB1863.namprd18.prod.outlook.com ([fe80::51f1:659f:d799:d1ad%4]) with mapi id 15.20.1643.022; Wed, 27 Feb 2019 20:00:43 +0000 From: Pavan Nikhilesh Bhagavatula To: Jerin Jacob Kollanukkaran CC: "john.mcnamara@intel.com" , "dev@dpdk.org" , Pavan Nikhilesh Bhagavatula Thread-Topic: [dpdk-dev] [PATCH 2/2] doc: add notes regarding eventdev producer consumer dependency Thread-Index: AQHUztcfpEza44qDXkKB7MRzYDVUWg== Date: Wed, 27 Feb 2019 20:00:43 +0000 Message-ID: <20190227200019.1085-2-pbhagavatula@marvell.com> References: <20190227200019.1085-1-pbhagavatula@marvell.com> In-Reply-To: <20190227200019.1085-1-pbhagavatula@marvell.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SG2PR04CA0145.apcprd04.prod.outlook.com (2603:1096:3:16::29) To CY4PR1801MB1863.namprd18.prod.outlook.com (2603:10b6:910:7a::14) x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.21.0 x-originating-ip: [49.205.223.117] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7bb93e14-e42f-411b-1258-08d69cee417d x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:CY4PR1801MB1862; x-ms-traffictypediagnostic: CY4PR1801MB1862: x-microsoft-exchange-diagnostics: =?iso-8859-1?Q?1; CY4PR1801MB1862; 23:e2m/XG0QMLOEWfSOgPokHkFRlJKCQEA76T0p4?= =?iso-8859-1?Q?aAJF5+JCXff3eqdYNm9qf5jk7qsPkD723FSzIw+kQ9SCDn7MkoXSe4zEfY?= =?iso-8859-1?Q?Od+LDBMDp1A5j38zOB0KoESQu0O2w3ojUse3dUQLmCzfsfZ4OgWIl/FUst?= =?iso-8859-1?Q?zh/UcmGoz76SgOatd+Oj8jIyPMFDKRF87UXb55Cc3l4eJCA21aZEqhOTPm?= =?iso-8859-1?Q?UcTqaMD2Sl672LFP6eh1sucMFN2oHQ/2k0VqYe0weZS3cHMny9NURln7an?= =?iso-8859-1?Q?GJnVOUONHcHMn3seP9wG3pjnMKu8uLfk5pUpOPnpZpo4+jUnAb9d8xWASU?= =?iso-8859-1?Q?DUBABQIag8IgI7aUKgWpWFe2WgIItoKF5J+26CDl5frJ6gnWFzvUQ8+M7t?= =?iso-8859-1?Q?suMujIljXjAc/jwcPQFgqWQ6j8gKniQEQauQ4hdPV8lV1bS8/a85RXKXV2?= =?iso-8859-1?Q?Bh4+2Gw2ubCFxOWJ2VeJV4WYcsCEFwKU4C8e7h3y91moN8WiGISN4Kl1td?= =?iso-8859-1?Q?DPrj6j2l1RQ7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 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(39850400004)(396003)(376002)(346002)(366004)(199004)(189003)(6116002)(186003)(6636002)(53936002)(26005)(6512007)(50226002)(6436002)(6486002)(446003)(97736004)(476003)(11346002)(2616005)(71200400001)(25786009)(3846002)(5660300002)(106356001)(71190400001)(105586002)(68736007)(86362001)(305945005)(316002)(8936002)(2906002)(8676002)(478600001)(7736002)(37006003)(14444005)(107886003)(6862004)(256004)(36756003)(81166006)(4326008)(54906003)(78486014)(1076003)(76176011)(99286004)(52116002)(486006)(6506007)(386003)(66066001)(14454004)(102836004)(81156014); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR1801MB1862; H:CY4PR1801MB1863.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX: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: CnKOVnVgj/3kjnDjAPCckRni2cwn+g+cmU2JNw/b8knnhtXV3yfFiIXvbxfRyv9NliL+YIV7opyFCzHzW80DZwK+9Uh8o2NzzZhIZKLBlPGDVZ2BXnyFjPgl9yzdaV5Fr99lpMHu9XKBcC6+v+wCcjWolj6gRD76aDNoX5pgyVfhhrBCQCpSiKtshH48ez8QuNsyb+U4e5Qf2ydrFRbNqsa3gcRr2dxcSChflckZr4/lT7uZ2FpvU3HmzysjrYZJ6j4d20SQvShnM4yWcv2ccoM9wZ0StpVdFHah+mIgjluyOzHXzIjGFPD8+v+bBHwEXltqSIHMG+z2ZIAnLMsOrOuOXznkHBHmFRdB8HkqgcjHf/VXT2vm9iqBKTAGv6nd6G5Y26OwtAdU0KKBPlxgG6n2q60U5svw4c38F8HKdwA= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 7bb93e14-e42f-411b-1258-08d69cee417d X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Feb 2019 20:00:41.2844 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1801MB1862 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-02-27_13:, , signatures=0 X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=985 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1902270133 Subject: [dpdk-dev] [PATCH 2/2] doc: add notes regarding eventdev producer consumer dependency 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: Wed, 27 Feb 2019 20:00:58 -0000 From: Pavan Nikhilesh EventDev i.e consumer needs to be started before starting the event producers. Update documentation of EventDev and EventDev adapters. Signed-off-by: Pavan Nikhilesh --- doc/guides/prog_guide/event_crypto_adapter.rst | 5 +++++ doc/guides/prog_guide/event_ethernet_rx_adapter.rst | 5 +++++ doc/guides/prog_guide/event_timer_adapter.rst | 5 +++++ doc/guides/prog_guide/eventdev.rst | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/doc/guides/prog_guide/event_crypto_adapter.rst b/doc/guides/pr= og_guide/event_crypto_adapter.rst index 9fe09c805..1e3eb7139 100644 --- a/doc/guides/prog_guide/event_crypto_adapter.rst +++ b/doc/guides/prog_guide/event_crypto_adapter.rst @@ -286,6 +286,11 @@ service function if one exists. =20 rte_event_crypto_adapter_start(id, mode); =20 +.. Note:: + + The eventdev to which the event_crypto_adapter is connected needs= to + be started before calling rte_event_crypto_adapter_start(). + Get adapter statistics ~~~~~~~~~~~~~~~~~~~~~~ =20 diff --git a/doc/guides/prog_guide/event_ethernet_rx_adapter.rst b/doc/guid= es/prog_guide/event_ethernet_rx_adapter.rst index 0166bb45d..e95529974 100644 --- a/doc/guides/prog_guide/event_ethernet_rx_adapter.rst +++ b/doc/guides/prog_guide/event_ethernet_rx_adapter.rst @@ -135,6 +135,11 @@ This function calls the start callbacks of the eventde= v PMDs for hardware based eventdev-ethdev connections and ``rte_service_run_state_set()`` to enable = the service function if one exists. =20 +.. Note:: + + The eventdev to which the event_eth_rx_adapter is connected needs= to + be started before calling rte_event_eth_rx_adapter_start(). + Getting Adapter Statistics ~~~~~~~~~~~~~~~~~~~~~~~~~~ =20 diff --git a/doc/guides/prog_guide/event_timer_adapter.rst b/doc/guides/pro= g_guide/event_timer_adapter.rst index 3b4446ee9..eb195ebd4 100644 --- a/doc/guides/prog_guide/event_timer_adapter.rst +++ b/doc/guides/prog_guide/event_timer_adapter.rst @@ -179,6 +179,11 @@ running the event timer adapter. This function calls t= he start entry points defined by eventdev PMDs for hardware implementations or puts a service component into the running state in the software implementation. =20 +.. Note:: + + The eventdev to which the event_timer_adapter is connected needs = to + be started before calling rte_event_timer_adapter_start(). + Arming Event Timers ~~~~~~~~~~~~~~~~~~~ =20 diff --git a/doc/guides/prog_guide/eventdev.rst b/doc/guides/prog_guide/eve= ntdev.rst index 8fcae5469..dcdfeb75e 100644 --- a/doc/guides/prog_guide/eventdev.rst +++ b/doc/guides/prog_guide/eventdev.rst @@ -296,6 +296,11 @@ eventdev. =20 int err =3D rte_event_dev_start(dev_id); =20 +.. Note:: + + EventDev needs to be started before starting the event producers = such + as event_eth_rx_adapter, event_timer_adapter and event_crypto_ada= pter. + Ingress of New Events ~~~~~~~~~~~~~~~~~~~~~ =20 --=20 2.21.0