DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/octeontx: register fpa as platform HW mempool
@ 2018-01-22 15:45 Pavan Nikhilesh
  2018-01-31 19:51 ` Ferruh Yigit
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Pavan Nikhilesh @ 2018-01-22 15:45 UTC (permalink / raw)
  To: jerin.jacob, santosh.shukla, olivier.matz, hemant.agrawal
  Cc: dev, Pavan Nikhilesh

Register octeontx-fpavf as platform HW mempool when net/octeontx pmd is
used.

Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
---

 This patch depends on http://dpdk.org/dev/patchwork/patch/34239 patchset.

 drivers/net/octeontx/octeontx_ethdev.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/octeontx/octeontx_ethdev.c b/drivers/net/octeontx/octeontx_ethdev.c
index adca3435e..2b4a07d2b 100644
--- a/drivers/net/octeontx/octeontx_ethdev.c
+++ b/drivers/net/octeontx/octeontx_ethdev.c
@@ -16,6 +16,7 @@
 #include <rte_dev.h>
 #include <rte_kvargs.h>
 #include <rte_malloc.h>
+#include <rte_mbuf_pool_ops.h>
 #include <rte_prefetch.h>
 #include <rte_bus_vdev.h>

@@ -1326,6 +1327,7 @@ octeontx_probe(struct rte_vdev_device *dev)
 		res = -ENOTSUP;
 		goto parse_error;
 	}
+	rte_mbuf_set_platform_mempool_ops("octeontx_fpavf");
 	probe_once = 1;

 	return 0;
--
2.16.0

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-02-05 18:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-22 15:45 [dpdk-dev] [PATCH] net/octeontx: register fpa as platform HW mempool Pavan Nikhilesh
2018-01-31 19:51 ` Ferruh Yigit
2018-02-04 15:33 ` [dpdk-dev] [PATCH v2] " Pavan Nikhilesh
2018-02-05  5:41   ` santosh
2018-02-05 10:34   ` Ferruh Yigit
2018-02-05 10:44     ` Pavan Nikhilesh
2018-02-05 11:46     ` Bruce Richardson
2018-02-05 18:55       ` Ferruh Yigit
2018-02-05 11:44   ` Bruce Richardson
2018-02-05 10:55 ` [dpdk-dev] [PATCH v3] " Pavan Nikhilesh
2018-02-05 16:14   ` Ferruh Yigit

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).