#include <rte_mbuf.h>
#include <rte_mempool.h>
#include <rte_security_driver.h>
+#include <rte_spinlock.h>
#include <rte_string_fns.h>
#include <rte_time.h>
bool sdp_link; /* SDP flag */
/* Inline IPsec params */
uint16_t ipsec_in_max_spi;
+ rte_spinlock_t ipsec_tbl_lock;
uint8_t duplex;
uint32_t speed;
} __rte_cache_aligned;
int otx2_nix_link_update(struct rte_eth_dev *eth_dev, int wait_to_complete);
void otx2_eth_dev_link_status_update(struct otx2_dev *dev,
struct cgx_link_user_info *link);
+void otx2_eth_dev_link_status_get(struct otx2_dev *dev,
+ struct cgx_link_user_info *link);
int otx2_nix_dev_set_link_up(struct rte_eth_dev *eth_dev);
int otx2_nix_dev_set_link_down(struct rte_eth_dev *eth_dev);
int otx2_apply_link_speed(struct rte_eth_dev *eth_dev);