Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2338226ybz; Thu, 23 Apr 2020 16:17:48 -0700 (PDT) X-Google-Smtp-Source: APiQypIK8SvAKY8TKRCBeklgaeXKUnYoqulIVpLbsT4oKSPSkKou1zC9w2ZuyKwbFX6MMXcCKdO9 X-Received: by 2002:a17:906:c281:: with SMTP id r1mr4851469ejz.310.1587683868386; Thu, 23 Apr 2020 16:17:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587683868; cv=none; d=google.com; s=arc-20160816; b=d2YSCYuyBIlb1VJP1h44oFGoBv7ea+0Ndf/i122EQ6BwJ9Zo5XulYLXtWcVJzrc+y4 YzseZfItQiuMmIFByHJfUpwjWhSiNyWPjbe5VWtLrsilWLtTBcm0pSbvDhPjoiFvSC4Y OuC4FXUt+P6rPw1C3CXaM7kzd2EadJU13b5bgOJp9BM3Rt/7fL+oK9hZeSV1PTjY4lSd rDKC7vPPEHONyrwIFD2LfdnyjGjemiWOfe5mw30SN1yUdradK4sXwUsOSJGJAWmpJkyw 9xGDbq9/x8FnkZfO3X8H/iijrKE9hOoTwu7KA8FY4M0B6A51aywmracSZrkyU8yJ5WG9 kpAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition; bh=/gLn65On+vjrt0i+UkZ7hYgS7GdJcZYdy3dP0qnWo6U=; b=cFfXKtMMe8ITJcw4TSqO0UwTqjao5Ta5uLNzuCN4GDOekUlz8XrCZx8CJNiNiSdZyN WvxDEIrbUQT1K/hjOLhdS2zzQC0u3dbQrETuHA5e/2Oaoh+ho4zPgpn7uUWvGiJo2WK2 m2Gawv8EoAm+pN2E/L1yd3N+pP/SVBBAjgo0FZfx5x9lCKhhimXJdvRsOwJc3EcP/ork j9ZoIvr4QMw+XsEgKXywJjxWJCdS+sDMhX+MsabhHhHD4CrBW5crqqUr/zLYoYvJMATF V+D9VHgw0FljIVyRDGKiDZdEHXS/1I0BJ3rwthbwet7LIJUnkczJP5Wnd89B1mgoGvcp sAvw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t9si1925533ejr.422.2020.04.23.16.17.25; Thu, 23 Apr 2020 16:17:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729366AbgDWXM6 (ORCPT + 99 others); Thu, 23 Apr 2020 19:12:58 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:50032 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728493AbgDWXGv (ORCPT ); Thu, 23 Apr 2020 19:06:51 -0400 Received: from [192.168.4.242] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1jRkvX-0004m9-OQ; Fri, 24 Apr 2020 00:06:39 +0100 Received: from ben by deadeye with local (Exim 4.93) (envelope-from ) id 1jRkvU-00E6uc-4V; Fri, 24 Apr 2020 00:06:36 +0100 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, Denis Kirjanov , "Radoslaw Tyl" , "Paul Menzel" , "Jeff Kirsher" Date: Fri, 24 Apr 2020 00:06:33 +0100 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) X-Patchwork-Hint: ignore Subject: [PATCH 3.16 166/245] ixgbevf: Remove limit of 10 entries for unicast filter list In-Reply-To: X-SA-Exim-Connect-IP: 192.168.4.242 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.83-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Radoslaw Tyl commit aa604651d523b1493988d0bf6710339f3ee60272 upstream. Currently, though the FDB entry is added to VF, it does not appear in RAR filters. VF driver only allows to add 10 entries. Attempting to add another causes an error. This patch removes limitation and allows use of all free RAR entries for the FDB if needed. Fixes: 46ec20ff7d ("ixgbevf: Add macvlan support in the set rx mode op") Signed-off-by: Radoslaw Tyl Acked-by: Paul Menzel Signed-off-by: Jeff Kirsher Signed-off-by: Ben Hutchings --- drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 5 ----- 1 file changed, 5 deletions(-) --- a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c +++ b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c @@ -1465,11 +1465,6 @@ static int ixgbevf_write_uc_addr_list(st struct ixgbe_hw *hw = &adapter->hw; int count = 0; - if ((netdev_uc_count(netdev)) > 10) { - pr_err("Too many unicast filters - No Space\n"); - return -ENOSPC; - } - if (!netdev_uc_empty(netdev)) { struct netdev_hw_addr *ha; netdev_for_each_uc_addr(ha, netdev) {