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 6D159A034F; Fri, 8 Oct 2021 12:09:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E9AFF40DF7; Fri, 8 Oct 2021 12:09:54 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 267A040DDD for ; Fri, 8 Oct 2021 12:09:52 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10130"; a="226377194" X-IronPort-AV: E=Sophos;i="5.85,357,1624345200"; d="scan'208";a="226377194" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Oct 2021 03:09:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,357,1624345200"; d="scan'208";a="439883178" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga006.jf.intel.com with ESMTP; 08 Oct 2021 03:09:51 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 8 Oct 2021 03:09:51 -0700 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Fri, 8 Oct 2021 03:09:50 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx604.amr.corp.intel.com (10.18.126.84) 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, 8 Oct 2021 03:09:50 -0700 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.176) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Fri, 8 Oct 2021 03:09:50 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bEVWK9qE93MeqpQSTk/zp7T+hhVnX2z2MMHJMQILre9QHO9hwgX0F8EU3ujhfcHudSQBz92jLTEsBZexPqS+HFLpdiY79k9CtGZe8RqVuy1lMppcXbGlU0Ozch+AD88zZEUPi6G7oN4KVC+Q3Rz6oT2gmqWO3RwKiWVm34Uj20hibd8CCYarYzuQ4ZXi6YKSmV/pkqgU7WopA5qeNVRRkxHfywiLV3T1pZhElfMrLKwk+AiyRo4tDFKKjbB0eOo87xszcwcVv65+nj8l2lCWdoMhKryx3Wvudb2b7UozHkRslDs92Mcs13PSbgya8LeNGhizCRkRx+ljjhsu5AAs5w== 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=miwQP+7RK418dRRRR2PKOD/BTJ7IsWcqDcrVCGxjNcw=; b=Hqi886UHAipDFj0hO9RKZPr8i2TRAoYFPdaBAt4p2Pymd5E5MeqIdiasseBUEg0wqZIWc+Micx6zWesJ6H21E6eV5u9UiyDpNGfbF7RbtKPgUk2gCVyRS3xNCRo/xysN2vvvpMIjig8u7DUUsUY6ZmHIJH8ObltXywmSSt+q6ZkSddbRKfMPF2lxEjcDjr8Pt3aZ3yLoGbubUHxrTxzbmshPwMOO6xbKlsRkgKB5zGlN07p+897KyxrJ5F0z5qL9AJZAl5Yu/2m2LjAnVK4gMogcxuu7WaLnhc1SIkcsWECkp6DRt6w2dLUPdecWbp2PVwSp7ENX6UzdULIlylBwpw== 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=miwQP+7RK418dRRRR2PKOD/BTJ7IsWcqDcrVCGxjNcw=; b=QRnMfTlEaKQMMKt24IZyX7oYg3ESaySAb3gUkCRiZuwwy8j/VMhtL74lUe37Anmzmw8fVatLYAl0HijdBfzAoBjq+eNyl6ez20nCyb1ddqhWrjozppfsiN8KzGNbBsMRyRBBD7PjQXjjZ9u169awanjQ5HvaszGBjdkJx9voBaI= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; Received: from CO1PR11MB4868.namprd11.prod.outlook.com (2603:10b6:303:90::19) by MWHPR1101MB2253.namprd11.prod.outlook.com (2603:10b6:301:52::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.18; Fri, 8 Oct 2021 10:09:49 +0000 Received: from CO1PR11MB4868.namprd11.prod.outlook.com ([fe80::7c6e:d458:33ed:e579]) by CO1PR11MB4868.namprd11.prod.outlook.com ([fe80::7c6e:d458:33ed:e579%8]) with mapi id 15.20.4587.020; Fri, 8 Oct 2021 10:09:49 +0000 To: "Wu, Jingjing" , "Xing, Beilei" CC: "dev@dpdk.org" , "Doherty, Declan" , "Sinha, Abhijit" , "Zhang, Qi Z" , "Richardson, Bruce" , "Ananyev, Konstantin" References: <20210909142428.750634-1-radu.nicolau@intel.com> <20211001095130.3343083-1-radu.nicolau@intel.com> <20211001095130.3343083-7-radu.nicolau@intel.com> <78f20f9f-9bc2-a033-7342-9ccf2d43e2aa@intel.com> From: "Nicolau, Radu" Message-ID: Date: Fri, 8 Oct 2021 11:09:42 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.14.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-ClientProxiedBy: DB6PR0301CA0059.eurprd03.prod.outlook.com (2603:10a6:4:54::27) To CO1PR11MB4868.namprd11.prod.outlook.com (2603:10b6:303:90::19) MIME-Version: 1.0 Received: from [192.168.1.12] (109.255.186.106) by DB6PR0301CA0059.eurprd03.prod.outlook.com (2603:10a6:4:54::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.18 via Frontend Transport; Fri, 8 Oct 2021 10:09:47 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6136f9af-a187-42bf-3741-08d98a43c304 X-MS-TrafficTypeDiagnostic: MWHPR1101MB2253: X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-Transport-Forked: True 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: X1G1AOd9to5rdm40muEG0GMVod5b1fLaErJWLqiHODuJjMdgt1zginIBSmi2NP2TzpnVcXKK7U48apVfkVnFlvNF4+A3ShaEQVCV9YoJ+aH1ISbyKrnb5/nCunWSlVRY1zZfRq+gWE0WSnLjEmv9HmMOrEEO62wG1zPQk5iFOp4X4JurT1yR5nOlSfFYnOrJbgj2GSzAe+8rG8NEYFjDHTdbQ1dxHs3TMyi5OdnZRLfNCbet5aFA3ZERrjvgMwAHfhFOiDIWwGwPJ7ifIkT3+4ZrFTB6sAWMWCAEqrowxe83QpNU+eoYNRlWd2l23dSDtkoEsKlJ6GSNyX8r1VnbSb0lJo71siuHE8X8ySUBMPBp0ybxR7As/MdB3s8pWTPsAg69CcQZdFd+LTMh0/9Rg0tadaRrpf8vUwJVKJSrmuUaDmD72QOR/EAFGowLV2XSaCBusQBYDQ+qldKt7gxs/OCB/CdrPlORPpOVunfZq9jS5zqYqxnwy6h68I1ACTwFs6ee/mGzFCS6GOoQnbdklNzHqCa89R67BucjPlSCN+QrfS98h9tn1bBD37avFpsinF86ehheDXqYDmEp0aq4Yo1LGFwo/Qlo+AKBkoYLSRWDtSv/xn9qD+wkGoLa31SzAzPfbn3JE9SXdsO5NjK5y4uNnr9Zvvlhir86oSIVK1burbAs5i5lkq3UAlEoJdsarCQEWzNuJmCgwqPVkFbjHpTzbR4lXKv+ubLhpt7b9Sw= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO1PR11MB4868.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(6486002)(956004)(5660300002)(83380400001)(107886003)(55236004)(6666004)(8676002)(36756003)(66556008)(2906002)(508600001)(4326008)(186003)(8936002)(4744005)(6636002)(38100700002)(66946007)(26005)(31696002)(31686004)(110136005)(16576012)(86362001)(54906003)(316002)(66476007)(2616005)(53546011)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SVFwUGFkcmdCanVaWlkwRUFEcEIrUGdKeE5Mazg2V0hvUHJPY1E2d2tHU3J6?= =?utf-8?B?NjNCYkZvUWRJMnpsT3J3S1UvV3RiNWdOcDhkRHB0MUNNcWZYZjBqMzF2TkFn?= =?utf-8?B?ZGZ6T1RvZTV6UEZ6a1dXbStpV0R4bldKUUw2ZGs5TEg1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TJPSUFBNlFyeHFS?= =?utf-8?B?SzJrWGkvSVIzbTBzVHI3b2xNYkV0WlJwVlUzOElKY2RxT3ZoZFdlN2RhRitN?= =?utf-8?B?ODlyWmxDYk5ad1hST3NBOE8vd0MwOVJ4by9HU3h3aHV2VmdNelQ2VGQyRUV5?= =?utf-8?B?dWVWOTFIZDVtb0tKbHFLbjU5Y0s2YzJJZnZzTUwyN2VIYW91UHlqU2xBV3Y5?= =?utf-8?B?U1FGV1VqWHZ0cmJFQzZzalZZQWxqclM4U1YvMGQvWWhCMEpUNlFSbEg1U1Y4?= =?utf-8?B?d0tzT0ZmTEtSOXEzSlVNQnFXeG4rbDJEZjhTRDBjVjlyR1YzZFhNRmtrOWVY?= =?utf-8?B?VUUwdTRlK3lBcUxYbThSNzNPZ0VVTDlwRGt5TlZjYjNMdHIycUJPb3NUdWIz?= =?utf-8?B?MGZBb1VDQ1RuWk11MWlwajA2TG5GS21vc1A4RGNtMDJnSjAzV2F2ZzJMUmE5?= =?utf-8?B?bVFDU0FWT2pwcDlRQmtqNmF3aG1oWFFHU0R1R0RMTCtKQWQ1NDlObVMvcWg1?= =?utf-8?B?UlZ5SXdvejZ2Yi9QOUZqYS9pWVBOWE10ME9kR05acjRuQzFlSGRBMEowaVpU?= =?utf-8?B?WlNxSE9HSVlpb2dreUpUNkxKZGpJQTJiajlvTFBoVW10Vmg4cFZTeTFoVkMv?= =?utf-8?B?aXVpbklKUWJIdDVnY25CZ2w3eWNDNWJkZGFvZWFzc3dieHNteEVxb1ZyUXY3?= =?utf-8?Q?5p6L2V/6PuM0fq2ckbzbhP2KEyPiCOSh3oh2zlo?= X-MS-Exchange-CrossTenant-Network-Message-Id: 6136f9af-a187-42bf-3741-08d98a43c304 X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB4868.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Oct 2021 10:09:49.0992 (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: CQfZlu4fy2k3bn53b+F6QdtvEIClsHyroI/Uiq4tKuL1RYtnK43fViNf0nMfBMFb3HGUWaQO0y1es2cQPysyHA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1101MB2253 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v4 6/6] net/iavf: add watchdog for VFLR 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/8/2021 7:19 AM, Wu, Jingjing wrote: >>> Besides checking VFGEN_RSTAT, there is a process to handle >> VIRTCHNL_OP_EVENT from PF. What is the change for? Any scenario which >> VIRTCHNL_OP_EVENT doesn't cover? >>> And how is the 500us been determined? >> Hi Jingjing, thanks for reviewing, I think this can be handled with the >> VIRTCHNL_OP_EVENTĀ  with no need for a watchdog alarm, I will rework the >> patch. >> > Hi, Radu, I saw the patch is reworked, but looks like watchdog is still there. So what is the scenario > VIRTCHNL_OP_EVENT doesn't cover? Hi Jingjing I went over this with Declan, the reason it was added is that we can actually have a hardware initiated reset that may not trigger an event; and also the kernel driver is implementing a similar mechanism. Would it be more acceptable to have it disabled by default?