On Sun, 22 May 2022 08:58:56 +0300 Spike Du <spi...@nvidia.com> wrote:
> LWM(limit watermark) describes the fullness of a Rx queue. If the Rx > queue fullness is above LWM, the device will trigger the event > RTE_ETH_EVENT_RX_LWM. > LWM is defined as a percentage of Rx queue size with valid value of > [0,99]. > Setting LWM to 0 means disable it, which is the default. > When translate the percentage to queue descriptor number, the numbe > should be bigger than 0 and less than queue size. > Add LWM's configuration and query driver callbacks in eth_dev_ops. > > Signed-off-by: Spike Du <spi...@nvidia.com> One other objection, please don't invent yet another event channel for this. It should be part of existing Rx interrupt logic.