Enable RX interrupts
Thomas Monjalon
thomas at monjalon.net
Sat Nov 6 16:12:22 CET 2021
01/11/2021 09:56, Jack Humphries:
> Hi Dmitry,
>
> Thanks for the quick response! Yes, I was calling rte_eth_dev_rx_intr_enable — I just tried re-arming interrupts before each call to epoll and my initial experiment shows that fixes the issue.
>
> You are right that l3fwd-power does the re-arming as well. If possible, it would be helpful to have a comment in that example code about the re-arming since the impression I got from quickly looking at the l3fwd-power code is that interrupts are turned off because the app wants to poll for a threshold of time before “giving up” and turning interrupts back on again. I’m happy to open a pull request to add this comment, too, if you prefer.
The best is to submit a patch on the mailing list, Cc'in the relevant maintainers.
Thanks
More information about the users
mailing list