From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B9EDBE7C4E7 for ; Wed, 4 Oct 2023 18:00:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233946AbjJDSAi (ORCPT ); Wed, 4 Oct 2023 14:00:38 -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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.