net/bnxt: fix Thor SVIF size for generic tables
[dpdk.git] / drivers / net / sfc / sfc_dp.h
index 7250e81..c302a5c 100644 (file)
@@ -51,8 +51,7 @@ struct sfc_dp_queue {
         * used on datapath or reap to have more chances to be cache-hot.
         */
        union sfc_pkts_bytes            stats;
-       uint32_t                        rx_dbells;
-       uint32_t                        tx_dbells;
+       uint32_t                        dbells;
 
        uint16_t                        port_id;
        uint16_t                        queue_id;
@@ -153,6 +152,15 @@ extern int sfc_dp_mport_offset;
  */
 int sfc_dp_mport_register(void);
 
+/** Dynamically registered mbuf "ft_id" validity flag (as a bitmask). */
+extern uint64_t sfc_dp_ft_id_valid;
+
+/** Dynamically registered mbuf field "ft_id" (mbuf byte offset). */
+extern int sfc_dp_ft_id_offset;
+
+/** Register dynamic mbuf field "ft_id" and its validity flag. */
+int sfc_dp_ft_id_register(void);
+
 #ifdef __cplusplus
 }
 #endif