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 smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (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 340E3C001B0 for ; Mon, 24 Jul 2023 10:20:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id C9BBF60EAA; Mon, 24 Jul 2023 10:20:33 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org C9BBF60EAA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1690194033; bh=allFbS74HD9m4i7BaFNFXNMDcRd2P1DB2P8T8a8AddI=; h=From:To:Date:In-Reply-To:References:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=XDcnCDDmml889Ha5db804qFzmDU27ZECCsBKtrWxHXDhJn9USIVtIZ/uyEhoy1jCQ T/+H9pZAbCN1F11F3tbl9l7313yvL2q4MGsrhif29ozxt7pjjjCAFQpVkwLPuxt6Bd TfEGdFEUpvZ8ziO35Z5q2D6ObrhRnGrLGIpnYZyfj2U0AbZ+mKKjWzMymVzHx3zyHU 36i5/fFaV7G58hcuhV6cuBoRgdwLqVyvTk0vgTJKzhFU2Z0oBT98zLR3nhA8shQX7F fZWGXLvcpNnDBZc/ElvGTfx/G4LbBAbSOS/QtGBjXA+Zl4WeDc6JP4xVyGRHsVprDn LH2cWxtR9ai6Q== X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sJU_KWNQGce7; Mon, 24 Jul 2023 10:20:33 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id ED0BB60F33; Mon, 24 Jul 2023 10:20:32 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org ED0BB60F33 Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id B208E1BF45A for ; Mon, 24 Jul 2023 10:20:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 972274149F for ; Mon, 24 Jul 2023 10:20:31 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 972274149F 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 ASF-QRbszt6t for ; Mon, 24 Jul 2023 10:20:30 +0000 (UTC) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by smtp4.osuosl.org (Postfix) with ESMTPS id A0D704146F for ; Mon, 24 Jul 2023 10:20:30 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org A0D704146F X-IronPort-AV: E=McAfee;i="6600,9927,10780"; a="367428266" X-IronPort-AV: E=Sophos;i="6.01,228,1684825200"; d="scan'208";a="367428266" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jul 2023 03:13:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10780"; a="972206817" X-IronPort-AV: E=Sophos;i="6.01,228,1684825200"; d="scan'208";a="972206817" Received: from gk3153-or4-r750-36948.igk.intel.com ([10.102.19.252]) by fmsmga006.fm.intel.com with ESMTP; 24 Jul 2023 03:13:23 -0700 From: Olga Zaborska To: intel-wired-lan@lists.osuosl.org Date: Mon, 24 Jul 2023 12:06:22 +0200 Message-Id: <20230724100623.79886-3-olga.zaborska@intel.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20230724100623.79886-1-olga.zaborska@intel.com> References: <20230724100623.79886-1-olga.zaborska@intel.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690194030; x=1721730030; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=AqJqDAEnsZGCSIFkajnIdB27jd3VGPcGmnPl1n2e0vg=; b=G3FlXJ2O3ztA7prDsgNhu/f/W5CSSg3125RRS63EIJPXtLFHKIIiAwyH DbPYZL9B+wCMLwLVTHg/kvyIy3WnmRTcsKDTdEMADsh6StwwxPa3UsG4h 2zQHDiEvfDzNazga3ITbo+yzttnnXt/LU0qYwZEXXwo5w/hkRoZABrQSh S8yzojW9OTB/1hKSbc9rUvZDlUgTkhRB0/LfKdQzHV/qbuML8ZIRW7Nbx PnTSYB1JKg2o5j5h0naylhWI8EBlBG7MwCaXlwVHomS93ncexHKrtH8kK +nfhrGcfjBNkSp/dbWtRqu7H5NDOGHhr4fOMy6oToROVqklX9FGLdNPC7 A==; X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=G3FlXJ2O Subject: [Intel-wired-lan] [PATCH iwl-net v4 2/3] igbvf: Change IGBVF_MIN to allow set rx/tx value between 64 and 80 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: , Cc: Olga Zaborska Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" Change the minimum value of RX/TX descriptors to 64 to enable setting the rx/tx value between 64 and 80. All igbvf devices can use as low as 64 descriptors. This change will unify igbvf with other drivers. Based on commit 7b1be1987c1e ("e1000e: lower ring minimum size to 64") Fixes: d4e0fe01a38a ("igbvf: add new driver to support 82576 virtual functions") Signed-off-by: Olga Zaborska --- v1->v2 fixed commit title and message v2->v3 fixed commit title and message, added changes for igb and igc v3->v4 fixed commit message --- drivers/net/ethernet/intel/igbvf/igbvf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/intel/igbvf/igbvf.h b/drivers/net/ethernet/intel/igbvf/igbvf.h index 57d39ee00b58..7b83678ba83a 100644 --- a/drivers/net/ethernet/intel/igbvf/igbvf.h +++ b/drivers/net/ethernet/intel/igbvf/igbvf.h @@ -39,11 +39,11 @@ enum latency_range { /* Tx/Rx descriptor defines */ #define IGBVF_DEFAULT_TXD 256 #define IGBVF_MAX_TXD 4096 -#define IGBVF_MIN_TXD 80 +#define IGBVF_MIN_TXD 64 #define IGBVF_DEFAULT_RXD 256 #define IGBVF_MAX_RXD 4096 -#define IGBVF_MIN_RXD 80 +#define IGBVF_MIN_RXD 64 #define IGBVF_MIN_ITR_USECS 10 /* 100000 irq/sec */ #define IGBVF_MAX_ITR_USECS 10000 /* 100 irq/sec */ -- 2.31.1 _______________________________________________ Intel-wired-lan mailing list Intel-wired-lan@osuosl.org https://lists.osuosl.org/mailman/listinfo/intel-wired-lan