diff options
author | Edward Cree <ecree.xilinx@gmail.com> | 2022-11-03 15:27:27 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-11-04 19:54:23 -0700 |
commit | f0b59ad11e29fa45beab7a14370f530f90aa764c (patch) | |
tree | e43dde7fd499ca2c5652a7c17ac3d912d9c98a60 /drivers/ssb/driver_chipcommon_sflash.c | |
parent | 8e0aa1ff44ca30b0b9df95dfa72003522d9a088d (diff) |
sfc: check recirc_id match caps before MAE offload
Offloaded TC rules always match on recirc_id in the MAE, so we should
check that the MAE reported support for this match before attempting
to insert the rule.
These checks allow us to fail early, avoiding the PCIe round-trip to
firmware for an MC_CMD_MAE_ACTION_RULE_INSERT that will only fail,
and more importantly providing a more informative error message that
identifies which match field is unsupported.
Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/ssb/driver_chipcommon_sflash.c')
0 files changed, 0 insertions, 0 deletions