From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM05-DM3-obe.outbound.protection.outlook.com (mail-eopbgr730050.outbound.protection.outlook.com [40.107.73.50]) by dpdk.org (Postfix) with ESMTP id E0B1A1C01; Wed, 25 Jul 2018 15:16:21 +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=GnuJdfaIGCtP5LLqwWqvqCW5u/DJv42vcvowJcJo74g=; b=nvSOnELkX4AJ6eH+5goMPjWZkJXinBH3JJh2LV2/OlAor+/bU7jN82+kExJXCG/EFEne3JPkonEYUkZxoswGnQujuGISjTlswOegyd6bPBHIGylffpLsBqPp6iMTq/VIcS8QFR/LOgUeou1LyEkb8uU2gfld6rhZvyxKF88IGE4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (223.186.125.239) 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.973.16; Wed, 25 Jul 2018 13:14:59 +0000 Date: Wed, 25 Jul 2018 18:44:44 +0530 From: Jerin Jacob To: Pavan Nikhilesh Cc: dev@dpdk.org, stable@dpdk.org Message-ID: <20180725131443.GB3414@jerin> References: <20180719114747.25430-1-pbhagavatula@caviumnetworks.com> <20180724153804.GB11073@jerin> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180724153804.GB11073@jerin> User-Agent: Mutt/1.10.1 (2018-07-13) X-Originating-IP: [223.186.125.239] X-ClientProxiedBy: MA1PR0101CA0069.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:20::31) To BYAPR07MB4998.namprd07.prod.outlook.com (2603:10b6:a03:5b::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b93cc0d1-9662-4221-fc37-08d5f230a0cf X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600073)(711020)(2017052603328)(7153060)(7193020); SRVR:BYAPR07MB4998; X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB4998; 3:WPB/PSqctXnwnKwynkA9V1nkSNa7Xif5bSxrQX+XyTku9OWzN2jatm/tGDYtmYpi0oGk8ZuEGLH9pDFoMJoeRt1Zp3GxSvnJKsskT977YZSNVv1NMAhwObsFkwPcc04e4m6EpB6sVBMq2tJYBx7L1z/vgnxRReATzsyaIog++zNeO7x4VJqs1CWToU3isdzQ6I84ZelDUS9l847q4kfuiFZoXd3d/Ge3FePI3cP7aD5yq3SGvKL8laSCjsWHujCf; 25:usmu2rrt0KHuAuz8X0t+IPlou7+JcwL3EWyDnz+eAj7hFZdwYfPkxb20xGZ5JlNzWOB8vFtol8zFODBdXavFroJgwNxp4d8ymyv5/RTNl0VZ7y21CXE4JwYVdPMRlivOHC8mbdv50dXx7I6peyceN21B9ur2IBv/JkJsBbjbq1tjSISiPYd6aSDuD6MDndk2s4KZOUWLEjoBLGWf3MRgtL8nbn0JmKC4+AQR8KpW52eDCjISrXRLgtcVUDs8h3zNFM6GJy/MFbA/LwtQhgLs/rcLUts3T6lHaev91sCyrLHqfA2Rjz7f+uwR+ij/MTTcsru95qHqvt98p0hkt+dI2w==; 31:dR53rhJHlOJQcdG60UiD2eOpS9oLOjyGYU8zg+j/Zc6G/2mlFn/FqnKqXHrmMxgMj3vYnKCKFQJw00P2KeGsU9aY3c5SGOlZfaPoz+DhjSvKjxmHe/RNPF6jp06GbaQ8tpUgX1EA2HXVIsMEPoOo41hXvwMyzHg3I0e0mYDgy7WZqhpuFxS6ZJjeCvzMVcqEl0ZV1rtVJBw2z5/kNDsA6ofJlF0/bGfsF02ExM5Mn8A= X-MS-TrafficTypeDiagnostic: BYAPR07MB4998: X-Microsoft-Exchange-Diagnostics: 1; BYAPR07MB4998; 20:hcp5rurlkszXeCB5GAFUuYJZTAi9SbkPGeyiWQCZt6RPyhyohAUBC2qzGOjC9vlAyHphrqqlKnWdMysdTGNk+0Y8qr7GPivs+eiAQ3+8qrXor7rJ3XL9hHL1AGIHjzyjSAqddWrFv97yCW8LcxGa5JTvv5YfE+L5DRcSxFFtT6shHL0A6Rp0eDR0CFwuI1uwNfXM5I7lUINRYYtzXC/ywx35lVNLO5BicOpqxOV2cFLTx/dK0JPgk7oR69jyeczZJQeTG1vEsIJyQys41E5pt932fMHDCx85i1HIJN+taDUT+a60G8VSz/e61/mLKNfivdItiQqu65je2SiRSS0lLsPlj2//Q0iA2Y/5gw7jCkPXLk1TovbuGnxqGH3UOdkQsz+IvIGujyGvjtRCl1M5vIH8S5b9ZxLnoDIIDhOq7C51CajCKaXL3IMPPSCZPTbTgPeiTF4Uh2jFbjNjYcqeqJxd3GiVvNRmH0KhIIbEf8DZ/+uoigAt2XKbuzlnxCyVYA2ckzLK5j05EbeKf/nnp6dDmr8rOb0jgttWZvuSFYJogprQ2aXh4wK5b34L9podMNENalnEue10mYLcOx5oe6T6/udCuUhb4xI+r9O+buY=; 4:6TYsvBsHsI8G1EHH8EJnIVVRqjyEGe18EFwJWpI9oq59MkBlP5WU9qEyfoXR/dUBAq+/7pr4QyxvspwhnfeJs12qomxBuAasU0wKkHbWnqqAozbJGY4vpLB8BmC0ntzgopMKsP6j8NPwEECs3fHS9K9nEVQzi366732U4xDTbwvw+8yiQJIJUKb3VljVmjw+UGxfIypyrObiODR30QZhS22eexKgAh7EK1CaRb/Kdt/e/rwXXKUvjrRmlLs7pPrB0liJ+bwDHbpbRLQafFsIFw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231311)(944501410)(52105095)(93006095)(3002001)(10201501046)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:BYAPR07MB4998; BCL:0; PCL:0; RULEID:; SRVR:BYAPR07MB4998; X-Forefront-PRVS: 0744CFB5E8 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(376002)(396003)(39860400002)(136003)(346002)(366004)(13464003)(189003)(199004)(386003)(26005)(58126008)(7736002)(476003)(16586007)(486006)(956004)(11346002)(446003)(68736007)(33716001)(33896004)(52116002)(5660300001)(2906002)(76176011)(6496006)(97736004)(6246003)(33656002)(50466002)(6862004)(42882007)(72206003)(316002)(6636002)(8936002)(81166006)(53936002)(47776003)(8676002)(229853002)(66066001)(450100002)(6666003)(478600001)(9686003)(81156014)(4326008)(23726003)(105586002)(106356001)(1076002)(44832011)(305945005)(6116002)(16526019)(25786009)(55016002)(3846002)(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:dcWuuFdkF7gA9z7q3xHJgczcz/GnAluG5lU5Xafez?= =?us-ascii?Q?n0OiCSty9KtbIYd600nouvWwgRmxHByrhZQPPFwkE3PdR4uRsbslF7g+V5s9?= =?us-ascii?Q?2f1n4UEGUiETrYc37c9lGKiSbNP7NXtyEov+WNHWRRi4EGFyqnJ94UfY4Xke?= =?us-ascii?Q?hvkJNx17ZWt75/ce4sKMGZ6/1397t4bsKy0rgUQAFkDWqJ0iiQQYbsgPkxFN?= =?us-ascii?Q?IR3JlGOiU19jX7Zz5ISiZaPycxyDlQpYM6feUcYrwy6VygIp7MKOutAIoiYq?= =?us-ascii?Q?AK7Gf9aF2pjSk6q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Rn5GohK2hMHnrW0g8c7rTxuKV0x9iQCzdGk4OeYqnswAOn0TjhxrwovmFcq9Jfgmqi47vIx4laVcrP8w==; 5:GS5PvGH9CChE70UdW211kTgBSzEibGVwWJJbffiizEjXDB0iCUjqOZj3XFBqkKxOulwZWnthgW71N1dFvVwmZaQCfLLFOkbHvtfly6yRbjQLEXh/EBQDyu564Xh8vmkIc4ef9oi+YsHJtTsrDbT+e3kDePcVwZAxMvlKDU34TWk=; 7:FGWPMGdbmmXIM+U9zencBim6C2F9MLJAumquQ9eP2iCfSrH+De5scnz6k1rXLLqwZ4ovEda8/Dt6pX9qPwAQbwRjKJrpzOF0Ehl6Ewm0xwdSMHZlcZS9R9HKi3ykKyO7/k7HB8GrEAj12eeMgC4+bVPhxgk1Y4ldZNt7MAh8eOPFrxGyTxgDDxWfy+4MowjgcrGwqGt14TTugMF8SBpuINAhOfS3Zg4LsW2kNEaaeisNapMFj0ATgpSol/gE3ZwF SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jul 2018 13:14:59.6858 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b93cc0d1-9662-4221-fc37-08d5f230a0cf 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] [dpdk-dev] [PATCH] event/octeontx: remove unnecessary port start and stop in Rx adapter 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: Wed, 25 Jul 2018 13:16:22 -0000 -----Original Message----- > Date: Tue, 24 Jul 2018 21:08:04 +0530 > From: Jerin Jacob > To: Pavan Nikhilesh > Cc: dev@dpdk.org, stable@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] event/octeontx: remove unnecessary port > start and stop in Rx adapter > User-Agent: Mutt/1.10.1 (2018-07-13) > > -----Original Message----- > > Date: Thu, 19 Jul 2018 17:17:47 +0530 > > From: Pavan Nikhilesh > > To: jerin.jacob@caviumnetworks.com > > Cc: dev@dpdk.org, Pavan Nikhilesh , > > stable@dpdk.org > > Subject: [dpdk-dev] [PATCH] event/octeontx: remove unnecessary port start > > and stop in Rx adapter > > X-Mailer: git-send-email 2.18.0 > > > > Modifying port state is not necessary when starting/stopping Rx adapter > > as it is same as starting/stopping ethdev. > > > > Fixes: 45a914c5bd71 ("event/octeontx: support event Rx adapter") > > Cc: stable@dpdk.org > > > > Signed-off-by: Pavan Nikhilesh > > Acked-by: Jerin Jacob Fixed check-git-log.sh issues. Applied to dpdk-next-eventdev/master. Thanks. > > > --- > > drivers/event/octeontx/ssovf_evdev.c | 14 ++------------ > > 1 file changed, 2 insertions(+), 12 deletions(-) > > > > diff --git a/drivers/event/octeontx/ssovf_evdev.c b/drivers/event/octeontx/ssovf_evdev.c > > index 2df70b52a..f98296f18 100644 > > --- a/drivers/event/octeontx/ssovf_evdev.c > > +++ b/drivers/event/octeontx/ssovf_evdev.c > > @@ -476,14 +476,9 @@ static int > > ssovf_eth_rx_adapter_start(const struct rte_eventdev *dev, > > const struct rte_eth_dev *eth_dev) > > { > > - int ret; > > - const struct octeontx_nic *nic = eth_dev->data->dev_private; > > RTE_SET_USED(dev); > > + RTE_SET_USED(eth_dev); > > > > - ret = strncmp(eth_dev->data->name, "eth_octeontx", 12); > > - if (ret) > > - return 0; > > - octeontx_pki_port_start(nic->port_id); > > return 0; > > } > > > > @@ -492,14 +487,9 @@ static int > > ssovf_eth_rx_adapter_stop(const struct rte_eventdev *dev, > > const struct rte_eth_dev *eth_dev) > > { > > - int ret; > > - const struct octeontx_nic *nic = eth_dev->data->dev_private; > > RTE_SET_USED(dev); > > + RTE_SET_USED(eth_dev); > > > > - ret = strncmp(eth_dev->data->name, "eth_octeontx", 12); > > - if (ret) > > - return 0; > > - octeontx_pki_port_stop(nic->port_id); > > return 0; > > } > > > > -- > > 2.18.0 > >