From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM04-CO1-obe.outbound.protection.outlook.com (mail-eopbgr690083.outbound.protection.outlook.com [40.107.69.83]) by dpdk.org (Postfix) with ESMTP id D996911A4; Mon, 10 Sep 2018 15:44:23 +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:X-MS-Exchange-SenderADCheck; bh=PNSvZWdCeP0ZXgmz3Ymy6/FxFACe0M5/QSuM0pOSFlA=; b=QDZXBdgb4bAs2oWYmiIP4J0oTd0T04ta9vLwqf25IiQJS60HwNz0+k5U4A8Lh6bKOtgWvHXFJaF9AY1KhsPR+naPaskpzDn70NvpahRis8ullqZz4WM+0+iE+5LubMpJ3zDVJWFXHoiWv7k52Qc7+X5LtzwmVo1fWhEjmnsWcbg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (115.113.156.3) by BYAPR07MB4998.namprd07.prod.outlook.com (2603:10b6:a03:5b::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.15; Mon, 10 Sep 2018 13:44:20 +0000 Date: Mon, 10 Sep 2018 19:14:03 +0530 From: Jerin Jacob To: Nikhil Rao Cc: dev@dpdk.org, vipin.varghese@intel.com, stable@dpdk.org Message-ID: <20180910134402.GA24074@jerin> References: <1536149012-47081-1-git-send-email-nikhil.rao@intel.com> <1536155466-154216-1-git-send-email-nikhil.rao@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1536155466-154216-1-git-send-email-nikhil.rao@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Originating-IP: [115.113.156.3] X-ClientProxiedBy: BM1PR01CA0113.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00::29) To BYAPR07MB4998.namprd07.prod.outlook.com (2603:10b6:a03:5b::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9b060245-a17e-4fd3-9330-08d6172383d1 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:BYAPR07MB4998; X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB4998; 3:GEyP2qipwsdk36NeDxTRe7KG4GJkMtLjK13/SbZUyoVsKgRXSCsSdhM4tSDCV1PN/eqGdU13UKF6LSnL8s0FoSUrV0jWqR2p0gHIiwYyhy3cHh3+Ikuc+7xB9SoNNFKRqq9cLbO6Y/7TvOY/HvD1aWGiy2ZwhjDzI1vDhWkqHYbWCADrU4IesURTARN6ML+2Asi22kllSuZs7WMyJ6QFiYYk8fWsnJ9BZFLF/C8W3q1iGsvYwRaA2ddp8YaHtB4v; 25:8PhCYIDNjEtXNx2xgH9BHux1cXQM/8uQIXKHIDtdj6kQfJobILzjAbFskCDQrCSpV27D66D/H39cb81tL7cL4Quj7aJHCay2Zgo4ErjMAuJyur6zKbQMFMt75sF8IeFJ2xJBHc5g6ggmzNorN4PWGItnsuyzFkJ1c/2buXnfxnCbOI67k7zdeEoABAPOBd+DW3HPSBVar+K6hPnBTWJ/rVO6ZfRcPoavvFFYyXJRWjD3wRLaOQtkbF70nR9faieT4OKyPbt9xUfTI1qYktYLWaLW2huykiosSXUgSsAhAsJ7pjtCmqzt+x1ML97mzCNoUiw4dUfkRKxPrK/m889W0g==; 31:R53h6ZlySNaUO6ELJU/cKGARLzFzGNiq6wdCeVHgREDkPVWN8Y3WX2a7sQUxiwv14sB/XFbqpTNnaNk9Zvgu8AFIQBV4X3nKX66aL1sIu/1tDYZPHYrfd6/ZroH516AAxWuU+x/QKVKIsQJWSn9Qap2blfIOD7JAD8A+uH0NtNky1OG2XZrPtP5mtqzx1JPJMX80QVnrQnZtD+4XK1ZCCGB8tNzlUdrHG6MHhN21Qdw= X-MS-TrafficTypeDiagnostic: BYAPR07MB4998: X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB4998; 20:SLfUtqp44uoxBa3PDbQNerNiiK9ZtymlfH2JA8GAQEbx1f/tVwdk97JiZctvGh7pFC8iLUHQCEqJiFFVzG3TGLQLhM/XcTQrWEA7sh1wT+OsqQPeJEzrTFWKE/RkTpqWHXhdUXe0ECH6fyshTRZUTe+TwUvMrK75o6Z4F749RZBI/9JUUeoBYxz4A9WMAjmA2XX1ORftW2ALgE6slv8Z0r6rCofxvU6c8ov3y09cUu9+DMsUaWA58CTVfktad/e7syXeCE/kg557oD11tHKjEYWH0CvEtPRlKBQU7y3MGGuNYwXDuF8CGuxFkqdL2hjtqelO862CboHhLNnFX8rbsw91DwZCLgSGHWk55Qt9LXCP214ow60mIMN4nzYWhWeMIJAtKpXgzGve+6h2VYW95sb8anTIWb/C7kBtE1F4uG0oaYwydNyQH2V4MpTnXQznglcnXbrBCsOfcWr/c6UmPj9DeO4BGthTgo/oQY7yNNSuemym9fZDTkp9aotauNDnTCe04c9iH4WxGTQOSu6OIZwnwu9rhDIx91ZmR81xlSm4bvoyHtKCpx6PkwyNTiwcUqH79lw2/MNd0SAU4sNetVljfq/mQifEqnOA62Wf4T4=; 4:WduinXogAVBZrALxAdIDKD6oVwG3qiG1w27gXVfjj7T0pBwzx9F7OCGq0NwpYsa/676OCc465ZvLA5kvoRkacqj8SgnUSBxxwvoAwW2tJQCsYoe5NbSdb/V24ck2AM1FsrZaezfnmKHSwBI1LuKOVq2GoMjAczG/R7NQviR9S5UMmlslLtEf5wffPnHfRGPjIDdriGZkRf0dLVqzIb/XnuiDl+IcYD8wHBAueHTWDhFL5SlT8CKH79VsNTuve4hQj7RyR9aWuqOttA9h+FN3GVZHKN1UwiM0B05IO29/5zr6m/ws8slkJ5yQeQWkbN0w X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(3231311)(944501410)(52105095)(10201501046)(149027)(150027)(6041310)(20161123562045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(201708071742011)(7699050); SRVR:BYAPR07MB4998; BCL:0; PCL:0; RULEID:; SRVR:BYAPR07MB4998; X-Forefront-PRVS: 07915F544A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(136003)(39860400002)(346002)(376002)(396003)(366004)(189003)(13464003)(199004)(7736002)(81156014)(81166006)(305945005)(2906002)(106356001)(105586002)(8676002)(8936002)(1076002)(6116002)(3846002)(386003)(50466002)(486006)(476003)(23726003)(68736007)(956004)(11346002)(446003)(33716001)(44832011)(186003)(26005)(42882007)(16526019)(97736004)(6246003)(33656002)(72206003)(478600001)(4326008)(66066001)(25786009)(6496006)(53936002)(575784001)(6916009)(229853002)(33896004)(5660300001)(6666003)(76176011)(16586007)(55016002)(58126008)(47776003)(9686003)(316002)(52116002)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR07MB4998; H:jerin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BYAPR07MB4998; 23:N+fZDzCA+rpolzxHKB2w1lpxW9bTmQ5Mg6SNk9pq2?= =?us-ascii?Q?eFKQbNnq93fu3+gfe61Y8vjvJPsRnxRtT5hbLIkbByBgF4TzgInLL+IumuaV?= =?us-ascii?Q?i9RAOPZEzeouDjdt3RrkmOP/arHVEXV+X5yKvMJro3frUXBan6AoMU7erOt/?= =?us-ascii?Q?colGM+SX+GqA0rs5ZZ/M3a7kTGPXsu2bs4FBR5xe43mpASBcY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x4jlJtBOIJS8QnF+FaPwLFvFbSPTDUlYoYPO/tOv5T8BctnedT5TUnqSiQA/DwglEK+nVRpPiE+5XUVe6cRzt5/BCAV+zp8FSfHtgMSOJ91MzXCdMd6ISsAsrzglON2kG0z0A==; 5:zkE1nYxhnfBgmY+7w58CceeKFzDYQLKQmZnqfnWHLS5IYvEygoSAky9lWDuRp83d3JkA1ujE7YeBPDu2VcfdBK3OIlYoXRdl2mBI39xxAOUcLCiyIYBzZUASTaSQgo46M8D/oM+p5IhSZamhMkp95PXODKO2PRzr7osIjSV4Zb4=; 7:xOG+UXywpBlKQWdC8CLr2HmKuMGbsjgjnbTq2Qwng7ccbgauSdkeEYAv0ebtbxPwTDWzcDeF+eFUDCGFZOygqwnGCBGcAEfp5LoO3EmxdL8jhoXr0jBP1pTCDN1ikHnK6X985iobrPyb5JXFc+3PlrVNE0bt6HhuDFx3nRCfGY7iqAmHmnmtlKtL/l7+Tdrkm5vsz1iN8msDbzJLtkI11EYquU359X5AuPN6Zevs+N4FNqEccUtmZDYZpcDkVDoL SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Sep 2018 13:44:20.1098 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9b060245-a17e-4fd3-9330-08d6172383d1 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR07MB4998 Subject: Re: [dpdk-stable] [PATCH v2 1/2] test/event: fix eth Rx adapter autotest for skeleton PMD X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2018 13:44:24 -0000 -----Original Message----- > Date: Wed, 5 Sep 2018 19:21:05 +0530 > From: Nikhil Rao > To: jerin.jacob@caviumnetworks.com > CC: dev@dpdk.org, Nikhil Rao , > vipin.varghese@intel.com, stable@dpdk.org > Subject: [PATCH v2 1/2] test/event: fix eth Rx adapter autotest for > skeleton PMD > X-Mailer: git-send-email 1.8.3.1 > > External Email > > skeleton PMD does not support > RTE_EVENT_ETH_RX_ADAPTER_CAP_MULTI_EVENTQ and > implicit_release_disable so make the Rx queue_id = -1 and > initialize the event port configuration to zero. > > Fixes: ec36d881f56d ("eventdev: add implicit release disable capability") > Fixes: 2a9c83ae3b2e ("test/eventdev: add multi-ports test") > Cc: vipin.varghese@intel.com > CC: stable@dpdk.org > Signed-off-by: Nikhil Rao > --- > > v2: > * add include patch to fix Rx adapter intr autotest as it is > dependent on the first patch. > > test/test/test_event_eth_rx_adapter.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/test/test/test_event_eth_rx_adapter.c b/test/test/test_event_eth_rx_adapter.c > index 2337e54..29d0ff5 100644 > --- a/test/test/test_event_eth_rx_adapter.c > +++ b/test/test/test_event_eth_rx_adapter.c > @@ -317,7 +317,7 @@ struct event_eth_rx_adapter_test_params { > { > int err; > struct rte_event_dev_info dev_info; > - struct rte_event_port_conf rx_p_conf; > + struct rte_event_port_conf rx_p_conf = {0}; Some old compiler does not support this scheme. Can you do memset to zero to make more portable. > > err = rte_event_dev_info_get(TEST_DEV_ID, &dev_info); > TEST_ASSERT(err == 0, "Expected 0 got %d", err); > @@ -503,7 +503,7 @@ struct event_eth_rx_adapter_test_params { > port_index = 0; > for (; port_index < rte_eth_dev_count_total(); port_index += 1) { > err = rte_event_eth_rx_adapter_queue_add(TEST_INST_ID, > - port_index, 0, > + port_index, -1, > &queue_config); > TEST_ASSERT(err == 0, "Expected 0 got %d", err); > } > @@ -512,7 +512,7 @@ struct event_eth_rx_adapter_test_params { > port_index = 0; > for (; port_index < rte_eth_dev_count_total(); port_index += 1) { > err = rte_event_eth_rx_adapter_queue_del(TEST_INST_ID, > - port_index, 0); > + port_index, -1); > TEST_ASSERT(err == 0, "Expected 0 got %d", err); > } > > -- > 1.8.3.1 >