From: Xiaoyun Wang Date: Sat, 25 Jul 2020 08:15:34 +0000 (+0800) Subject: net/hinic: optimize Rx performance for x86 X-Git-Url: http://git.droids-corp.org/?p=dpdk.git;a=commitdiff_plain;h=fae4b8c47c25286e5d87cde55ff16d1bed298e15 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 --- diff --git a/drivers/net/hinic/hinic_pmd_rx.h b/drivers/net/hinic/hinic_pmd_rx.h index 49fa565173..8a45f2d9fc 100644 --- a/drivers/net/hinic/hinic_pmd_rx.h +++ b/drivers/net/hinic/hinic_pmd_rx.h @@ -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;