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 81E9AC6FD19 for ; Thu, 16 Mar 2023 04:59:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229532AbjCPE7r (ORCPT ); Thu, 16 Mar 2023 00:59:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229488AbjCPE7q (ORCPT ); Thu, 16 Mar 2023 00:59:46 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D76091259B for ; Wed, 15 Mar 2023 21:59:43 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 6625C61ACA for ; Thu, 16 Mar 2023 04:59:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 72D69C433D2; Thu, 16 Mar 2023 04:59:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678942782; bh=lZL/NPwlVmpGeBzPx/Vy1n53QvCxXCPDS/+U8sDUDz8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=neuuNwMnZUcqM1cJo/vmV8NWjnEOO6M1cKoS+LDORDWU/y22Q8f2p2jW9fs9pXtgF CQfauWAeKIgzGvvaz21lyBAWzBpjIFyjz7fhVSIF5tl/bOCkXxD6/9sGBRiWlE8fis jnI7cEhS/9gg4FxPlacGi7lrXc262SPrEApQHW0bjrd8G7lEqNhrho2R7LcDN5Xjyo 5SKpkNqOj0OU8Qzk6nUReF88HxQH1GR5+Wu/vgnCdV70XF9mn3t9jW0/w9prq3loEf MSsamRFT+OzAHgqTZuaVna1VGXnLqt2siT3Jl74drhkn0iIy5X05hymrxSvDWlq3bq mM1fxXs5vJ8Qg== Date: Wed, 15 Mar 2023 21:59:41 -0700 From: Jakub Kicinski To: Saeed Mahameed Cc: "David S. Miller" , Paolo Abeni , Eric Dumazet , Saeed Mahameed , netdev@vger.kernel.org, Tariq Toukan , Rahul Rameshbabu Subject: Re: [net-next 05/15] net/mlx5e: Correct SKB room check to use all room in the fifo Message-ID: <20230315215941.553de9af@kernel.org> In-Reply-To: <20230315215641.24119b38@kernel.org> References: <20230314054234.267365-1-saeed@kernel.org> <20230314054234.267365-6-saeed@kernel.org> <20230315215641.24119b38@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Wed, 15 Mar 2023 21:56:41 -0700 Jakub Kicinski wrote: > On Mon, 13 Mar 2023 22:42:24 -0700 Saeed Mahameed wrote: > > Subject: [net-next 05/15] net/mlx5e: Correct SKB room check to use all room in the fifo > > net/mlx5e: utilize the entire fifo > > > From: Rahul Rameshbabu > > > > Previous check was comparing against the fifo mask. The mask is size of the > > fifo (power of two) minus one, so a less than or equal comparator should be > > used for checking if the fifo has room for the SKB. > > > > Fixes: 19b43a432e3e ("net/mlx5e: Extend SKB room check to include PTP-SQ") > > no fixes tag > > I thought we've been over this. The rest looks fine, do you want me to apply from the list and fix up?