1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2020 Chelsio Communications.
8 #include "base/t4_msg.h"
25 u8 src_mac[RTE_ETHER_ADDR_LEN];
26 rte_atomic32_t refcnt;
31 unsigned int smt_size;
32 unsigned int smt_start;
34 struct smt_entry smtab[0];
37 struct smt_data *t4_init_smt(u32 smt_start_idx, u32 smt_size);
38 void t4_cleanup_smt(struct adapter *adap);
39 void cxgbe_do_smt_write_rpl(struct adapter *adap,
40 const struct cpl_smt_write_rpl *rpl);
41 struct smt_entry *cxgbe_smt_alloc_switching(struct rte_eth_dev *dev, u8 *smac);
43 #endif /* __CXGBE_SMT_H_ */