diff options
| author | tongzongzhen <[email protected]> | 2024-07-03 15:29:12 +0800 |
|---|---|---|
| committer | tongzongzhen <[email protected]> | 2024-07-16 09:29:01 +0800 |
| commit | f9dda807ba74869704b897c9e3dcf9db338422b6 (patch) | |
| tree | 6764b1deea8bc946872640da19c7f5f0ed6fe4e5 | |
| parent | bb2da54c139df68e61fdae9371e99b9c3b06cae7 (diff) | |
Added the removed inline 2bin_support_muti_arch
| -rw-r--r-- | infra/src/vnode_mirror.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/infra/src/vnode_mirror.c b/infra/src/vnode_mirror.c index 11f251d..705e92b 100644 --- a/infra/src/vnode_mirror.c +++ b/infra/src/vnode_mirror.c @@ -252,9 +252,9 @@ static inline void dist_tunnel_block_enqueue_with_hash(struct tunnel_block * blo dist_tunnel_block_flush(block, prodq); } -TARGET_CLONES -static unsigned int dist_tunnel_block_rt_objects_retrieve(struct tunnel_block * block, unsigned int prodq, - struct rte_mbuf * rt_objs[], unsigned int nr_max_rt_objs) +static inline unsigned int dist_tunnel_block_rt_objects_retrieve(struct tunnel_block * block, unsigned int prodq, + struct rte_mbuf * rt_objs[], + unsigned int nr_max_rt_objs) { unsigned int nr_rt_objs = 0; unsigned int nr_rt_objs_left = nr_max_rt_objs; @@ -274,9 +274,9 @@ static unsigned int dist_tunnel_block_rt_objects_retrieve(struct tunnel_block * // Tunnel Block Dequeue, dequeue from block, only used by cons. // TODO: rewrite in SSE/SSE2/AVX/AVX2 intrinsics -TARGET_CLONES -static unsigned int dist_tunnel_block_dequeue(struct vnode * vnode_desc, struct tunnel_block * block, - unsigned int consq, struct rte_mbuf * obj[], unsigned int nr_max_obj) +static inline unsigned int dist_tunnel_block_dequeue(struct vnode * vnode_desc, struct tunnel_block * block, + unsigned int consq, struct rte_mbuf * obj[], + unsigned int nr_max_obj) { unsigned int nr_obj = 0, nr_obj_recv = 0; unsigned int nr_obj_left = nr_max_obj; |
