summaryrefslogtreecommitdiff
path: root/service/include
diff options
context:
space:
mode:
authorsongyanchao <[email protected]>2023-12-04 06:39:05 +0000
committersongyanchao <[email protected]>2023-12-05 08:50:17 +0000
commitbafd3791592b14e635bb8e770d617b5b8fe7a2e0 (patch)
treef71f04b9c6858270ad647ce3867b441f282a8d61 /service/include
parente0db337fa6b45820eda3401d958e4a00a116069d (diff)
🎈 perf: Optimize mrpdump tool by utilizing the 'rte_pcapng_copy' API provided by DPDK.
Optimize mrpdump tool by utilizing the 'rte_pcapng_copy' API provided by DPDK.
Diffstat (limited to 'service/include')
-rw-r--r--service/include/sc_pdump.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/include/sc_pdump.h b/service/include/sc_pdump.h
index 61b02f8..021fc39 100644
--- a/service/include/sc_pdump.h
+++ b/service/include/sc_pdump.h
@@ -37,13 +37,13 @@ enum
MR_PDUMP_ERR_FOR_TX_DISABLE,
MR_PDUMP_ERR_FOR_MEMPOOL_FREE,
MR_PDUMP_ERR_FOR_PCAPNG_CREATE,
+ MR_PDUMP_ERR_FOR_OP_INVALID,
};
enum mr_pdump_operation
{
DISABLE = 1,
ENABLE = 2,
- WRITE_PCAPNG_HEADER = 3,
};
/* Request struct */