]> git.itanic.dy.fi Git - linux-stable/commit
net: ipa: extend endpoints in packet init command
authorAlex Elder <elder@linaro.org>
Mon, 30 Jan 2023 21:01:52 +0000 (15:01 -0600)
committerJakub Kicinski <kuba@kernel.org>
Wed, 1 Feb 2023 05:45:51 +0000 (21:45 -0800)
commitc84ddc119704bbd1fd7a5b1cdce3146c5840f07d
treeca1a5fc722c1cf371abbad717684946f9fb1a957
parent07abde549bc1204685b0aec29acc8c75b18ac1f5
net: ipa: extend endpoints in packet init command

The IP_PACKET_INIT immediate command defines the destination
endpoint to which a packet should be sent.  Prior to IPA v5.0, a
5 bit field in that command represents the endpoint, but starting
with IPA v5.0, the field is extended to 8 bits to support more than
32 endpoints.

Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/ipa_cmd.c