Re: [PATCH 1/2] net/pcap: add snaplen argument

2022-03-07 Thread Ferruh Yigit
On 3/7/2022 8:30 PM, Tianli Lai wrote: snaplen argument would set the length of each packet that will save to pcap file. Hi Tianli, Overall +1 to add snaplen argument, but please find below comments. Also we are close to finalize the release and this is a new feature, so this can be consider

[PATCH 1/2] net/pcap: add snaplen argument

2022-03-07 Thread Tianli Lai
snaplen argument would set the length of each packet that will save to pcap file. Signed-off-by: Tianli Lai --- drivers/net/pcap/pcap_ethdev.c | 63 ++ 1 file changed, 48 insertions(+), 15 deletions(-) diff --git a/drivers/net/pcap/pcap_ethdev.c b/drivers/net/pca