common/sfc_efx/base: add missing handler for 1-byte fields
authorIvan Malov <ivan.malov@oktetlabs.ru>
Thu, 17 Feb 2022 22:25:08 +0000 (01:25 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Feb 2022 15:22:25 +0000 (16:22 +0100)
commita3b2ade480f659f580aa7095e7f8d0d5810236ea
tree4d0f511645aa1805ebe605f2edd9ee683e79030d
parentb4dd34c7f751a516b08139784b9ef8ece04fc659
common/sfc_efx/base: add missing handler for 1-byte fields

One may set RECIRC_ID in a MAE action rule specification.
This field is not a network one, and its handling goes
to the code snippet which does not recognise field
sizes other than 4 bytes. Add the missing handler.

Fixes: 3a73dcfdb255 ("common/sfc_efx/base: match on recirc ID in action rules")
Cc: stable@dpdk.org
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: Andy Moreton <amoreton@xilinx.com>
drivers/common/sfc_efx/base/efx_mae.c