Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp4676384rwb; Tue, 8 Aug 2023 11:58:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHj0wbazm/uEU+NiDaE3DEdEmcNMMsozfBc9AEDV4YsNPItbKxZWkNx20ulUu+afW8KxgVu X-Received: by 2002:a17:903:32c2:b0:1bb:a367:a70 with SMTP id i2-20020a17090332c200b001bba3670a70mr693058plr.17.1691521112646; Tue, 08 Aug 2023 11:58:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691521112; cv=none; d=google.com; s=arc-20160816; b=ycvlr7RBIpZUpxx+h6+3DoQVIj/TB0U7gt6qSDLgZzZHz7WkszwvXhsZw/9DHLuKBE 3wYERwuFtk/wTk2JyrAmrISC6ku/juFXry5q9LtpDdcuhqzDuRRHlIbQvO4HUpPZ8pcw iYepGFa8Csdt/YPXEF7yBKYvKKYwqudTSkRSaPnI/0tu+OwX8uX/ivMNos04tiW/9NGq G2v6ac3TwWZp+eyDWQKffNRy/U9JuTSF/+8YzSCT6O2fOFHw8bBTX3T6nrdfCCQWx/8A 1mX2ifb9iOJjq2DlLff/R05QN4r74FmgnV5R/1saEd/VnZISWkRsQRMt4t7Rc0LhKJXG NE5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=u7vyLoI2Ij9zImGiOWxL0n/ADk3SW2qhJQI2ztc7DS4=; fh=pLxSozZdmw4UQjP/PWYMymhFN1oJJbFydFWkIHpiReI=; b=hqx5+fuXAY4rp06BpYtztV0cTdQbp3boAwGTgNOcTgjvyshSEQsVO9u2RLTOvBV8c+ SItfdOknMC/fyPIdKId4h1hWmSy4hTVjZS+7r7/NEamMhHFmEyeOYUjAOjCRTU7O7z93 OkS8mMTnDAsmvqAv4nmEpUnOwKkWAm0Us7WBoBXfunbsAoeOudMbgfDZqbeWCGQFvO7E +XWWB397fYaKzvrFS1qLYnhm+0/u+Yd3VEUvUqHF3FlBGiMusI7Mjv6LE66o6nzouguN 2RCDyeYFH8KyPkZ/FdPthBlvxWXxwbXIErnNMDfDhZ473RsrX37U6JBDdOPhnA4R7hmf 7HQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=gr01MMOS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p12-20020a170902e74c00b001baff05d890si7867232plf.313.2023.08.08.11.58.20; Tue, 08 Aug 2023 11:58:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=gr01MMOS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229897AbjHHRrM (ORCPT + 99 others); Tue, 8 Aug 2023 13:47:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232997AbjHHRpr (ORCPT ); Tue, 8 Aug 2023 13:45:47 -0400 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3E49A25EFA; Tue, 8 Aug 2023 09:20:48 -0700 (PDT) Received: by linux.microsoft.com (Postfix, from userid 1134) id A117320FB9E4; Mon, 7 Aug 2023 22:42:48 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com A117320FB9E4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1691473368; bh=u7vyLoI2Ij9zImGiOWxL0n/ADk3SW2qhJQI2ztc7DS4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gr01MMOSovMipZPAPtHRELfCDaC30YM6q5FWVrn6O6eUgqdYkEYxqD7cBHUkD5zn4 Bx981B23mN1yn1gvDzgCiESGquRT9Enc0MOq4TkILM4WxkpZ0Oe0+qXxuUx24Swg0W rgrOB9FEGY8+dtJnUqNxRK4s/DBAUKnp+BMDcKxk= Date: Mon, 7 Aug 2023 22:42:48 -0700 From: Shradha Gupta To: Ani Sinha Cc: Wei Liu , Olaf Hering , linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Dexuan Cui , Long Li , Michael Kelley Subject: Re: [PATCH v3] hv/hv_kvp_daemon: Add support for keyfile config based connection profile in NM Message-ID: <20230808054248.GA12620@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <1683265875-3706-1-git-send-email-shradhagupta@linux.microsoft.com> <20230508095340.2ca1630f.olaf@aepfle.de> <20230508191246.2fcd6eb5.olaf@aepfle.de> <20230523053627.GA10913@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> <53E9AC1D-C907-4B55-97F2-FC10DCD4D470@redhat.com> <4142F3A4-8AB4-4DE2-8D03-D3A8F8776BF9@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4142F3A4-8AB4-4DE2-8D03-D3A8F8776BF9@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-16.0 required=5.0 tests=BAYES_00,DATE_IN_PAST_06_12, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,ENV_AND_HDR_SPF_MATCH, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 08, 2023 at 10:41:21AM +0530, Ani Sinha wrote: > > > > On 12-Jul-2023, at 12:32 PM, Ani Sinha wrote: > > > > > > > >> On 23-May-2023, at 11:06 AM, Shradha Gupta wrote: > >> > >> On Mon, May 08, 2023 at 05:16:19PM +0000, Wei Liu wrote: > >>> On Mon, May 08, 2023 at 07:12:46PM +0200, Olaf Hering wrote: > >>>> Mon, 8 May 2023 16:47:54 +0000 Wei Liu : > >>>> > >>>>> Olaf, is this a reviewed-by from you? :-) > >>>> > >>>> Sorry, I did not review the new functionality, just tried to make sure there will be no regression for existing consumers. > >>> > >>> Okay, this is fine, too. Thank you for looking into this. > >>> > >>> > >>>> > >>>> Olaf > >>> > >> > >> Gentle reminder. > >> > > > > I have a comment about the following change: > > > > + error = fprintf(nmfile, "\n[ipv4]\n"); > > + if (error < 0) > > + goto setval_error; > > + > > + if (new_val->dhcp_enabled) { > > + error = kvp_write_file(nmfile, "method", "", "auto"); > > + if (error < 0) > > + goto setval_error; > > + } else { > > + error = kvp_write_file(nmfile, "method", "", "manual"); > > + if (error < 0) > > + goto setval_error; > > + } > > > > I think the method equally would apply for ipv6 as it applies for ipv4. > > We can use https://www.golinuxcloud.com/nmcli-command-examples-cheatsheet-centos-rhel/#18_Disable_IPv6_Address_for_ethernet_connection_IPV6INIT as a reference. > > So setting the method should be common to both ipv4 and ipv6. > > Ping once more ??? > Can anyone comment on the avove and/or review the patchset? That's correct Ani, this needs to be enabled for ipv6 as well, will send out another version. Thanks for catching this.