[PATCH v1] dumpcap: fix select interface

2022-10-14 Thread Arshdeep Kaur
The change to do argument process before EAL init broke the support of select-interface option. Fix by setting flag and doing select-interface later. Fixes: cbb44143be74 ("app/dumpcap: add new packet capture application") Signed-off-by: Arshdeep Kaur --- app/dumpcap/main.c | 8 ++

[PATCH v2] dumpcap: fix select interface

2022-10-14 Thread Arshdeep Kaur
The change to do argument process before EAL init broke the support of select-interface option. Fix by setting flag and doing select-interface later. Fixes: a8dde09f97df ("app/dumpcap: allow help/version without primary process") Signed-off-by: Arshdeep Kaur --- app/dumpcap/

[PATCH v3] dumpcap: fix select interface

2022-10-17 Thread Arshdeep Kaur
Fixed compilation error. Fixes: a8dde09f97df ("app/dumpcap: allow help/version without primary process") Signed-off-by: Arshdeep Kaur --- app/dumpcap/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dumpcap/main.c b/app/dumpcap/main.c index 11a44ecce4..

[PATCH v4] dumpcap: fix select interface

2022-10-17 Thread Arshdeep Kaur
The change to do argument process before EAL init broke the support of select-interface option. Fix by setting flag and doing select-interface later. Fixes: a8dde09f97df ("app/dumpcap: allow help/version without primary process") Signed-off-by: Arshdeep Kaur --- app/dumpcap/

[PATCH v2] dumpcap: add the mutiprocess fileprefix support.

2022-09-12 Thread Arshdeep Kaur
New optional parameter "-m " added. It will update the mp_socket path for multiprocess communication. Default : '/var/run/dpdk/rte/mp_socket' Updated : '/var/run/dpdk//mp_socket' Note: Give -m as first argument. Signed-off-by: Arshdeep Kaur

[PATCH v2] dumpcap: fix interface parameter check.

2022-09-12 Thread Arshdeep Kaur
Fixes: cbb44143be74 ("app/dumpcap: add new packet capture application") Signed-off-by: Arshdeep Kaur --- app/dumpcap/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dumpcap/main.c b/app/dumpcap/main.c index a6041d4ff4..8972c45a71 100644 --- a/app/dump

[PATCH v3] dumpcap: fix interface parameter check.

2022-09-15 Thread Arshdeep Kaur
Correction in handling 'IF' condition for -i parameter. Fixes: cbb44143be74 ("app/dumpcap: add new packet capture application") Signed-off-by: Arshdeep Kaur --- app/dumpcap/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dumpcap/main.c b/app/