diff options
author | Anup Patel <anup.patel@broadcom.com> | 2017-08-01 13:35:54 +0300 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2017-08-31 06:09:04 +0300 |
commit | 1da92afbbfcde9dcbbf85cc94ef506c986c7e4a1 (patch) | |
tree | 83081083df3c875c2298107978f2fc7e0c68594e /include/linux/bpf.h | |
parent | 1f7466c6b428fa52504e85c2df43aa8641f9294e (diff) | |
download | linux-1da92afbbfcde9dcbbf85cc94ef506c986c7e4a1.tar.xz |
mailbox: bcm-flexrm-mailbox: Use txdone_ack instead of txdone_poll
Currently, FlexRM driver uses txdone_poll method of Linux Mailbox
to model the send_data() callback. To achieve this, we have introduced
"last_pending_msg" pointer for each FlexRM ring which keeps track of
the message that did not fit in the FlexRM ring.
This patch updates FlexRM driver to use txdone_ack method instead of
txdone_poll method because txdone_poll is not efficient for FlexRM
and requires additional tracking in FlexRM driver.
Also, moving to txdone_ack method helps us remove "last_pending_msg"
pointer and last_tx_done() callback.
Signed-off-by: Anup Patel <anup.patel@broadcom.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'include/linux/bpf.h')
0 files changed, 0 insertions, 0 deletions