Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1528394rwb; Wed, 14 Dec 2022 11:18:13 -0800 (PST) X-Google-Smtp-Source: AA0mqf44QZretALOpjva/NZ1nq/YpvoA1FKmX4lhXfqjH/QFgX7QGMeF9nNKlsigDGOWBhxhHZ1m X-Received: by 2002:a17:90a:df15:b0:219:354f:62a8 with SMTP id gp21-20020a17090adf1500b00219354f62a8mr26584462pjb.17.1671045493293; Wed, 14 Dec 2022 11:18:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671045493; cv=none; d=google.com; s=arc-20160816; b=TBcyV8O3ka4aEI3OfUKSeyYoHmLp699cYh8A2d0wYpS3hC9keBEXRYuBEKMMBe6Pa+ r+op5aLO+FWP6bLuj4yg85Jyu86h7icfdp06XShicZumIxxuFzKJNABOEapQhsF4tzEM ELG8j/gxfZeTjAMJmapDr1707AX+hyboHKWBCeyD38yDqn9WFiC0Pot2J9vTciZwLrOh Rj1MXGOnnX0zUt3knlH9gMRNYY9INf3WFcb7KuHQbZQ7oy0zZ5+GIxU6iYAs4bmX2Fj3 du4f6Jkm2F9n+YGcHCGi8tf188Px2pGljb6+OqM2T3npmrapygf5k7ChOoy75PKzxbvV 1xgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=EwPEg/InkNidJbma71jtjNFhUNz+oQDdNIsAndtbDCw=; b=j3VpboWe0fEeqfzK4OVCry/5mDWkbadIUas416Rfantw1SwzMPZyAlhGuIV6/SU/2Q RJSZfqzSGY5A6Nvh6hhGmM7CtaPJQUtbwHFr7fXeZ9lv7gD9vAc5f9KboqoronlNEcIZ Y7+n4uzWH6rwKhrRfeQS6eovKn+ntkEQsaE6BDOlr1KmsjjUnTe0JQWqJA+DZoWDJo/X km1UjQVox9RN5buy9KQ0vgLdEzkNyKgDsCpx6Lb7QBgB9zKy97HSUdtd8uhneXHjkBLD kbMu6CqxmA+wifB9tJxC4o9iWAjl9o79uArnD8y3XCQKrZpTqXYZYyiwD+3IErQ2gvzE IAGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WKXposgT; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b19-20020a17090a991300b00219d062ed28si2609041pjp.87.2022.12.14.11.18.03; Wed, 14 Dec 2022 11:18:13 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=WKXposgT; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238940AbiLNSyE (ORCPT + 69 others); Wed, 14 Dec 2022 13:54:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238278AbiLNSxl (ORCPT ); Wed, 14 Dec 2022 13:53:41 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C30312A73E; Wed, 14 Dec 2022 10:53:40 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 74F60B80CB9; Wed, 14 Dec 2022 18:53:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F2E6C433EF; Wed, 14 Dec 2022 18:53:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671044018; bh=xBh9zGwUF6jOROMfLBqTrQGVue4NbV3uFqJJXMJ2GfA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WKXposgTOwghwlK/dz13SbwSCxCOrFISMXLI03bPqvSYRA+fmiJNl4XZCKpGZbIHA mj4XyhRHG3o6GTElS2c9fwW4F/iKANEfPnSdvHts3JZdK488FRgzopaKTcp8ckhFDC KsBtuj0qDZ2m46cifp4MTnbN2Xk20A99QJbIgttf9tu6mLWkdVcxOAGBP2V4adh6VH 2SMy9tlhN6gMZY6QPHguxxEJfjp7eDpkEUgcrH2SlusRKA8qvH+0qUc+Jg5AU0VZP5 mBFUWN1p+0RODNMdO1JHHC/vnbuoXTRIquTdUBLlCDTQQGeFsxj8AUJwwgBW4wqXAq mCElcB+8TBLQg== Date: Wed, 14 Dec 2022 20:53:30 +0200 From: Leon Romanovsky To: Jakub Kicinski Cc: Lixue Liang , anthony.l.nguyen@intel.com, linux-kernel@vger.kernel.org, jesse.brandeburg@intel.com, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, netdev@vger.kernel.org, lianglixue@greatwall.com.cn Subject: Re: [PATCH v7] igb: Assign random MAC address instead of fail in case of invalid one Message-ID: References: <20221213074726.51756-1-lianglixuehao@126.com> <20221214085106.42a88df1@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221214085106.42a88df1@kernel.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Wed, Dec 14, 2022 at 08:51:06AM -0800, Jakub Kicinski wrote: > On Wed, 14 Dec 2022 09:22:13 +0200 Leon Romanovsky wrote: > > NAK to any module driver parameter. If it is applicable to all drivers, > > please find a way to configure it to more user-friendly. If it is not, > > try to do the same as other drivers do. > > I think this one may be fine. Configuration which has to be set before > device probing can't really be per-device. This configuration can be different between multiple devices which use same igb module. Module parameters doesn't allow such separation. Also, as a user, I despise random module parameters which I need to set after every HW update/replacement. Thanks