diff options
| author | 陆秋文 <[email protected]> | 2024-01-19 09:57:18 +0000 |
|---|---|---|
| committer | 陆秋文 <[email protected]> | 2024-01-19 09:57:18 +0000 |
| commit | ac0a61dc77b42c372cd28f1f014fe46081ed7996 (patch) | |
| tree | 90d22ef9a76762f55b06ab28def58053d8856257 /service/include | |
| parent | cd77b85573e3e0a6a135310830eaecec7b921af2 (diff) | |
TSG-18269 fix the missing LACP packets and improve the status output of bond interfaces.v4.6.71-20240119
Diffstat (limited to 'service/include')
| -rw-r--r-- | service/include/sc_devmgr.h | 13 | ||||
| -rw-r--r-- | service/include/sc_node_common.h | 8 |
2 files changed, 14 insertions, 7 deletions
diff --git a/service/include/sc_devmgr.h b/service/include/sc_devmgr.h index c091384..0b7513e 100644 --- a/service/include/sc_devmgr.h +++ b/service/include/sc_devmgr.h @@ -185,6 +185,12 @@ struct dpdk_dev unsigned int nr_default_flow_handles; }; +struct mr_dev_desc_qid_map +{ + uint8_t qid_enabled[RTE_MAX_LCORE]; + uint8_t qid_map[RTE_MAX_LCORE]; +}; + struct mr_dev_desc { /* next */ @@ -254,6 +260,13 @@ struct mr_dev_desc cpu_set_t rx_cpu_set; cpu_set_t tx_cpu_set; + /* qid map */ + struct mr_dev_desc_qid_map * rx_qid_map; + struct mr_dev_desc_qid_map * tx_qid_map; + + /* need to rx/tx periodically */ + unsigned int en_periodic_rx_tx; + /* q_len_monitor */ unsigned int en_q_len_monitor; }; diff --git a/service/include/sc_node_common.h b/service/include/sc_node_common.h index 9e6aaec..b6d7cef 100644 --- a/service/include/sc_node_common.h +++ b/service/include/sc_node_common.h @@ -45,16 +45,10 @@ struct vwire_service_tag uint16_t fwd_table_index; }; -struct dev_node_qid_map -{ - uint8_t qid_enabled[RTE_MAX_LCORE]; - uint8_t qid_map[RTE_MAX_LCORE]; -}; - struct dev_node_ctx { struct mr_dev_desc * dev_desc; - struct dev_node_qid_map * qid_map; + unsigned int last_rxtx_time_in_ms; }; struct mr_generic_ip_hdr |
