From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5CEC2A0C43; Fri, 22 Oct 2021 15:48:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D5724411EB; Fri, 22 Oct 2021 15:48:03 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 3A309411EA for ; Fri, 22 Oct 2021 15:48:02 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10144"; a="228070395" X-IronPort-AV: E=Sophos;i="5.87,173,1631602800"; d="scan'208";a="228070395" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2021 06:48:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,173,1631602800"; d="scan'208";a="445295685" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by orsmga006.jf.intel.com with ESMTP; 22 Oct 2021 06:48:00 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 22 Oct 2021 06:48:00 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Fri, 22 Oct 2021 06:48:00 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.49) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Fri, 22 Oct 2021 06:48:00 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TpooXpNxJX61JFKS1Di+ewnO7uyIBzJsxzLhAF1ztok0UNboBmiccm6GlG2RSzju5fDGIXILby/hQ3GmfxwR+7V4qYAhFRn42JJ44u3u1p8596gTnsKbk4wAm3OTxLYdxi6IneVdvelOkAhSGFZtWy5wwtvWUPLz1VSa1w4Jn9hzYUkRJ8R+QKZyjW2d54wYnhDGYHM6A36OA4WzplNzwNZ5JUdgXrtIuTeKkcMVNu2Dxwa6e10coQo6iaBo+17UrthI+HNvVq2UvR8TJ65Q+CZ6rPrtm39qOeiU/iqoH542UsC1xwZXjaqpnolVtDYYoL3d7UXYV1pZMYY5fkAtDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=PMQHbCDjRBILnVSjWaCH+ErAgZqwG7wvWDmlSqVmzH8=; b=YKA94nhtFOp9LscRk6+jOtZnG8QIH3QbaPHzz9xZtDuDj/a6CQxcIy1xHiObvtTvPlRnz3itX+aKdMmE8zugthF8yBeKfmOjwYQh5GxfYcjBo6I2Fkn0N1mttzbG9DupuPQXWnAUlTlkQzk2Vo2T81P0EC4irMGH+rdwf3TLUfp7zSYD1cqmxzNbkgMAiuGXg4lAKaSQnSQOThmuLvC5EkPUrIDmz6d13dV4BjY9uzrGVbxqC1b2FEHZqfTSFxxtZX0RUYZnbtdRPLQraLqgtbmUvH7i6AMi3+qibLYTlyp6R+/EVKgNciwwWOgAJIQiL/Y1i3yEFkOJcUTc2hseyQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PMQHbCDjRBILnVSjWaCH+ErAgZqwG7wvWDmlSqVmzH8=; b=DGCkfmHEckuULzNCg6fa8+t4mzcXeiF8iWqct1XR0UwNBafNW7tcrQ1xmrVGwWYIbZICbOwr9UbzryvKaeXgRai1uurUx9ql6p2dBBzQ+eKwyq3lypwPNnG2GCP53dDUYNRVUHiMCkWrknwZ0ZyVhJG0mGv34460CRSlFKsP62Q= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB4918.namprd11.prod.outlook.com (2603:10b6:510:31::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.15; Fri, 22 Oct 2021 13:47:59 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bd7d:29be:3342:632c%6]) with mapi id 15.20.4628.018; Fri, 22 Oct 2021 13:47:59 +0000 Message-ID: <8cb54b7b-cc00-209a-1a0a-eb655f712b5a@intel.com> Date: Fri, 22 Oct 2021 14:47:53 +0100 Content-Language: en-US To: Konstantin Ananyev , CC: , , References: <20211022132642.30669-1-konstantin.ananyev@intel.com> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20211022132642.30669-1-konstantin.ananyev@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DU2PR04CA0265.eurprd04.prod.outlook.com (2603:10a6:10:28e::30) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DU2PR04CA0265.eurprd04.prod.outlook.com (2603:10a6:10:28e::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18 via Frontend Transport; Fri, 22 Oct 2021 13:47:58 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1c566d2c-6a2b-4177-863e-08d995628f36 X-MS-TrafficTypeDiagnostic: PH0PR11MB4918: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4303; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: s0185mCqrADhFS9rOE3HjMg9AnaUWFEJN625M3ZCpoJ3JK8evq1GyZY2/xeGf3I6MfenmvsI8XJkNDd0vteIsAUHJqep/AldOGD1SxjlvoXUv5L7rBd0CUYNBkR3PpO4VMu40po/uvy+Wh7p/kPG1pChBSeTVDt52/J3VGjbRQJ2fi2JojQ0X5Crf2HV9+i0wUmdz2JdGm+udxocx0AeREDQTPeEIDClQJsyIqprmzJBi9uZmDYcNx0Q6d09HoTgmxfh5anELo+mVkJrlTXrv69ug0+etpjuIE5KIqGdN/G6ChpvXEk7tfw0rKJupkNU62cnoOJzfiFNQyLkDFIFUo+fzvnVYvHuUvQnBjYS0ilo9LwE6d0zGl+PObXGPulL16NeZt/EM3VkCGDsHtPm4+e/R5O/DgJEgw+x9al1phdzohR2J++jN1gQcN6GE9h6PaOZTNK/cc6u41WP/1bhWgmzePy0nScIeUFx9qIXyvvzCuPi3qy4tMrVCPVguJvb+EEhts7VzggnWAp1pToQAffsz1kncOSPR2MxXnuk5XObtc07LpZIFmGvFslPGKcEqauc85vm3c2YDBQujPpyT5yHjeU/950erv/Fx6CvR7APEM8NQAWo257eWDY2+5VRsrn0VkGwlHtJ+jiUM0TPG2RYiZCwKV83f72B3pID8TTjQumAbQYnm4mXfoOyN2nhlqzoGLQYaFfcARtUv/8odw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(31686004)(66556008)(26005)(44832011)(31696002)(66476007)(53546011)(316002)(186003)(508600001)(16576012)(86362001)(36756003)(107886003)(4744005)(6666004)(82960400001)(66946007)(4326008)(8676002)(8936002)(956004)(5660300002)(2906002)(6486002)(38100700002)(2616005)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?UkplSUZBL3cxZTRmb1VwdEdtMWhTRTJ0NzlLbG1wSHVPVXhZeHRaLzhtRW5F?= =?utf-8?B?cHN1RUF1eVQ5bnJuOC9kQ2cveEdxTm0yQTdmeVBFRXFEMU9IajI2RWo5QUM2?= =?utf-8?B?OUx2L3hXcVBrc011b2xoRUZTVlZSWjZYdG1uZDZ2M2dhUDhrdkc3MGx0VDFO?= =?utf-8?B?NlFVVHowcGxvUWRDdnZWQ3djTmVJOE50V2twbGJlb25IY1puSk9aaGswdlhj?= =?utf-8?B?dit1ckxvQWt3LzRUd2lTcW1RSXJDNFoxWHZuVTIvc1I0djZ6MytYMkR1OW1Q?= =?utf-8?B?ejNRL1dxRjBXcStUOGdHQ0ZJUU40VmlJYUtDbCtxYmhJMkwyajVhSmFiZTNz?= =?utf-8?B?RW54b0M0RGU4ZWlOQitYUDRIell1bDRudERURFphczJ4bXR3ZEVLVjhDcmMw?= =?utf-8?B?ZWxzdmlLRlYxcmFzN3J1Qk94UW5yTkdVNGc2aWJhKzlsZkMxbFEwTFFvOWdx?= =?utf-8?B?MGRqTGtmT2oyTFg0U2lhU1hvSHlNWW44bVlXWDl4bXRoVkJ5K3ZFcVpmTTVR?= =?utf-8?B?c0s3d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L0RwYUhT?= =?utf-8?B?b3V6alppYnYvcHV4UDJQMHRNK0EvSkNVUEdwMms3SmF2VDR2VDNDcWttd1FV?= =?utf-8?B?WXBEc3lFSE9yT0VBNVozTndTWTZrTnV6aVZWMXgwSFdoYjdpTi8wbkVKZldZ?= =?utf-8?B?dndSaEFraytMQ3o5YmtZb0VMeEs5a09JSHpuTXBvd29peEYwRDVFWnRWWE9Z?= =?utf-8?B?REtoakdSdFVpeU93SkRjQ0tubGU1UTN0bWRMeC8yaEQ4c3E1V1h3MVVPMWhu?= =?utf-8?B?eEpNbmhxMEt1RzEzbENvalJ0SG9La1B2N3AvMXlGeVFJNFowVENFS3VhVVpm?= =?utf-8?B?QVg2QnFrZVRreFFIT21EWHlnamtqbWRCTmY5U1pGT0RidFpXNGJOaC82aGRZ?= =?utf-8?B?R25jb2wxQ2pyeGdvMlRneFFXVjBvRVpNamxnL1Zja1c2NzN2Q2syNDdhYkds?= =?utf-8?B?TGp4STkvRHI4K0tRT09RNEs0MFF2VEw2Q09PSzREWkZpZUlHU244dkR6VHlT?= =?utf-8?Q?ZP9/CNT4JKF3HE8ub7xEyb+4eItECB97?= X-MS-Exchange-CrossTenant-Network-Message-Id: 1c566d2c-6a2b-4177-863e-08d995628f36 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Oct 2021 13:47:59.4044 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ferruh.yigit@intel.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4918 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] test/bonding: fix failures after hiding ethdev internal structures 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 Sender: "dev" On 10/22/2021 2:26 PM, Konstantin Ananyev wrote: > link bounding auto-test internally creates emulated ethdev. > Some tests change Rx/Tx functions of this emulated device on the fly: > by directly modifying rte_eth_dev fields and without doing stop/start > for these devices. > As now ethdev uses rte_eth_fp_ops[] for fast-path functions, these > direct changes doesn't make expected effect. > Fix the problem by guarding fast-path functions changes with > rte_eth_dev_stop()/rte_eth_dev_start(). > > Fixes: 7a0935239b9e ("ethdev: make fast-path functions to use new flat array") > > Reported-by: Lewei Yang > Signed-off-by: Konstantin Ananyev Tested 'link_bonding_autotest', it succeed after this patch (failing before) Tested-by: Ferruh Yigit