From patchwork Sat Nov 27 10:33:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Brivio X-Patchwork-Id: 1560709 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=HsVEahdO; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=netfilter-devel-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by bilbo.ozlabs.org (Postfix) with ESMTP id 4J1Sh307h4z9sRN for ; Sat, 27 Nov 2021 21:36:02 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236289AbhK0KjO (ORCPT ); Sat, 27 Nov 2021 05:39:14 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:57404 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239184AbhK0KhN (ORCPT ); Sat, 27 Nov 2021 05:37:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1638009239; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=OVuAk298/Ida9SlJtQUnhBQrrLWLnpK6TTTaXfrF7NI=; b=HsVEahdOot1fCkHTOMTA8Nl81P+/0O3aBKlDzfPVVsMju3NnpV66l/uxcBEryatK9lS7v+ VW7AkzTbBrk1yjFvFg9wgAWlSxAJDBl9tIX3HJtKvAKBkl2idm61K0QkFIbNUSkaK7AJR0 ozE5R5jHQGfF9tbz/G594o8bBMkN6a4= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-565-p2OLfCNLPmiqKs3pfkUOvw-1; Sat, 27 Nov 2021 05:33:57 -0500 X-MC-Unique: p2OLfCNLPmiqKs3pfkUOvw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 85CDA835B47; Sat, 27 Nov 2021 10:33:56 +0000 (UTC) Received: from maya.cloud.tilaa.com (unknown [10.40.208.3]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4AD0918A50; Sat, 27 Nov 2021 10:33:53 +0000 (UTC) From: Stefano Brivio To: Pablo Neira Ayuso Cc: Nikita Yushchenko , Florian Westphal , netfilter-devel@vger.kernel.org, netdev@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH nf 0/2] nft_set_pipapo: Fix AVX2 MAC address match, add test Date: Sat, 27 Nov 2021 11:33:36 +0100 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org Patch 1/2 fixes the issue reported by Nikita where a MAC address wouldn't match if given as first field of a set, and patch 2/2 adds the corresponding test. Stefano Brivio (2): nft_set_pipapo: Fix bucket load in AVX2 lookup routine for six 8-bit groups selftests: netfilter: Add correctness test for mac,net set type net/netfilter/nft_set_pipapo_avx2.c | 2 +- .../selftests/netfilter/nft_concat_range.sh | 24 ++++++++++++++++--- 2 files changed, 22 insertions(+), 4 deletions(-)