[dpdk-dev] [PATCH v5] Make pdump exits with primary.

Suanming.Mou mousuanming at huawei.com
Tue Apr 30 13:35:23 CEST 2019


When primary exits, pdump as the sencondary keeps running will make
primary fail to restart. Add the primary monitor in pdump to make it
eixts with primary.

Note:
One more thing still not confirmed is that if it can be set default.
In the V5 patch, it is still set as default. Since it seems there is
no disadvantages to make it exit with primary as default as Anatoly
suggested. But the exit_with_primary configuration is needed, there
will be a v6 patch and the doc update.

Change in v5:
  - add rte_eal_alarm_cancel
  - make the primary monitor enable/disable more indepence.

Change in v4:
  - remove the exit_with_primary option as Anatoly suggested.
  - fix typo.

Change in v3:
  - remove the redundant return.

Change in v2:
  - add exit_with_primary option.
  - use rte_eal_alarm_set to monitor the primary.

Suanming.Mou (1):
  app/pdump: add pudmp exits with primary support.

 app/pdump/main.c | 43 ++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 42 insertions(+), 1 deletion(-)

-- 
1.8.3.4



More information about the dev mailing list