-
rtdm_nrtsig_pend() is based on ipipe_post_root_work(), which keeps a copy of every request descriptor internally until it is consumed by the secondary mode handler. Triggering rtdm_nrtsig_pend() every time a packet is relayed from the stack to the VNIC may cause such request buffer to overflow under pressure. To address this issue, trigger the non-rt signal only when the RX queue transitions from empty to non-empty state as a result of enqueuing the next skb. Signed-off-by: Philippe Gerum <rpm@xenomai.org> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
5d33c049