]> git.itanic.dy.fi Git - linux-stable/commit
net: ipa: define all IPA status mask bits
authorAlex Elder <elder@linaro.org>
Wed, 25 Jan 2023 20:45:40 +0000 (14:45 -0600)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Jan 2023 11:16:29 +0000 (11:16 +0000)
commit8e71708bb25e8f8a33d1bc90e651d73988b15dde
tree10c03efea4023251cb31c1a3660fa8259439806b
parentb8dc7d0eea5a7709bb534f1b3ca70d2d7de0b42c
net: ipa: define all IPA status mask bits

There is a 16 bit status mask defined in the IPA packet status
structure, of which only one (TAG_VALID) is currently used.

Define all other IPA status mask values in an enumerated type whose
numeric values are bit mask values (in CPU byte order) in the status
mask.  Use the TAG_VALID value from that type rather than defining a
separate field mask.

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