Home
last modified time | relevance | path

Searched hist:e6aab6b9b60050d4f635011213d488ee16e8234c (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/ipa/
H A Dipa_endpoint.cdiff e6aab6b9b60050d4f635011213d488ee16e8234c Wed Nov 24 21:25:07 CET 2021 Alex Elder <elder@linaro.org> net: ipa: rework how HOL_BLOCK handling is specified

The head-of-line block (HOLB) drop timer is only meaningful when
dropping packets due to blocking is enabled. Given that, redefine
the interface so the timer is specified when enabling HOLB drop, and
use a different function when disabling.

To enable and disable HOLB drop, these functions will now be used:
ipa_endpoint_init_hol_block_enable(endpoint, milliseconds)
ipa_endpoint_init_hol_block_disable(endpoint)

The existing ipa_endpoint_init_hol_block_enable() becomes a helper
function, renamed ipa_endpoint_init_hol_block_en(), and used with
ipa_endpoint_init_hol_block_timer() to enable HOLB block on an
endpoint.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>