In reply to DefaultName:
It is hard to reproduce this without seeing more code. But a simple suggestion is it would be much more efficient to declare pkt as a queue and use pkt.push_back(vi.ixgpad.data);
In reply to DefaultName:
It is hard to reproduce this without seeing more code. But a simple suggestion is it would be much more efficient to declare pkt as a queue and use pkt.push_back(vi.ixgpad.data);