From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2BB82C83F2B for ; Thu, 31 Aug 2023 08:09:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id B3F6740164; Thu, 31 Aug 2023 08:09:26 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org B3F6740164 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1693469366; bh=5V532UvP+MPGjVp4+Ldg26wNMznk0yP4jIy8+ucKoGY=; h=From:To:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=qjiUxrWK0oKR+T4Onn5X30m9fpp9B6dsNu+zdX7Rbc8vDDLyHslMR8v5RDIjwlgSG ksN9uabwVjbH4zR9qfKSBAvMB5GtkCyCFrdvtXxWSSwrWf0QWbtNiT2a51xZ6e9RCp +ImM2Uvq+XJDXBu/LYI2FmEq6JnMy+S7YJ8+SPAE3moatKuOvzxSZUTCr1SwX12xqC 000eFBn/Z3JBsIn2QoSPBsvZXwXaAcXLaRJ/Cjg6wX1JsKva3xYQpCYMR/z9ouMWMT yu9+S4OobM1g0IP1gGP37c+078fm/G23aewqH6xjUaeNQFOnv7OTwOcU/NObnm0qi1 yc6lT0z1y2YAQ== X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id riEv1_8OxnOy; Thu, 31 Aug 2023 08:09:26 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id C9A2A402DC; Thu, 31 Aug 2023 08:09:25 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org C9A2A402DC Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 2C3CF1BF3F4 for ; Thu, 31 Aug 2023 08:09:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id F3AA5418C8 for ; Thu, 31 Aug 2023 08:09:24 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org F3AA5418C8 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OLkFhqfTntSW for ; Thu, 31 Aug 2023 08:09:24 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by smtp4.osuosl.org (Postfix) with ESMTPS id 1DE3F418B2 for ; Thu, 31 Aug 2023 08:09:23 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 1DE3F418B2 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-630-HZB_xHmzNjSMH6LEb88Fyg-1; Thu, 31 Aug 2023 04:09:18 -0400 X-MC-Unique: HZB_xHmzNjSMH6LEb88Fyg-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 548A48007CE; Thu, 31 Aug 2023 08:09:18 +0000 (UTC) Received: from calimero.vinschen.de (unknown [10.39.192.15]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2935E40C6F4C; Thu, 31 Aug 2023 08:09:18 +0000 (UTC) Received: by calimero.vinschen.de (Postfix, from userid 500) id C7BEEA807AC; Thu, 31 Aug 2023 10:09:16 +0200 (CEST) From: Corinna Vinschen To: Tony Nguyen , jesse.brandeburg@intel.com, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org Date: Thu, 31 Aug 2023 10:09:16 +0200 Message-ID: <20230831080916.588043-1-vinschen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1693469362; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=oDwrXxOtbcEKuXlN7wfZ0trIBONJYOad76SNiOzbk+I=; b=c3Ee2KpUkMjXRDr62c91DGjFbFWJx7jc18CngyDVa0kS4HP0QWrsNIaRM1c/Y77eTWt+py 7Id6ToRS8JcsyhtxkliF3rI1+We0M8h1ims5Xos8LxyzYJnffx8VnJ0Q9wPXTWakxm9i4x WTjvusvM4Y4hmn0/IMvY1PxEhpUFfaY= X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=c3Ee2KpU Subject: [Intel-wired-lan] [PATCH] igb: disable virtualization features on 82580 X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" Disable virtualization features on 82580 just as on i210/i211. This avoids that virt functions are acidentally called on 82850. Signed-off-by: Corinna Vinschen --- drivers/net/ethernet/intel/igb/igb_main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c index 1ab787ed254d..13ba9c74bd84 100644 --- a/drivers/net/ethernet/intel/igb/igb_main.c +++ b/drivers/net/ethernet/intel/igb/igb_main.c @@ -3933,8 +3933,9 @@ static void igb_probe_vfs(struct igb_adapter *adapter) struct pci_dev *pdev = adapter->pdev; struct e1000_hw *hw = &adapter->hw; - /* Virtualization features not supported on i210 family. */ - if ((hw->mac.type == e1000_i210) || (hw->mac.type == e1000_i211)) + /* Virtualization features not supported on i210 and 82580 family. */ + if ((hw->mac.type == e1000_i210) || (hw->mac.type == e1000_i211) || + (hw->mac.type == e1000_82580)) return; /* Of the below we really only want the effect of getting -- 2.31.1 _______________________________________________ Intel-wired-lan mailing list Intel-wired-lan@osuosl.org https://lists.osuosl.org/mailman/listinfo/intel-wired-lan