diff options
| author | Qiuwen Lu <[email protected]> | 2020-07-13 17:13:23 +0800 |
|---|---|---|
| committer | Qiuwen Lu <[email protected]> | 2020-07-13 17:13:23 +0800 |
| commit | d88306ecbe19ac393ef8206f8cdbb64b022c8c05 (patch) | |
| tree | 0d8700f5eb252c55233e755f530933416274161c /include/external | |
| parent | 29189285e1261a0be8bcb1b037b1e0cec91f68e3 (diff) | |
提供send_burst_flush接口,避免开启burst后小流量情况下报文在发送队列内堆积导致的延迟提高。v4.3.25-20200714
Diffstat (limited to 'include/external')
| -rw-r--r-- | include/external/marsio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/external/marsio.h b/include/external/marsio.h index 6a08331..a4d6d15 100644 --- a/include/external/marsio.h +++ b/include/external/marsio.h @@ -151,6 +151,7 @@ int marsio_recv_all_burst(struct mr_instance * instance, queue_id_t qid, marsio_ int marsio_send_burst(struct mr_sendpath * sendpath, queue_id_t qid, marsio_buff_t * mbufs[], int nr_mbufs); int marsio_send_burst_with_options(struct mr_sendpath * sendpath, queue_id_t sid, marsio_buff_t * mbufs[], int nr_mbufs, uint16_t options); +void marsio_send_burst_flush(struct mr_sendpath * sendpath, queue_id_t sid); int marsio_udp_header_construct(marsio_buff_t * buff, uint16_t s_port, uint16_t d_port); int marsio_ipv4_header_construct(marsio_buff_t * buff, uint32_t s_ip, uint32_t d_ip, uint8_t proto); |
