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 meter policy flow match item
[dpdk.git]
/
drivers
/
net
/
bnxt
/
tf_ulp
/
ulp_utils.h
diff --git
a/drivers/net/bnxt/tf_ulp/ulp_utils.h
b/drivers/net/bnxt/tf_ulp/ulp_utils.h
index
209c8fa
..
e1b0e77
100644
(file)
--- a/
drivers/net/bnxt/tf_ulp/ulp_utils.h
+++ b/
drivers/net/bnxt/tf_ulp/ulp_utils.h
@@
-64,10
+64,10
@@
/* Macros to read the computed fields */
#define ULP_COMP_FLD_IDX_RD(params, idx) \
/* Macros to read the computed fields */
#define ULP_COMP_FLD_IDX_RD(params, idx) \
- rte_be_to_cpu_
32
((params)->comp_fld[(idx)])
+ rte_be_to_cpu_
64
((params)->comp_fld[(idx)])
#define ULP_COMP_FLD_IDX_WR(params, idx, val) \
#define ULP_COMP_FLD_IDX_WR(params, idx, val) \
- ((params)->comp_fld[(idx)] = rte_cpu_to_be_
32(
(val)))
+ ((params)->comp_fld[(idx)] = rte_cpu_to_be_
64((uint64_t)
(val)))
/*
* Making the blob statically sized to 128 bytes for now.
* The blob must be initialized with ulp_blob_init prior to using.
/*
* Making the blob statically sized to 128 bytes for now.
* The blob must be initialized with ulp_blob_init prior to using.