git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/mlx5: fix Tx queue size created with DevX
[dpdk.git]
/
drivers
/
net
/
dpaa
/
dpaa_rxtx.c
diff --git
a/drivers/net/dpaa/dpaa_rxtx.c
b/drivers/net/dpaa/dpaa_rxtx.c
index
e4f012c
..
e38fba2
100644
(file)
--- a/
drivers/net/dpaa/dpaa_rxtx.c
+++ b/
drivers/net/dpaa/dpaa_rxtx.c
@@
-26,7
+26,7
@@
#include <rte_eal.h>
#include <rte_alarm.h>
#include <rte_ether.h>
#include <rte_eal.h>
#include <rte_alarm.h>
#include <rte_ether.h>
-#include <
rte_
ethdev_driver.h>
+#include <ethdev_driver.h>
#include <rte_malloc.h>
#include <rte_ring.h>
#include <rte_ip.h>
#include <rte_malloc.h>
#include <rte_ring.h>
#include <rte_ip.h>
@@
-649,7
+649,7
@@
dpaa_rx_cb_parallel(void *event,
ev->queue_id = fq->ev.queue_id;
ev->priority = fq->ev.priority;
ev->impl_opaque = (uint8_t)DPAA_INVALID_MBUF_SEQN;
ev->queue_id = fq->ev.queue_id;
ev->priority = fq->ev.priority;
ev->impl_opaque = (uint8_t)DPAA_INVALID_MBUF_SEQN;
-
mbuf->seqn
= DPAA_INVALID_MBUF_SEQN;
+
*dpaa_seqn(mbuf)
= DPAA_INVALID_MBUF_SEQN;
*bufs = mbuf;
return qman_cb_dqrr_consume;
*bufs = mbuf;
return qman_cb_dqrr_consume;
@@
-683,7
+683,7
@@
dpaa_rx_cb_atomic(void *event,
DPAA_PER_LCORE_DQRR_HELD |= 1 << index;
DPAA_PER_LCORE_DQRR_MBUF(index) = mbuf;
ev->impl_opaque = index + 1;
DPAA_PER_LCORE_DQRR_HELD |= 1 << index;
DPAA_PER_LCORE_DQRR_MBUF(index) = mbuf;
ev->impl_opaque = index + 1;
-
mbuf->seqn
= (uint32_t)index + 1;
+
*dpaa_seqn(mbuf)
= (uint32_t)index + 1;
*bufs = mbuf;
return qman_cb_dqrr_defer;
*bufs = mbuf;
return qman_cb_dqrr_defer;
@@
-1078,7
+1078,7
@@
dpaa_eth_queue_tx(void *q, struct rte_mbuf **bufs, uint16_t nb_bufs)
if (dpaa_svr_family == SVR_LS1043A_FAMILY &&
(mbuf->data_off & 0x7F) != 0x0)
realloc_mbuf = 1;
if (dpaa_svr_family == SVR_LS1043A_FAMILY &&
(mbuf->data_off & 0x7F) != 0x0)
realloc_mbuf = 1;
- seqn =
mbuf->seqn
;
+ seqn =
*dpaa_seqn(mbuf)
;
if (seqn != DPAA_INVALID_MBUF_SEQN) {
index = seqn - 1;
if (DPAA_PER_LCORE_DQRR_HELD & (1 << index)) {
if (seqn != DPAA_INVALID_MBUF_SEQN) {
index = seqn - 1;
if (DPAA_PER_LCORE_DQRR_HELD & (1 << index)) {