Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5720783rwb; Tue, 1 Aug 2023 07:05:52 -0700 (PDT) X-Google-Smtp-Source: APBJJlE+K2+gya1+ojDHiKHtWs1tgZUxpnmA+JG6GQAe4DIzefXZk3ZHVZHY+ycXhgDwnFVL6hxG X-Received: by 2002:a2e:964e:0:b0:2b9:ea6b:64f with SMTP id z14-20020a2e964e000000b002b9ea6b064fmr2307514ljh.37.1690898751911; Tue, 01 Aug 2023 07:05:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690898751; cv=none; d=google.com; s=arc-20160816; b=Srkm/ZEDdJGLadU6XVKVFVtJfzYD8hZD547gi+cmMvrhFIPiTc/vQJqxFRbc77DZ5Y Xl0PYITDIMDwbZUlHFfUpIVzB57j/y/zj0s9D7UigoM6q1xrrc3GQXhiuloiAdVIHnxY 8cAAzJNbe9D6irt2PzJ0L9yE9mRhDDfvtRWsu+Rn/8G5ol0QuE8+h0L/WKFbu8SFSIUG ZsnJR5gRGKOwhkxwVf5jpw+HVtLcKpUGL9bPYWG8fdCnQCZHBQgFi0J5Ttyg7hOIDsrJ ew61bWdDDApg8Ge4brfvdnSLNj+xegaNHCCcu0YP0fe9WKEZJu3Qx6YRhVkcNxGUFhFZ J09w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=VwgUdH+MaufB/wU+nqiO/XxR/TljLIzlrOeWTeFK7N8=; fh=CGs65ghZ/gJ6z/5QdwgaDQ27upH2WYqDqrgB9I+vCW0=; b=GKI6QQcQ4kMs/6pfHhZTEM0xoKJ0TN+9AXQUyX1sKhJdqMQGLIzZC/6UdbfZoGBjjl +30xe/rke77+DHuOdKeLoP+N0d8hkVodHZpsCHVL3q3lfd4svHrVG1OsJDrJzO5x29kz c95UOcFx1Id/niBsPy/UHVvZ8SF9+RTB4kGAMUyFXWead0PeXGUHptxi5BJ07qlnjtNl 45bZ8HT17a2fSgJDTZ5ObZ9iD8bDPaZIaAGNgLE6A84Tp0AG/rSKCdVhKkpJ6NEKAfTx 4OXjh4smV+HSFmeh8bH071zKM1lZrDIDEyukchfh9I+eZ5xM+pwavNkbYE2Gtjho+l4/ jvSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=dSp+4izE; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dv22-20020a170906b81600b009920f18a5e9si9281576ejb.728.2023.08.01.07.05.26; Tue, 01 Aug 2023 07:05:51 -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=@quicinc.com header.s=qcppdkim1 header.b=dSp+4izE; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233249AbjHANI0 (ORCPT + 99 others); Tue, 1 Aug 2023 09:08:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233131AbjHANIY (ORCPT ); Tue, 1 Aug 2023 09:08:24 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7494B1BE3; Tue, 1 Aug 2023 06:08:23 -0700 (PDT) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 371BVD7P005056; Tue, 1 Aug 2023 13:07:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=VwgUdH+MaufB/wU+nqiO/XxR/TljLIzlrOeWTeFK7N8=; b=dSp+4izEPgDZfYPpWK8RfpGmZFi/W52zYtFpZQb32Tqr8ArnA2uTZBtPHA09mQTvUjAh PhcWNFMeJxY40ZDAe8RoBq3Fhfiq/6SKAWqkeo7VJvPnHGp+ueY8MoyHwi5562UzcOY4 n9wMll7U1/9Bwdln2Yw7kfoowPBr4G2itqdn6QWpArmyCpviy5ZWAli0MpuXi4JtPb9O 5kwyjeHZW2IjQNODi3/mBz1WrCZPnO6Afj8Wc1g53VE+ig0vFqMgQuXxTW09XaRmA0AW KJ+PiGvvmFjOyoPecFPudkz7hRxFlIjyjhHMFglcC7wjTiVXUzRvXHqkKIrGNo1BFHID wQ== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s6e9j2m6f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 01 Aug 2023 13:07:57 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 371D7uUx020324 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 1 Aug 2023 13:07:56 GMT Received: from [10.50.50.103] (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Tue, 1 Aug 2023 06:07:51 -0700 Message-ID: <8c591002-308e-bdba-de5f-c96113230451@quicinc.com> Date: Tue, 1 Aug 2023 18:37:49 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH] net: export dev_change_name function Content-Language: en-US To: Andrew Lunn CC: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , "Kuniyuki Iwashima" , Hangbin Liu , Jiri Pirko , Heiner Kallweit , Andy Ren , , , Venkata Rao Kakani , Vagdhan Kumar References: <20230801112101.15564-1-quic_ajainp@quicinc.com> <447ba1fe-b20b-4ed0-97bc-4137b2ccfb37@lunn.ch> From: Anvesh Jain P In-Reply-To: <447ba1fe-b20b-4ed0-97bc-4137b2ccfb37@lunn.ch> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: sbk0xjos7k9BFLhwizpWoPSdaCfKsknr X-Proofpoint-GUID: sbk0xjos7k9BFLhwizpWoPSdaCfKsknr X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-01_08,2023-08-01_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 mlxscore=0 spamscore=0 priorityscore=1501 malwarescore=0 mlxlogscore=712 suspectscore=0 bulkscore=0 lowpriorityscore=0 impostorscore=0 phishscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308010118 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 8/1/2023 6:01 PM, Andrew Lunn wrote: > On Tue, Aug 01, 2023 at 04:51:01PM +0530, Anvesh Jain P wrote: >> export dev_change_name function to be used by other modules. >> >> Signed-off-by: Vagdhan Kumar >> Signed-off-by: Anvesh Jain P > > It would be normal to include a user of the API when exposing an API. > > What module needs to change the name of a device? At the moment, only > user space can do this via netlink or an IOCTL. > > Andrew CONFIG_RENAME_DEVICES is the module which needs "dev_change_name" API. Our requirement is to change the network device name from kernel space.