]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/hns3/hns3_ethdev.h
net/hns3: improve IO path data cache usage
[dpdk.git] / drivers / net / hns3 / hns3_ethdev.h
index a6622a66bfc4f90cb456ba9c23fc805f9ddff116..133b484dd4e07349343f2fd05458f11a74f223b4 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 {