net/octeontx: support fast mbuf free
[dpdk.git] / drivers / net / axgbe / axgbe_ethdev.h
index 3969317..f10ec4a 100644 (file)
@@ -486,6 +486,16 @@ struct axgbe_mmc_stats {
        uint64_t rxwatchdogerror;
 };
 
+/* Flow control parameters */
+struct xgbe_fc_info {
+       uint32_t high_water[AXGBE_PRIORITY_QUEUES];
+       uint32_t low_water[AXGBE_PRIORITY_QUEUES];
+       uint16_t pause_time[AXGBE_PRIORITY_QUEUES];
+       uint16_t send_xon;
+       enum rte_eth_fc_mode mode;
+       uint8_t autoneg;
+};
+
 /*
  * Structure to store private data for each port.
  */
@@ -577,6 +587,7 @@ struct axgbe_port {
        unsigned int rx_rfa[AXGBE_MAX_QUEUES];
        unsigned int rx_rfd[AXGBE_MAX_QUEUES];
        unsigned int fifo;
+       unsigned int pfc_map[AXGBE_MAX_QUEUES];
 
        /* Receive Side Scaling settings */
        u8 rss_key[AXGBE_RSS_HASH_KEY_SIZE];
@@ -626,6 +637,7 @@ struct axgbe_port {
        uint32_t rx_csum_enable;
 
        struct axgbe_mmc_stats mmc_stats;
+       struct xgbe_fc_info fc;
 
        /* Hash filtering */
        unsigned int hash_table_shift;