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 4AD47A0562; Mon, 30 Mar 2020 12:26:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 120CE1BFD4; Mon, 30 Mar 2020 12:26:17 +0200 (CEST) Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [148.163.129.52]) by dpdk.org (Postfix) with ESMTP id A06C62BEA for ; Mon, 30 Mar 2020 12:26:15 +0200 (CEST) Received: from mx1-us1.ppe-hosted.com (unknown [10.7.65.64]) by dispatch1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id C1DE560081 for ; Mon, 30 Mar 2020 10:26:14 +0000 (UTC) Received: from us4-mdac16-10.ut7.mdlocal (unknown [10.7.65.180]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id C26ED200A4 for ; Mon, 30 Mar 2020 10:26:14 +0000 (UTC) X-Virus-Scanned: Proofpoint Essentials engine Received: from mx1-us1.ppe-hosted.com (unknown [10.7.66.37]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id 4E07722004D for ; Mon, 30 Mar 2020 10:26:14 +0000 (UTC) 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-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id 00171B40057 for ; Mon, 30 Mar 2020 10:26:13 +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; Mon, 30 Mar 2020 11:26:10 +0100 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; Mon, 30 Mar 2020 11:26:10 +0100 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 02UAQAx3030701 for ; Mon, 30 Mar 2020 11:26:10 +0100 Received: from ukv-loginhost.uk.solarflarecom.com (localhost [127.0.0.1]) by ukv-loginhost.uk.solarflarecom.com (Postfix) with ESMTP id 3E41B16139D for ; Mon, 30 Mar 2020 11:26:10 +0100 (BST) From: Andrew Rybchenko To: Date: Mon, 30 Mar 2020 11:25:39 +0100 Message-ID: <1585563945-9537-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-25322.003 X-TM-AS-Result: No-3.569200-8.000000-10 X-TMASE-MatchedRID: dnth2REfMEQQT7JNzhbyVyAI8aJmq0jwS6mvV++TKmkxiSY0g7v6FjTC oZirb9hZuW76JsuTd2W2HjDH33p+cVtNf1tGHBMO+ACG5oWJ7tLSZJzVjNsLnR3RY4pGTCyHPrj aiRilgiz81rI4dvVUOHr8Z7EWF12nkTgVTZl1A7i2+eU4nrUrenqLr3o+NE+ITp88mr507zzfh3 tarhPAbEo1SBTuROOAKqt2FG1/DdAfE8yM4pjsDwtuKBGekqUpm+MB6kaZ2g6kd7PDNwC8imob1 Q3UDKmIeHyCeZZPXV8p1/G91+2tOaV7UfLIOJZz+yzPv+xSCrqL8RF8vO57GCvt4vZh2htb+kuo etYxgfgvOSq+nxEQtagePGmIEwXO/4UC4n7D3uWJl6tigvYfL0ersMJuvMO5 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10-3.569200-8.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1020-25322.003 X-MDID: 1585563974-B9tf2owJqOgg Subject: [dpdk-dev] [PATCH 0/6] net/sfc: improve Rx mode handling on VF 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" VFs (as well as unpriviledged PFs) are not always allowed to enable promiscuous and all-multicast. Handle it properly and ensure consistency for settings applied and reported. Base driver patches have warnings/errors from checkpatch.sh since coding style differs a bit. Return of non-negative errno is OK as well, since driver does positive to negative errno conversion on return from callbacks. Igor Romanov (6): net/sfc/base: refactor filters cleanup in reconfigure net/sfc/base: refactor filters mark in reconfigure net/sfc/base: refactor unicast filters reconfiguration net/sfc/base: refactor mcast filters reconfiguration net/sfc/base: add API to get currently operating filters net/sfc: check actual all multicast unknown unicast filters drivers/net/sfc/base/ef10_filter.c | 314 +++++++++++++++++++---------- drivers/net/sfc/base/efx.h | 6 + drivers/net/sfc/base/efx_impl.h | 2 + drivers/net/sfc/base/efx_mac.c | 15 ++ drivers/net/sfc/base/siena_mac.c | 2 + drivers/net/sfc/sfc.h | 1 + drivers/net/sfc/sfc_ethdev.c | 16 +- drivers/net/sfc/sfc_port.c | 62 +++++- drivers/net/sfc/sfc_rx.c | 4 +- 9 files changed, 310 insertions(+), 112 deletions(-) -- 2.17.1