]> git.droids-corp.org - dpdk.git/commitdiff
net/sfc: improve unsupported flow pattern message
authorIvan Malov <ivan.malov@oktetlabs.ru>
Wed, 16 May 2018 13:24:03 +0000 (14:24 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 17 May 2018 17:06:29 +0000 (19:06 +0200)
Such a message could be generated by two places
in the code, and there is a difference in the
text albeit there is no difference in the meaning.
These two messages must be the same so that
automated error log comparison may be carried
out without confusion.

Fixes: a9825ccf5bb8 ("net/sfc: support flow API filters")
Cc: stable@dpdk.org
Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/sfc_flow.c

index e6b2ecff41bca1426c5581268d3714e12ed5e506..ddb97f1b089d5c7eb2bd788ed8b3364780e8be7a 100644 (file)
@@ -2046,7 +2046,7 @@ sfc_flow_spec_filters_complete(struct sfc_adapter *sa,
        if (min_multiplier == UINT_MAX) {
                rte_flow_error_set(error, ENOTSUP,
                                   RTE_FLOW_ERROR_TYPE_UNSPECIFIED, NULL,
-                                  "Flow rule pattern is not supported");
+                                  "The flow rule pattern is unsupported");
                return -rte_errno;
        }