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 4E950C001B2 for ; Wed, 14 Dec 2022 17:01:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239203AbiLNRBa (ORCPT ); Wed, 14 Dec 2022 12:01:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239016AbiLNRB1 (ORCPT ); Wed, 14 Dec 2022 12:01:27 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 873EA20F5A for ; Wed, 14 Dec 2022 09:01:26 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 20176619E8 for ; Wed, 14 Dec 2022 17:01:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 317CEC433D2; Wed, 14 Dec 2022 17:01:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1671037285; bh=r1ct7J6TbrO1WlYeXgGBKzVerBcfG5CkNgMl1gQ/q3A=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=SorzPDN1yNbmE6RIJ0i6l38mxoKt2sPVMiHSPZpG4hWzCOnLKyEAiBYPFXV/+H9bD lPs8SO8QP0i2czCkazU7IIryj+K2V8oaKULTjLJnbNa/shZS/EjxpYMY2Sq3wdYgVR BtPO3yilP4Vl9M0MRQ7OOxHOCRQfOVpVvqzAHpPDlPWXvmOvGD0ErtQtukLxfmiv2n ZefZiuI4cfkA4ILjoVJx7d8UL38+eSytYt4HctzhZA3hlwxOZYcAIocZPqC+zFU1VY 6PvS6sXKXKH76diV+46nG9P948PuWjgq46MFDy1C+//Yz905cb9N3VOqp5kmqjFOKp 0RBQHvuMrATMg== Date: Wed, 14 Dec 2022 09:01:24 -0800 From: Jakub Kicinski To: Leon Romanovsky Cc: Alexandra Kossovsky , Saeed Mahameed , Maxim Mikityanskiy , netdev@vger.kernel.org Subject: Re: [PATCH] net/mlx5e: parameter to disable symmetric hash Message-ID: <20221214090124.4c01a360@kernel.org> In-Reply-To: References: 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, 14 Dec 2022 17:35:42 +0300 Alexandra Kossovsky wrote: > Some AF_XDP applications assume standard Topelitz hash when spreading > traffic accross queues via RSS. MLX5 driver always set "symmetric" > bit, which results in unexpected queues for any particular connection. > > With this patch is is possible to disable that symmetric bit via > use_symmetric_hash module parameter, and use the standard Toeplitz hash > with well-known predictable result, same as for other NICs. This module param, OTOH, not okay.. [ https://lore.kernel.org/all/20221214085106.42a88df1@kernel.org/ ]