>> static void complete_tx_only_all(void) >> { >> + u32 retries = 3; >> bool pending; >> int i; >> >> @@ -1421,7 +1422,8 @@ static void complete_tx_only_all(void) >> pending = !!xsks[i]->outstanding_tx; >> } >> } >> - } while (pending); >> + sleep(opt_interval); > >Why/how is this connected with the 'opt_interval' ? > >(Which is used by the pthtread 'poller' dumping stats) > The original thought was to use the poller interval since it is what user would experience from terminal. In next rev, I plan to make it configurable with second granularity as suggested by Song Liu. Thanks