git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e25388
)
bus/dpaa: avoid tag set for eqcr in Tx path
author
Nipun Gupta
<nipun.gupta@nxp.com>
Fri, 21 Sep 2018 11:05:56 +0000
(16:35 +0530)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Thu, 27 Sep 2018 23:41:02 +0000
(
01:41
+0200)
Minor optimization for TX path.
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
drivers/bus/dpaa/base/qbman/qman.c
patch
|
blob
|
history
diff --git
a/drivers/bus/dpaa/base/qbman/qman.c
b/drivers/bus/dpaa/base/qbman/qman.c
index
8730550
..
71da275
100644
(file)
--- a/
drivers/bus/dpaa/base/qbman/qman.c
+++ b/
drivers/bus/dpaa/base/qbman/qman.c
@@
-2238,11
+2238,6
@@
int qman_enqueue_multi(struct qman_fq *fq,
/* try to send as many frames as possible */
while (eqcr->available && frames_to_send--) {
eq->fqid = fq->fqid_le;
-#ifdef CONFIG_FSL_QMAN_FQ_LOOKUP
- eq->tag = cpu_to_be32(fq->key);
-#else
- eq->tag = cpu_to_be32((u32)(uintptr_t)fq);
-#endif
eq->fd.opaque_addr = fd->opaque_addr;
eq->fd.addr = cpu_to_be40(fd->addr);
eq->fd.status = cpu_to_be32(fd->status);