net/hns3: improve IO path data cache usage
[dpdk.git] / drivers / net / hns3 / hns3_ethdev.h
index a6622a6..133b484 100644 (file)
@@ -738,7 +738,7 @@ struct hns3_ptype_table {
         * descriptor, it functions only when firmware report the capability of
         * HNS3_CAPS_RXD_ADV_LAYOUT_B and driver enabled it.
         */
-       uint32_t ptype[HNS3_PTYPE_NUM] __rte_cache_min_aligned;
+       uint32_t ptype[HNS3_PTYPE_NUM] __rte_cache_aligned;
 };
 
 #define HNS3_FIXED_MAX_TQP_NUM_MODE            0
@@ -842,7 +842,7 @@ struct hns3_adapter {
 
        uint64_t dev_caps_mask;
 
-       struct hns3_ptype_table ptype_tbl __rte_cache_min_aligned;
+       struct hns3_ptype_table ptype_tbl __rte_cache_aligned;
 };
 
 enum {