net/sfc/base: optimize credits overflow check
[dpdk.git] / drivers / net / sfc / sfc_dp.h
index c44c44d..eff0aa8 100644 (file)
@@ -56,6 +56,7 @@ typedef void (sfc_dp_exception_t)(void *ctrl);
 
 enum sfc_dp_type {
        SFC_DP_RX = 0,  /**< Receive datapath */
+       SFC_DP_TX,      /**< Transmit datapath */
 };
 
 
@@ -98,6 +99,7 @@ struct sfc_dp {
        enum sfc_dp_type                type;
        /* Mask of required hardware/firmware capabilities */
        unsigned int                    hw_fw_caps;
+#define SFC_DP_HW_FW_CAP_EF10          0x1
 };
 
 /** List of datapath variants */