From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 8F31C3777 for ; Fri, 7 Apr 2017 10:15:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intel.com; i=@intel.com; q=dns/txt; s=intel; t=1491552933; x=1523088933; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=5PL32aIIVVLmVUC1MMauDm3meRPWxcKr5Xld9ir1E0k=; b=OAnlVEqQdGHUtUz8BS1IvjiAUK8Sf+VfayOF9k/ipGvH1uEqqBHUmJSa C43SzxVPfi5/N1mW7qVm/fqCWPAkcg==; Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Apr 2017 01:15:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,164,1488873600"; d="scan'208";a="953273655" Received: from yliu-dev.sh.intel.com ([10.239.67.162]) by orsmga003.jf.intel.com with ESMTP; 07 Apr 2017 01:15:32 -0700 From: Yuanhan Liu To: Bruce Richardson Cc: Yuanhan Liu , dpdk stable Date: Fri, 7 Apr 2017 16:12:01 +0800 Message-Id: <1491552724-3034-44-git-send-email-yuanhan.liu@linux.intel.com> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1491552724-3034-1-git-send-email-yuanhan.liu@linux.intel.com> References: <1491552724-3034-1-git-send-email-yuanhan.liu@linux.intel.com> Subject: [dpdk-stable] patch 'examples/quota_watermark: fix requirement for 2M pages' has been queued to LTS release 16.11.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Apr 2017 08:15:34 -0000 Hi, FYI, your patch has been queued to LTS release 16.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 04/11/17. So please shout if anyone has objections. Thanks. --yliu --- >>From b4c36510f69f37acf14cc732e3e4f54c6afb227e Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Thu, 23 Feb 2017 16:42:03 +0000 Subject: [PATCH] examples/quota_watermark: fix requirement for 2M pages [ backported from upstream commit c9051455d6bcd4bfdffdc83c8f2c329a7534921c ] The sample app was forcing the shared memory block for high/low watermarks to be placed in a memzone on 2M pages. This prevented it from running on systems with just 1G pages, so remove the flag forcing 2M pages. Fixes: 1d6c3ee3321a ("examples/quota_watermark: initial import") Signed-off-by: Bruce Richardson --- examples/quota_watermark/qw/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/quota_watermark/qw/init.c b/examples/quota_watermark/qw/init.c index c208721..74b38b5 100644 --- a/examples/quota_watermark/qw/init.c +++ b/examples/quota_watermark/qw/init.c @@ -165,7 +165,7 @@ setup_shared_variables(void) const struct rte_memzone *qw_memzone; qw_memzone = rte_memzone_reserve(QUOTA_WATERMARK_MEMZONE_NAME, 2 * sizeof(int), - rte_socket_id(), RTE_MEMZONE_2MB); + rte_socket_id(), 0); if (qw_memzone == NULL) rte_exit(EXIT_FAILURE, "%s\n", rte_strerror(rte_errno)); -- 1.9.0