From: Shreyansh Jain <shreyansh.jain@nxp.com>
To: ferruh.yigit@intel.com
Cc: dev@dpdk.org, Shreyansh Jain <shreyansh.jain@nxp.com>,
hemant.agrawal@nxp.com
Subject: [dpdk-dev] [PATCH v2 1/2] net/dpaa: fix max push mode queue
Date: Wed, 9 May 2018 15:19:43 +0530 [thread overview]
Message-ID: <20180509094944.11254-1-shreyansh.jain@nxp.com> (raw)
In-Reply-To: <20180509092954.9711-1-shreyansh.jain@nxp.com>
Split default and max push mode queues to 4 and 8, respectively.
Fixes: e6573771cdfb ("net/dpaa: integrate the support of push mode in PMD")
Cc: hemant.agrawal@nxp.com
Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
---
v2:
- Removed stray internal tracking number from commit message
drivers/net/dpaa/dpaa_ethdev.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/net/dpaa/dpaa_ethdev.c b/drivers/net/dpaa/dpaa_ethdev.c
index 6bf8c1590..88febe4d9 100644
--- a/drivers/net/dpaa/dpaa_ethdev.c
+++ b/drivers/net/dpaa/dpaa_ethdev.c
@@ -74,12 +74,13 @@ static uint64_t dev_tx_offloads_nodis =
/* Keep track of whether QMAN and BMAN have been globally initialized */
static int is_global_init;
-/* At present we only allow up to 4 push mode queues - as each of this queue
- * need dedicated portal and we are short of portals.
+/* At present we only allow up to 4 push mode queues as default - as each of
+ * this queue need dedicated portal and we are short of portals.
*/
-#define DPAA_MAX_PUSH_MODE_QUEUE 4
+#define DPAA_MAX_PUSH_MODE_QUEUE 8
+#define DPAA_DEFAULT_PUSH_MODE_QUEUE 4
-static int dpaa_push_mode_max_queue = DPAA_MAX_PUSH_MODE_QUEUE;
+static int dpaa_push_mode_max_queue = DPAA_DEFAULT_PUSH_MODE_QUEUE;
static int dpaa_push_queue_idx; /* Queue index which are in push mode*/
--
2.17.0
next prev parent reply other threads:[~2018-05-09 9:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-09 9:29 [dpdk-dev] [PATCH " Shreyansh Jain
2018-05-09 9:29 ` [dpdk-dev] [PATCH 2/2] net/dpaa: update optimal burst size in device info Shreyansh Jain
2018-05-09 9:49 ` Shreyansh Jain [this message]
2018-05-09 9:49 ` [dpdk-dev] [PATCH v2 " Shreyansh Jain
2018-05-09 22:28 ` [dpdk-dev] [PATCH v2 1/2] net/dpaa: fix max push mode queue Ferruh Yigit
2018-05-09 22:42 ` Ferruh Yigit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180509094944.11254-1-shreyansh.jain@nxp.com \
--to=shreyansh.jain@nxp.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
--cc=hemant.agrawal@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).