| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
#ifndef CN20K_H |
| 9 |
#define CN20K_H |
| 10 |
|
| 11 |
#include "otx2_common.h" |
| 12 |
|
| 13 |
struct otx2_flow_config; |
| 14 |
struct otx2_tc_flow; |
| 15 |
|
| 16 |
void cn20k_init(struct otx2_nic *pfvf); |
| 17 |
int cn20k_register_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs); |
| 18 |
void cn20k_disable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs); |
| 19 |
void cn20k_enable_pfvf_mbox_intr(struct otx2_nic *pf, int numvfs); |
| 20 |
void cn20k_tc_update_mcam_table_del_req(struct otx2_nic *nic, |
| 21 |
struct otx2_flow_config *flow_cfg, |
| 22 |
struct otx2_tc_flow *node); |
| 23 |
int cn20k_tc_update_mcam_table_add_req(struct otx2_nic *nic, |
| 24 |
struct otx2_flow_config *flow_cfg, |
| 25 |
struct otx2_tc_flow *node); |
| 26 |
int cn20k_tc_alloc_entry(struct otx2_nic *nic, |
| 27 |
struct flow_cls_offload *tc_flow_cmd, |
| 28 |
struct otx2_tc_flow *new_node, |
| 29 |
struct npc_install_flow_req *dummy); |
| 30 |
int cn20k_tc_free_mcam_entry(struct otx2_nic *nic, u16 entry); |
| 31 |
#endif |