net/ice: remove type cast in Rx/Tx ring setup
[dpdk.git] / drivers / net / ice / ice_ethdev.h
index 8a52239..f569da8 100644 (file)
@@ -273,6 +273,13 @@ struct ice_pf {
        struct ice_flow_list flow_list;
 };
 
+/**
+ * Cache devargs parse result.
+ */
+struct ice_devargs {
+       int safe_mode_support;
+};
+
 /**
  * Structure to store private data for each PF/VF instance.
  */
@@ -286,6 +293,7 @@ struct ice_adapter {
        /* ptype mapping table */
        uint32_t ptype_tbl[ICE_MAX_PKT_TYPE] __rte_cache_min_aligned;
        bool is_safe_mode;
+       struct ice_devargs devargs;
 };
 
 struct ice_vsi_vlan_pvid_info {