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/ionic: fix address handling in Tx
[dpdk.git]
/
drivers
/
net
/
octeontx2
/
otx2_flow_parse.c
diff --git
a/drivers/net/octeontx2/otx2_flow_parse.c
b/drivers/net/octeontx2/otx2_flow_parse.c
index
476195d
..
e9b940f
100644
(file)
--- a/
drivers/net/octeontx2/otx2_flow_parse.c
+++ b/
drivers/net/octeontx2/otx2_flow_parse.c
@@
-1090,7
+1090,10
@@
otx2_flow_parse_actions(struct rte_eth_dev *dev,
set_pf_func:
/* Ideally AF must ensure that correct pf_func is set */
- flow->npc_action |= (uint64_t)pf_func << 4;
+ if (attr->egress)
+ flow->npc_action |= (uint64_t)pf_func << 48;
+ else
+ flow->npc_action |= (uint64_t)pf_func << 4;
return 0;