From patchwork Wed Nov 27 22:58:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Xu X-Patchwork-Id: 13887420 Received: from fhigh-a7-smtp.messagingengine.com (fhigh-a7-smtp.messagingengine.com [103.168.172.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4EE5E2036FF; Wed, 27 Nov 2024 22:58:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.158 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732748327; cv=none; b=i0HEvTQTm3P6H7jM/ctTghqUZdACQOpWVYWTGBbQSXAwXJWzf0YfoGr3He3Qea3xsvExfxcpNRbCZadHYi8PE5Rz1N0LS2+dZexQne3CAxbdp86hBpTx6k3YKgOzDnwbRSEN0n/TZosgdLKyGfXFHe6uyROK+RPjGuz9U7Ad8Zc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732748327; c=relaxed/simple; bh=20dquXz3Ns2oFcYe/4/knEE7/tNHsttrV8ADBrNB+dU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BDSjRBVbHUbCa4jYnIjLbKv+ewlPRSWsfSow1St1/5lpPuB8lp4s/JPGRsVg6EUycRKktta6eaARTJF+oUPzVtTdmNm9cs44M/C8aIAzpzQatGoAqyMFBFxcQHBh7Sizb2kpKN2vPEPYLt5MR/38ik7/0l7UdmQ3oG2WbLignyE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dxuuu.xyz; spf=pass smtp.mailfrom=dxuuu.xyz; dkim=pass (2048-bit key) header.d=dxuuu.xyz header.i=@dxuuu.xyz header.b=dOL3r3YK; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=Fh8i/SO3; arc=none smtp.client-ip=103.168.172.158 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dxuuu.xyz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dxuuu.xyz Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dxuuu.xyz header.i=@dxuuu.xyz header.b="dOL3r3YK"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="Fh8i/SO3" Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id 4AF2F1140195; Wed, 27 Nov 2024 17:58:44 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Wed, 27 Nov 2024 17:58:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dxuuu.xyz; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to; s=fm3; t=1732748324; x=1732834724; bh=E0PuXWbtfTxnhshYPccxB vxOhYcUvTwCkpf0/ymYcuQ=; b=dOL3r3YKU5ziPCzqOp647Tva2A5By0jo9HuNg y2veFGxIPewuj3Z2Uy38ak9YrS+GjVCgROp+ZWa1aWBy1wQCibLOSBQWc3jeliRi f+7L4hfHZIZU/mbjVELCkvoYCSAEeouj/3k3awWUgh0d0b2yXxjC02QMDl8QhVGH 6sYO16qMRWcL1lP8myH+dFHzxzByOxl3sxGQ20GTDhAbDPAgD3VUTwYouOezlZNu 9BFhz28PNPOrtmUoKbg+pjBONXBRopOBj8ROGODFigCgElDfqgT0xdbdYmnjW8nF E44bT1I+/AylF6hZuM7nW+FtAzgTn7yy4cHbozwDw+8C36UEA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1732748324; x=1732834724; bh=E0PuXWbtfTxnhshYPccxBvxOhYcUvTwCkpf 0/ymYcuQ=; b=Fh8i/SO3jzfw0wlidygTZLso8een1oHk2cEXtdypB2jLpsL5Kbl NioEsr72xyBE5H//l8J6R6zGd1jS42dgMev9zp//R/fvH3PEDphlL3ov6hjgUqod 79r9XGv19Fs7Mix2aijd6x5G6K7FgSu8cLQGdclNZFgLFlq8sTZlQswvYHq/cRFd +JBlVLRfFXjvBkr8c2RZXQL4gQmZ62n+pFLyjvt4JKtynE/lpWjpkhIjxthK4q4H qULPOlCXnMado/+KTC8GoRd9HR8pIQRRSI9dGJrZ03HdeyzLg795NupkZvwgAGY4 RsFkjPA0oI9kGZ1AYAkbMqXIGIsXWORdiIQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrhedtgddtgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecufghrlhcuvffnffculdejtd dmnecujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomhepffgrnhhi vghlucgiuhcuoegugihusegugihuuhhurdighiiiqeenucggtffrrghtthgvrhhnpedvge fgtefgleehhfeufeekuddvgfeuvdfhgeeljeduudfffffgteeuudeiieekjeenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegugihusegugihuuh hurdighiiipdhnsggprhgtphhtthhopedutddpmhhouggvpehsmhhtphhouhhtpdhrtghp thhtohepphgrvhgrnhdrtghhvggssghisegsrhhorggutghomhdrtghomhdprhgtphhtth hopehnvghtuggvvhesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehkrghl vghshhdqrghnrghkkhhurhdrphhurhgrhihilhessghrohgruggtohhmrdgtohhmpdhrtg hpthhtoheplhhinhhugidqkhhsvghlfhhtvghsthesvhhgvghrrdhkvghrnhgvlhdrohhr ghdprhgtphhtthhopehmihgthhgrvghlrdgthhgrnhessghrohgruggtohhmrdgtohhmpd hrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhg pdhrtghpthhtohepkhhusggrsehkvghrnhgvlhdrohhrghdprhgtphhtthhopehmrghrth hinhdrlhgruheslhhinhhugidruggvvhdprhgtphhtthhopegvtghrvggvrdigihhlihhn giesghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: i6a694271:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 27 Nov 2024 17:58:42 -0500 (EST) From: Daniel Xu To: pavan.chebbi@broadcom.com, netdev@vger.kernel.org, kalesh-anakkur.purayil@broadcom.com, linux-kselftest@vger.kernel.org, michael.chan@broadcom.com, linux-kernel@vger.kernel.org, kuba@kernel.org, martin.lau@linux.dev, ecree.xilinx@gmail.com Cc: kernel-team@meta.com Subject: [PATCH net v3 0/2] bnxt: Fix failure to report RSS context in ntuple rule Date: Wed, 27 Nov 2024 15:58:28 -0700 Message-ID: X-Mailer: git-send-email 2.46.0 Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 This patchset fixes a bug where bnxt driver was failing to report that an ntuple rule is redirecting to an RSS context. First commit is the fix, then second commit extends selftests to detect if other/new drivers are compliant with ntuple/rss_ctx API. === Changelog === Changes from v2: * Rebase to net instead of net-next * Make regex work with ethtool output changes Changes from v1: * Add selftest in patch 2 Daniel Xu (2): bnxt_en: ethtool: Supply ntuple rss context action selftests: drv-net: rss_ctx: Add test for ntuple rule drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 8 ++++++-- tools/testing/selftests/drivers/net/hw/rss_ctx.py | 12 +++++++++++- 2 files changed, 17 insertions(+), 3 deletions(-)