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 95036A034E; Tue, 1 Feb 2022 18:00:03 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8AC21411DF; Tue, 1 Feb 2022 18:00:03 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 3D2F040691; Tue, 1 Feb 2022 18:00:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643734801; x=1675270801; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=2TsRAfRtPTnazIonqEwsKN9wLAQ/y//puMw0653vjRg=; b=Qh940AKuiLWZFcCfCjuLGaBZsdy+Z1YqrUChS/49iiEysjHicgAOnq29 ydbch4kETEzEuJ5w8xcCQqTpug+izirSNvl6hnGKDmpQJEBvzICMd+PlG Utd+XsxhRBKJe4naRB4/yx9kN9XryTXNWp3B99sZuHPNJ5K1KixPQNiEB YqqRXIiQonEGpr16JVMHEl2qDfXv5qeFPJH2Pm9V/28q+Asx7twUKNBaK Be4Mlpm1Z8RqDxQgIu37QICxM9aFFhIJQjXDoPeYaJeQH61W8XzYmX0i9 9rxPcWNBdnxgTRvCUdFxCBvNYVMKUGVUE3KUm+Mbss+dK1HYXzQLcgpMo Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10245"; a="231305973" X-IronPort-AV: E=Sophos;i="5.88,334,1635231600"; d="scan'208";a="231305973" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Feb 2022 08:57:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,334,1635231600"; d="scan'208";a="599279810" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga004.fm.intel.com with ESMTP; 01 Feb 2022 08:57:57 -0800 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 1 Feb 2022 08:57:56 -0800 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.2308.20 via Frontend Transport; Tue, 1 Feb 2022 08:57:56 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.108) 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.2308.20; Tue, 1 Feb 2022 08:57:53 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gFt1IbHLzhS1ezUPO0xfrWzhtssK5eRn1pmMUGvgzx3T6PzMvxWhUsk/doalPiTAZPTRAcVfb9gbLR+qJJBEZWPY8Ov3kstU1DWL/9YT3ZPXUBdcF26ymkqwNNd9UtrJjODvkk9sAcAiF/Nu3pemeA/DnAq+3s/Ad5OFbCSx6g+4huzeI64pL8NIee/v3LSqheCKBvDOrpsVQ5hD4vU1K6FRmYK82nhrz5hLRZFdguVr8lwtblEEIuDeDOIpxWk6g9fFQlhfe94S4MF7xGlDOvD4cEMpG/AaUy0iGrp3MALR+7g4IDKsu1pZRQFt0N9ZvdFUzHVqR+wNZCbVP+Oahw== 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=inagpBjnA6M4Tlw8m2BeYC+9TQ1D9ZlIYc90fwJR2IU=; b=lwysV59uAWA5Szm+KD8RuE1ApA1gRpVLAnkCZTGqibsldeQpTm1DhxYX4GUagZ3+020215gtOYM5fiFTFx22ffVcREJl5A6TifhxNg7sZTRAb3hzQOUrXI/C2k4SlmpfPE1WDAKhWYZzKdAOh1vgSaOYxjyIq0QsD9Z3dZ04UFJ8gl3+8KbwY9bSOvanKasKdXMuN8PzcQg/bzsHLvTNdWSoWoYmnD7inl8AAPBScXP2T9+n7BouJu1PkWJuEfmVyBKYWgaiIVlN2HujSXm2zldgbDpZHPe0etRYOQqOoQ/IU9s1CiIjabiIucprHoQeDl5zDWoJ7gX7VkZSQ93mSA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by MWHPR11MB1983.namprd11.prod.outlook.com (2603:10b6:300:112::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4930.18; Tue, 1 Feb 2022 16:57:52 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::5046:8550:928d:850e]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::5046:8550:928d:850e%7]) with mapi id 15.20.4930.022; Tue, 1 Feb 2022 16:57:52 +0000 Message-ID: <41de23e1-27db-05a9-cb8b-55eaa69210ff@intel.com> Date: Tue, 1 Feb 2022 16:57:31 +0000 Subject: Re: [PATCH v3 2/2] net/tap: fix to populate fds in secondary process Content-Language: en-US To: Kumara Parameshwaran , CC: Kumara Parameshwaran , References: <20220121042944.23929-1-kumaraparamesh92@gmail.com> <20220131143234.17945-1-kumaraparamesh92@gmail.com> <20220131143234.17945-2-kumaraparamesh92@gmail.com> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20220131143234.17945-2-kumaraparamesh92@gmail.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0159.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:188::20) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1da928df-8fbe-474c-42b9-08d9e5a3fc29 X-MS-TrafficTypeDiagnostic: MWHPR11MB1983:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cmcz8iUY5NzmoPORNH3yn8UgNyNqa2D22geaynStorFUKBQeFoK65eMmT5Vawt4tc0bwNvrtP1M9kXRW7y2MIWXretPtfL8tjMw1gD0Un/Z8RgbNyvZkkEWsR6LcLovqMdOOF7Mc990i4YIIkLcYB7yXDgOFlv++27RttcyGn6fLPICgiszDNsEjcvNH9J5iqzkzOyfC2SFlCmkob19V66Z4hVK0SQiDAwErPoSFwoWtofpEhrkdmjZWdlJd9x61Se8GVfNkNI3uCLDiVdWyx+faaC8c5jZmeyNUpT88ewyiqkF8u1KUiiChctTVzfj2tWTo94jtXb56WEgq0CUnTUdQyS17l+LyQ6RHC1YEiQWqgp/2/a1a5/XQHqfuZtMtfH2X1FjRhxd89o2T1daTs65h1WSHwMWwxW7U0cPg+yYhscPxCn2a0AOnVH8cmmnD43u6oEerzQGBtn0IlScjvarUuuYPP8hHVCKtAJWfrigMpl0WBAJ/+ajw+/c0L7gCRknfl9iCqYkYN5dAtZpaHFTtfIvDR5YQOXxtQsq+qkd6xMY0ypqZPuu0LDSTHqlg4FyW3N89CnJM2ex5F5LenhVfYibpFr0IIdt0s0GoF3tX2CtU6xPEdIa0nTUrPOigHz31v2YnkTfNQY1ASTvmo/mkleP6t+1H+v5iXG5MQMKYq08ALxfH4WVqeUHpsaVF/oICqqiVrNON7v+FIc/vtQ== 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:(13230001)(366004)(4326008)(82960400001)(38100700002)(508600001)(6486002)(5660300002)(8936002)(8676002)(44832011)(316002)(186003)(66476007)(36756003)(26005)(66556008)(66946007)(2616005)(6666004)(4744005)(6506007)(53546011)(6512007)(55236004)(31686004)(86362001)(31696002)(2906002)(45980500001)(20210929001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZEwyQUg0dGVvZWZpaTZuY3YySnBRUFVDWW5OeW11QVRsTzVwa3FHcTcwNk16?= =?utf-8?B?VjhaaWcxOVRad2gwYUFoSkdLcFY5TE5ONzlKc0NJWnNTSHFOdis5RzdWK3E1?= =?utf-8?B?TzBVRkRWYXlHNjFFMHl4N3kzckw2eHhhMUU2MlpMeXplVW9UMlNoMmdBU2Vx?= =?utf-8?B?YW5KTnYwUW5Wek1lSFBSd0RydzRSSkJjUWRtWnZPQ1c1WHIrZ3dITmd1Mmhp?= =?utf-8?B?amtPRGRNbzdxc05jWlhtdEp0eldYWW1ZM2hkR1hqTGpFN2FKNmZRaTNDWDBZ?= =?utf-8?B?a0tSU1JXRkNkYXJxVllDTzdOeDJEQ3BIZ2s4N0ZWRmhuNDB6bjZhMlZSRXls?= =?utf-8?B?dGhMZGlqbU8wUzM3c2pYTmJjbGxDTE1qWTRBUmVQU3ZoeG4ydkw1NlJuT3V5?= =?utf-8?B?Y2REMW0vVkYzZ0JpNkJSNHpJNkJFNEU1UWJUMloxbVlBQVB2anRleldQY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-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Feb 2022 16:57:52.4971 (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: QTm+JFo/vidmCGI/lYgB2qTLq0gwYOuVGcqgDbdilnWaN6n2WAHW3t5bvOGfJ9nzTey3vOQFSipvrwmHlkgmcA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1983 X-OriginatorOrg: intel.com 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 On 1/31/2022 2:32 PM, Kumara Parameshwaran wrote: > From: Kumara Parameshwaran > > When a tap device is hotplugged to primary process which in turn > adds the device to all secondary process, the secondary process > does a tap_mp_attach_queues, but the fds are not populated in > the primary during the probe they are populated during the queue_setup, > added a fix to sync the queues during rte_eth_dev_start > > Fixes: 4852aa8f6e21 ("drivers/net: enable hotplug on secondary process") > Cc:stable@dpdk.org > > Signed-off-by: Kumara Parameshwaran Reviewed-by: Ferruh Yigit