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
eal: remove deprecated coherent IO memory barriers
[dpdk.git]
/
drivers
/
common
/
cpt
/
cpt_common.h
diff --git
a/drivers/common/cpt/cpt_common.h
b/drivers/common/cpt/cpt_common.h
index
32f23ac
..
0141b2a
100644
(file)
--- a/
drivers/common/cpt/cpt_common.h
+++ b/
drivers/common/cpt/cpt_common.h
@@
-19,9
+19,6
@@
#define CPT_COUNT_THOLD 32
#define CPT_TIMER_THOLD 0x3F
#define CPT_COUNT_THOLD 32
#define CPT_TIMER_THOLD 0x3F
-#define AE_TYPE 1
-#define SE_TYPE 2
-
#ifndef ROUNDUP4
#define ROUNDUP4(val) (((val) + 3) & 0xfffffffc)
#endif
#ifndef ROUNDUP4
#define ROUNDUP4(val) (((val) + 3) & 0xfffffffc)
#endif
@@
-34,10
+31,6
@@
#define ROUNDUP16(val) (((val) + 15) & 0xfffffff0)
#endif
#define ROUNDUP16(val) (((val) + 15) & 0xfffffff0)
#endif
-#ifndef __hot
-#define __hot __attribute__((hot))
-#endif
-
#define MOD_INC(i, l) ((i) == (l - 1) ? (i) = 0 : (i)++)
struct cpt_qp_meta_info {
#define MOD_INC(i, l) ((i) == (l - 1) ? (i) = 0 : (i)++)
struct cpt_qp_meta_info {
@@
-78,10
+71,11
@@
struct cpt_request_info {
uint64_t ei2;
uint64_t ei3;
} ist;
uint64_t ei2;
uint64_t ei3;
} ist;
+ uint8_t *rptr;
/** Control path fields */
uint64_t time_out;
uint8_t extra_time;
/** Control path fields */
uint64_t time_out;
uint8_t extra_time;
-} __rte_
cache_aligned
;
+} __rte_
aligned(8)
;
#endif /* _CPT_COMMON_H_ */
#endif /* _CPT_COMMON_H_ */