]> git.droids-corp.org - dpdk.git/blobdiff - drivers/common/sfc_efx/base/efx.h
common/sfc_efx/base: fix MAE match spec class comparison API
[dpdk.git] / drivers / common / sfc_efx / base / efx.h
index 3b40e28b4e48432d67a6e1860783c53800a69d52..ccf9c7ab8a084d95e66fdb768dd5eb4dd789d483 100644 (file)
@@ -4283,6 +4283,11 @@ efx_mae_action_set_specs_equal(
  * Conduct a comparison to check whether two match specifications
  * of equal rule type (action / outer) and priority would map to
  * the very same rule class from the firmware's standpoint.
+ *
+ * For match specification fields that are not supported by firmware,
+ * the rule class only matches if the mask/value pairs for that field
+ * are equal. Clients should use efx_mae_match_spec_is_valid() before
+ * calling this API to detect usage of unsupported fields.
  */
 LIBEFX_API
 extern __checkReturn                   efx_rc_t