net/hinic: optimize Rx performance for x86
For x86 platform, the rq cqe without cache aligned, which can improve performance for some gateway scenarios. Fixes: 361a9ccf81d6 ("net/hinic: optimize Rx performance") Cc: stable@dpdk.org Signed-off-by: Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>
This commit is contained in:
parent
8c8b61234f
commit
fae4b8c47c
@ -35,7 +35,11 @@ struct hinic_rq_cqe {
|
||||
u32 rss_hash;
|
||||
|
||||
u32 rsvd[4];
|
||||
#if defined(RTE_ARCH_ARM64)
|
||||
} __rte_cache_aligned;
|
||||
#else
|
||||
};
|
||||
#endif
|
||||
|
||||
struct hinic_rq_cqe_sect {
|
||||
struct hinic_sge sge;
|
||||
|
Loading…
x
Reference in New Issue
Block a user