* [dpdk-stable] [PATCH v2 5/5] examples/quota_watermark: fix requirement for 2M pages [not found] <1487695964-15593-1-git-send-email-bruce.richardson@intel.com> @ 2017-02-23 16:42 ` Bruce Richardson [not found] ` <1487868330-31842-1-git-send-email-bruce.richardson@intel.com> 1 sibling, 0 replies; 2+ messages in thread From: Bruce Richardson @ 2017-02-23 16:42 UTC (permalink / raw) To: dev; +Cc: Bruce Richardson, stable 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") CC: stable@dpdk.org Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> --- 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 e941ce8..95a9f94 100644 --- a/examples/quota_watermark/qw/init.c +++ b/examples/quota_watermark/qw/init.c @@ -168,7 +168,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); + 2 * sizeof(int), rte_socket_id(), 0); if (qw_memzone == NULL) rte_exit(EXIT_FAILURE, "%s\n", rte_strerror(rte_errno)); -- 2.9.3 ^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <1487868330-31842-1-git-send-email-bruce.richardson@intel.com>]
[parent not found: <1487868330-31842-2-git-send-email-bruce.richardson@intel.com>]
[parent not found: <1487868330-31842-3-git-send-email-bruce.richardson@intel.com>]
[parent not found: <1487868330-31842-4-git-send-email-bruce.richardson@intel.com>]
[parent not found: <1487868330-31842-5-git-send-email-bruce.richardson@intel.com>]
* [dpdk-stable] [PATCH v2 5/5] examples/quota_watermark: fix requirement for 2M pages [not found] ` <1487868330-31842-5-git-send-email-bruce.richardson@intel.com> @ 2017-02-23 16:45 ` Bruce Richardson 0 siblings, 0 replies; 2+ messages in thread From: Bruce Richardson @ 2017-02-23 16:45 UTC (permalink / raw) To: bruce.richardson; +Cc: stable 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") CC: stable@dpdk.org Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> --- 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 e941ce8..95a9f94 100644 --- a/examples/quota_watermark/qw/init.c +++ b/examples/quota_watermark/qw/init.c @@ -168,7 +168,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); + 2 * sizeof(int), rte_socket_id(), 0); if (qw_memzone == NULL) rte_exit(EXIT_FAILURE, "%s\n", rte_strerror(rte_errno)); -- 2.9.3 ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-23 16:46 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <1487695964-15593-1-git-send-email-bruce.richardson@intel.com> 2017-02-23 16:42 ` [dpdk-stable] [PATCH v2 5/5] examples/quota_watermark: fix requirement for 2M pages Bruce Richardson [not found] ` <1487868330-31842-1-git-send-email-bruce.richardson@intel.com> [not found] ` <1487868330-31842-2-git-send-email-bruce.richardson@intel.com> [not found] ` <1487868330-31842-3-git-send-email-bruce.richardson@intel.com> [not found] ` <1487868330-31842-4-git-send-email-bruce.richardson@intel.com> [not found] ` <1487868330-31842-5-git-send-email-bruce.richardson@intel.com> 2017-02-23 16:45 ` Bruce Richardson
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).