net/octeontx: support fast mbuf free
[dpdk.git] / drivers / net / octeontx2 / otx2_ethdev.h
index c075b8d..e5684f9 100644 (file)
@@ -285,6 +285,7 @@ struct otx2_eth_dev {
        uintptr_t base;
        uintptr_t lmt_addr;
        uint16_t scalar_ena;
+       uint16_t rss_tag_as_xor;
        uint16_t max_sqb_count;
        uint16_t rx_offload_flags; /* Selected Rx offload flags(NIX_RX_*_F) */
        uint64_t rx_offloads;
@@ -328,6 +329,8 @@ struct otx2_eth_dev {
        bool mc_tbl_set;
        struct otx2_nix_mc_filter_tbl mc_fltr_tbl;
        bool sdp_link; /* SDP flag */
+       /* Inline IPsec params */
+       uint16_t ipsec_in_max_spi;
 } __rte_cache_aligned;
 
 struct otx2_eth_txq {
@@ -508,6 +511,8 @@ int otx2_cgx_mac_addr_set(struct rte_eth_dev *eth_dev,
                          struct rte_ether_addr *addr);
 
 /* Flow Control */
+int otx2_nix_flow_ctrl_init(struct rte_eth_dev *eth_dev);
+
 int otx2_nix_flow_ctrl_get(struct rte_eth_dev *eth_dev,
                           struct rte_eth_fc_conf *fc_conf);