common/sfc_efx/base: simplify requesting Rx prefix fields
authorAndrew Rybchenko <arybchenko@solarflare.com>
Tue, 13 Oct 2020 13:45:44 +0000 (14:45 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 16 Oct 2020 17:48:18 +0000 (19:48 +0200)
commitf21c6e7f81f391318de2289916072cbb251d59b5
treea1f056bdb89d0ac0a1c7d27a511048b8fc610b8f
parent9e6e7f479ae9bc2c6ceab881d3c28ffaf576249e
common/sfc_efx/base: simplify requesting Rx prefix fields

Introduce an extra variable with required Rx prefix fields mask
to make it easier to request more fields.

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andy Moreton <amoreton@xilinx.com>
drivers/common/sfc_efx/base/rhead_rx.c