Home
last modified time | relevance | path

Searched hist:"2091 c79ac4deb4f4dd6c5b223d50f4536e3265a2" (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ipa/
H A Dipa.hdiff 2091c79ac4deb4f4dd6c5b223d50f4536e3265a2 Sun May 22 02:32:19 CEST 2022 Alex Elder <elder@linaro.org> net: ipa: count the number of modem TX endpoints

In ipa_endpoint_modem_exception_reset_all(), a high estimate was
made of the number of endpoints that need their status register
updated. We only used what was needed, so the high estimate didn't
matter much.

However the next few patches are going to limit the number of
commands in a single transaction, and the overestimate would exceed
that. So count the number of modem TX endpoints at initialization
time, and use it in ipa_endpoint_modem_exception_reset_all().

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dipa_endpoint.cdiff 2091c79ac4deb4f4dd6c5b223d50f4536e3265a2 Sun May 22 02:32:19 CEST 2022 Alex Elder <elder@linaro.org> net: ipa: count the number of modem TX endpoints

In ipa_endpoint_modem_exception_reset_all(), a high estimate was
made of the number of endpoints that need their status register
updated. We only used what was needed, so the high estimate didn't
matter much.

However the next few patches are going to limit the number of
commands in a single transaction, and the overestimate would exceed
that. So count the number of modem TX endpoints at initialization
time, and use it in ipa_endpoint_modem_exception_reset_all().

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>