On 30/10/2024 17:08, Nicholas Pratte wrote: > There exists a bug within i40e NICs in which the async sniffer does not > catch send packets as a result of the callback function sending packets > too quickly before the NICs are ready to start capturing. > > There could be a multitude of reasons why this happens on these NICs, but > for the time being, inserting a one second delay in the callback function > will suffice.
I can confirm the issue exists but we should explore a more definitive solution than adding a wait. Ideally instead of relying on the callback to send packets we should verify readines elsewhere in our sniffer and send packets when ready in our framework and not as part of the scapy sniffer constructor.