aboutsummaryrefslogtreecommitdiffstats
path: root/nsh-plugin/nsh/nsh.h
diff options
context:
space:
mode:
authorHongjun Ni <hongjun.ni@intel.com>2018-06-02 02:23:05 +0800
committerHongjun Ni <hongjun.ni@intel.com>2018-06-02 02:59:24 +0800
commit1c0965c40377d43ae3810cd0581347cc24960d18 (patch)
tree9b3370c490d64aa50bbde7ff703059070770d8c0 /nsh-plugin/nsh/nsh.h
parentd6b91c3eaba5e9479cf04595df9ca9b4eb56c4b4 (diff)
Bump master's JVPP version to 18.07HEADv18.10-rc0master
Change-Id: Ic74ff2da23facce1bf843f3df2ab30cbe2caeb77 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'nsh-plugin/nsh/nsh.h')
-rw-r--r--nsh-plugin/nsh/nsh.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/nsh-plugin/nsh/nsh.h b/nsh-plugin/nsh/nsh.h
index d763f87..1b14567 100644
--- a/nsh-plugin/nsh/nsh.h
+++ b/nsh-plugin/nsh/nsh.h
@@ -34,6 +34,9 @@ typedef struct {
* rewrite and rewrite_size used to support varied nsh header
*/
typedef struct {
+ /* Required for pool_get_aligned */
+ CLIB_CACHE_LINE_ALIGN_MARK (cacheline0);
+
nsh_base_header_t nsh_base;
union {
nsh_md1_data_t md1_data;
@@ -54,6 +57,9 @@ typedef struct {
} nsh_add_del_entry_args_t;
typedef struct {
+ /* Required for pool_get_aligned */
+ CLIB_CACHE_LINE_ALIGN_MARK (cacheline0);
+
/** Key for nsh_header_t entry: 24bit NSP 8bit NSI */
u32 nsp_nsi;
/** Key for nsh_header_t entry to map to. : 24bit NSP 8bit NSI