• M
    can: rx-offload: Add support for timestamp based irq offloading · 3abbac0b
    Marc Kleine-Budde 提交于
    Some CAN controllers don't implement a FIFO in hardware, but fill their
    mailboxes in a particular order (from lowest to highest or highest to lowest).
    This makes problems to read the frames in the correct order from the hardware,
    as new frames might be filled into just read (low) mailboxes. This gets worse,
    when following new frames are received into not read (higher) mailboxes.
    
    On the bright side some these CAN controllers put a timestamp on each received
    CAN frame. This patch adds support to offload CAN frames in interrupt context,
    order them by timestamp and then transmitted in a NAPI context.
    Signed-off-by: NMarc Kleine-Budde <mkl@pengutronix.de>
    3abbac0b
rx-offload.c 7.4 KB