]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/sfc/sfc_dp.h
net/sfc/base: optimize credits overflow check
[dpdk.git] / drivers / net / sfc / sfc_dp.h
index c44c44da81996e9ea3fe894d9792f961d11c3c24..eff0aa8795f38762c36c4980b137a802e9f2fff2 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 */