Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4545562imw; Tue, 19 Jul 2022 08:33:33 -0700 (PDT) X-Google-Smtp-Source: AGRyM1urkkdvB/Dl0waasppbGAXSroazo7iwWV9v3R4are01isz446LmeACcO6fCmvAXFHS1+bXV X-Received: by 2002:a05:6820:1356:b0:435:688e:da0a with SMTP id b22-20020a056820135600b00435688eda0amr10965060oow.73.1658244813335; Tue, 19 Jul 2022 08:33:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658244813; cv=none; d=google.com; s=arc-20160816; b=UHZibgE0eL36/ku9/JZKjXEhkFd6aGforxmvc5JZNcGmTcOwda9g6kPq0UqME/GF4w K3ljr5Lh6L9c3x/yq5XNk9jKeW2pQJkFd6tcwlVar9K6lV9AfG0cj66fglntqe8yVoez zugWLNiTd1ZA2sHpltCmU/Xe1oncZgXYIgoqHFKRa1RN9ejwXa46gagDpq3VMYGbSk4A yZZEb7oaf1HBJ4HrmoxvouHxejUDrH3t+QgDUbzCiR0iJp4BlGsyy5t36ZxF4g4C4Lpe MFhPBXtVX+6GG7CrPRayGTMVD9IRQTrYbdgAlyXWJXlG+Ad/3YEDivnO7LKyggSEC7MA YSHg== 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=xd6JOh2ogmzno7JiKf5wuULMA33C+xbv3lIK5al2QXc=; b=0z7DmdVKrPYK6+hYWZ4uvvLNzijJWHni9m9H4l+57Etf3hT/o6n8BesntVXOL8mVzU nR643vNXwr6Wszvc5xtTCL/MSZg792s+xk4keiqeegCkhFGVnUJkE2K88YV/Ky0JkzaL OVzwUJl4tAoOcblyKpmBesKpbw+sr93mqz0hPrz/AwqMpv1UTFPvrf+D7L97VV9Xp78K fidVRgkgGsKFFgwbeeYmIIj24te6ziC+0/cnxUPxSiR+JNMyK+qkIGt22O4ajufOy08d w6Nq/RE/eXPnxTrfhvqp9JTFeKezw2XKitqTOcTW50CM9KovaiqdnAfhzqyKxT4sYv3R 8AWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=i32h8wZi; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t28-20020a056870609c00b000eda7378aebsi13960492oae.150.2022.07.19.08.33.20; Tue, 19 Jul 2022 08:33:33 -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=@lunn.ch header.s=20171124 header.b=i32h8wZi; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238994AbiGSP0F (ORCPT + 99 others); Tue, 19 Jul 2022 11:26:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238776AbiGSP0D (ORCPT ); Tue, 19 Jul 2022 11:26:03 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CC6F3C147; Tue, 19 Jul 2022 08:26:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=xd6JOh2ogmzno7JiKf5wuULMA33C+xbv3lIK5al2QXc=; b=i32h8wZiik/h9yAFCrH1ENYGdB lV/LOT/exzjtFFUWAb6GZFxIBJw7nfYYGwt6NocMjKxF01DnePD3jB5o8mcMot5KEbnmw5dmEWb9f pnSz7KtKPSG7cJeSTWLY4lSNT5FEMCH722uygPQTVbw+9h2buPL+VlaFREMDyRSjFUWg=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1oDp6j-00Apuf-9j; Tue, 19 Jul 2022 17:25:57 +0200 Date: Tue, 19 Jul 2022 17:25:57 +0200 From: Andrew Lunn To: Antonio Quartulli Cc: netdev@vger.kernel.org, David Miller , Jakub Kicinski , linux-kernel@vger.kernel.org Subject: Re: [RFC 1/1] net: introduce OpenVPN Data Channel Offload (ovpn-dco) Message-ID: References: <20220719014704.21346-1-antonio@openvpn.net> <20220719014704.21346-2-antonio@openvpn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220719014704.21346-2-antonio@openvpn.net> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,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 > +static void ovpn_get_drvinfo(struct net_device *dev, > + struct ethtool_drvinfo *info) > +{ > + strscpy(info->driver, DRV_NAME, sizeof(info->driver)); > + strscpy(info->version, DRV_VERSION, sizeof(info->version)); > + strscpy(info->bus_info, "ovpn", sizeof(info->bus_info)); version is generally considered useless information if it comes from the driver. You have no idea if this is version 42 in net-next, or some backported version in an enterprise kernel with lots of out of tree patches. The driver is not standalone, it runs inside the kernel. So in order to understand a bug report, you need to know what kernel it is. If you don't fill in version, the core will with the kernel version, which is much more useful. Andrew