Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2775369rdb; Wed, 4 Oct 2023 11:01:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHZw7lsHUghNxqPuXXgHjO0mVjQ2SJDnX0Nfemx2O9G7vXWH4D8U4MhRsdvGIpC2fzeJn+d X-Received: by 2002:a17:90a:b891:b0:273:441a:dae6 with SMTP id o17-20020a17090ab89100b00273441adae6mr2820209pjr.19.1696442496548; Wed, 04 Oct 2023 11:01:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696442496; cv=none; d=google.com; s=arc-20160816; b=SOuaQatCwhF0xM3lgGBFBlNS7QbZttKML6YCeFP/84YOX2YwMtE3JhZX9GwfWuTCsY SjYoWWbIXY15eZ2jeFSBhlN19t0VJsdRQLYDJOarN9MNLNuLuKj5stcOcW0kkaaRRtO9 kHqnSLFSmPdQjmNVzwUqKmOIVjIwaOc9WO1VRqGCrVnazlWoM6TpDPhBSuoJ282+8Akk WtiiOxuV4+gXMM9JoNrDj5UJfZwIU2N15MxFN8cLv/XKaLd+XYJuE2JfnghBbom1OQe5 YLYy3pVT5j+GSHUF5gtkoSJunNg9Cku/0khqbsXFzZHeukQ9zpTCNO9hvBEzvGrbIYYr BX1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=1JvMlvHnvhfOPRTKJHlPI+Qla2dDB9YWZN8H0JnAU7o=; fh=8BPDSwF9dHx21oC+jkFlPcVF5m6J6FVV7VxTuoSDChI=; b=ukN7kv+pfd4ClChiBvoNk4nPwsWGX7sxNXYT8rpgac2MUIAvJ9QeESFaHgmyJLUNPQ xy0vYxqZHPTaW5qsilE2HRBXhoI/nd/F2aTnFg95Alikb/M1vZ7XuYzrxOKCBf0fmI28 4zXXSqsSygxD8YSR8eqNMdZ3b9/aPCTBr+BIbPAk6BsQ0aBNDT6RfnFj0cwXCHEwhmI9 ZX79PGpwyQZwFkoMvf5FjVPljuM/MR1VLDHlw/m9TI2teqrIKFTqoOYhha3bpQJ8SqBQ c2OLDVqFD0x8WxQGOMUH4yLmotZWD7giUftDKjFUsoIek9dpMlboVenHU4YL+fdl1iyE EGYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=j0kwz0zq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id nu9-20020a17090b1b0900b0027920d6f85bsi2169996pjb.94.2023.10.04.11.01.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 11:01:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=j0kwz0zq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id D8F1C80756D4; Wed, 4 Oct 2023 11:00:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233536AbjJDSAh (ORCPT + 99 others); Wed, 4 Oct 2023 14:00:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232583AbjJDSAg (ORCPT ); Wed, 4 Oct 2023 14:00:36 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04D2B9E for ; Wed, 4 Oct 2023 11:00:33 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 31EC1C433C8; Wed, 4 Oct 2023 18:00:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696442432; bh=Kl3qkuDXwVsPtemGj5YLfWsZgo/fk06VDeK+hdq5JiU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=j0kwz0zqiLuwTdWFK4Xp5H0+qrsMOkaOOoLenoaD7ZiM72mZsYQNoWYF0eLPbKcB+ nWoyQvPBeaxY0d/KoZj6wCeNVdSlC/vqzojUGHojMwWtuVO4QU67NXI+0dMiMNzuaf 9RK68AGbS1L71+qzsQuILJXwK5U1D4+PYrLsCfbW334BZwjvBDttkvmoFoO7oUpZ3m P7rUkpU0d0aXnQOUKqjzDvZPMS9Zb59mtI45fBXyFXrDlD9eksA555ibq4Pg7XagAz fRtaj5ixqSNW+4F7sqVaQh81rJcDD/SDxtdFQn+Y6UfhkpFvQ3sCEZXg4dittX7ShG yue9UaFDGxiVg== Date: Wed, 4 Oct 2023 11:00:31 -0700 From: Jakub Kicinski To: Vishvambar Panth S Cc: , , , , , , , Subject: Re: [PATCH net-next] net: microchip: lan743x: improve throughput with rx timestamp config Message-ID: <20231004110031.7e9c32e8@kernel.org> In-Reply-To: <20230926155658.159184-1-vishvambarpanth.s@microchip.com> References: <20230926155658.159184-1-vishvambarpanth.s@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 04 Oct 2023 11:00:41 -0700 (PDT) On Tue, 26 Sep 2023 21:26:58 +0530 Vishvambar Panth S wrote: > + netif_warn(adapter, drv, adapter->netdev, > + "rx timestamp = %d is not supported\n", > + rx_filter); I addition to Jake's comments please also drop this warning. > + return -EINVAL; And make sure this is the correct return code. I thought -ERANGE was more appropriate here, but I could be wrong.