Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | can: rx-offload: can_rx_offload_add_timestamp: remove duplicate semicolon at ↵ | Marc Kleine-Budde | 2018-01-05 | 1 | -1/+1 |
| | | | | | | | | | | return statement This patch removes the duplicate semicolon at the end of the return statement. Suggested-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> | ||||
* | can: rx-offload: Add support for timestamp based irq offloading | Marc Kleine-Budde | 2017-02-06 | 1 | -2/+135 |
| | | | | | | | | | | | | | | 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: Marc Kleine-Budde <mkl@pengutronix.de> | ||||
* | can: rx-offload: Add support for HW fifo based irq offloading | David Jander | 2017-02-06 | 1 | -0/+156 |
Some CAN controllers have a usable FIFO already but can still benefit from off-loading the CAN controller FIFO. The CAN frames of the FIFO are read and put into a skb queue during interrupt and then transmitted in a NAPI context. Signed-off-by: David Jander <david@protonic.nl> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> |