[PATCH v3 1/9] net/gve: introduce GVE PMD base code

Stephen Hemminger stephen at networkplumber.org
Fri Sep 23 20:57:31 CEST 2022


On Fri, 23 Sep 2022 17:38:21 +0800
Junfeng Guo <junfeng.guo at intel.com> wrote:

> +#define GVE_DEVICE_OPTION_TOO_BIG_FMT "Length of %s option larger than expected. Possible older version of guest driver."

Why do you need #define for this?

+#define GVE_DEVICE_OPTION_ERROR_FMT "%s option error:\n" \
+"Expected: length=%d, feature_mask=%x.\n" \
+"Actual: length=%d, feature_mask=%x."
+

Why such a wordy multi-line message, please use single line


More information about the dev mailing list