]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: disable HOLB drop when updating timer
authorAlex Elder <elder@linaro.org>
Fri, 12 Nov 2021 22:22:10 +0000 (16:22 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Nov 2021 13:25:45 +0000 (13:25 +0000)
commita52e99bedac9334d795ea86be45b64d4c81a6cb0
tree2fbef5cfefd22e645204e2d77eb39a54a46d7f0b
parent6308023f14a5747dbf63d289ab0fd80953bd44d6
net: ipa: disable HOLB drop when updating timer

The head-of-line blocking timer should only be modified when
head-of-line drop is disabled.

One of the steps in recovering from a modem crash is to enable
dropping of packets with timeout of 0 (immediate).  We don't know
how the modem configured its endpoints, so before we program the
timer, we need to ensure HOL_BLOCK is disabled.

Fixes: e66f933cb5e18 ("soc: qcom: ipa: IPA endpoints")
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_endpoint.c