From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 16029A0565; Tue, 10 Mar 2020 10:48:52 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A460A1C037; Tue, 10 Mar 2020 10:48:50 +0100 (CET) Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.164]) by dpdk.org (Postfix) with ESMTP id 2545D1C02A for ; Tue, 10 Mar 2020 10:48:49 +0100 (CET) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (uk.solarflare.com [193.34.186.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us2.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id 1FFE028007B for ; Tue, 10 Mar 2020 09:48:48 +0000 (UTC) Received: from ukex01.SolarFlarecom.com (10.17.10.4) by ukex01.SolarFlarecom.com (10.17.10.4) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 10 Mar 2020 09:48:44 +0000 Received: from opal.uk.solarflarecom.com (10.17.10.1) by ukex01.SolarFlarecom.com (10.17.10.4) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 10 Mar 2020 09:48:44 +0000 Received: from ukv-loginhost.uk.solarflarecom.com (ukv-loginhost.uk.solarflarecom.com [10.17.10.39]) by opal.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id 02A9mjPP008732 for ; Tue, 10 Mar 2020 09:48:45 GMT Received: from ukv-loginhost.uk.solarflarecom.com (localhost [127.0.0.1]) by ukv-loginhost.uk.solarflarecom.com (Postfix) with ESMTP id 0E5061611DB for ; Tue, 10 Mar 2020 09:48:45 +0000 (GMT) From: Andrew Rybchenko To: Date: Tue, 10 Mar 2020 09:48:34 +0000 Message-ID: <1583833719-6597-1-git-send-email-arybchenko@solarflare.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1020-25280.003 X-TM-AS-Result: No-2.324900-8.000000-10 X-TMASE-MatchedRID: ceEONRK33ip2TQjqk7tHHCQ3IpkCK7x4SWg+u4ir2NNTbQ95zRbWVoae EkIf7bS3ssXNVaazvgKlskwMhnibr3vkTOgyYAhEeWgJLNowHdXUxzpILmwpVmMunwKby/AX0pc 6H2V/9m/i8zVgXoAltmHJPdY2OmlS0C1sQRfQzEHEQdG7H66TyJ8TMnmE+d0ZqBpsdFArWB/54u vM1i9lXPbkdPevm+ZzAKLNQGKXEOwr/R/YCFF7F0VhvR07lczVsCMmMI3zHOOcsNvJDG51HkIyx /XyjNOBHJKgEJ6iVAOry48kL3hIWBHTqXooh3g3evQzRIo2ddZWXGvUUmKP2w== X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--2.324900-8.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1020-25280.003 X-MDID: 1583833728-Gz6n5uTF3acy Subject: [dpdk-dev] [PATCH 0/5] net/sfc: fix manual and auto filters clash handling X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" RTE flow API allows to add filters which clash with filters installed by the driver itself. The series fixes the case handling. Igor Romanov (5): net/sfc: set priority of created filters to manual net/sfc/base: reduce filter priorities to implemented only net/sfc/base: reject automatic filter creation by users net/sfc/base: refactor filter lookup loop in EF10 net/sfc/base: handle manual and auto filter clashes in EF10 drivers/net/sfc/base/ef10_filter.c | 559 +++++++++++++++++++++-------- drivers/net/sfc/base/ef10_impl.h | 4 +- drivers/net/sfc/base/efx.h | 13 +- drivers/net/sfc/base/efx_filter.c | 26 +- drivers/net/sfc/base/efx_impl.h | 21 +- drivers/net/sfc/sfc_flow.c | 1 + 6 files changed, 465 insertions(+), 159 deletions(-) -- 2.17.1