Blame SOURCES/9006-Provide-DEVLINK_PORT_FLAVOUR_VIRTUAL-stub-value.patch

d8f823
Index: src/drivers/net/ethernet/mellanox/mlx5/core/backport_compat.h
d8f823
===================================================================
d8f823
--- src.orig/drivers/net/ethernet/mellanox/mlx5/core/backport_compat.h	2020-07-15 10:38:30.270947813 +0200
d8f823
+++ src/drivers/net/ethernet/mellanox/mlx5/core/backport_compat.h	2020-07-15 10:38:30.289947822 +0200
d8f823
@@ -14,4 +14,7 @@
d8f823
         return address + offset;
d8f823
 }
d8f823
 
d8f823
+
d8f823
+#define DEVLINK_PORT_FLAVOUR_VIRTUAL DEVLINK_PORT_FLAVOUR_PHYSICAL
d8f823
+
d8f823
 #endif
d8f823
Index: src/drivers/net/ethernet/mellanox/mlx5/core/en/devlink.c
d8f823
===================================================================
d8f823
--- src.orig/drivers/net/ethernet/mellanox/mlx5/core/en/devlink.c	2020-07-15 10:38:29.905947639 +0200
d8f823
+++ src/drivers/net/ethernet/mellanox/mlx5/core/en/devlink.c	2020-07-15 10:38:30.290947823 +0200
d8f823
@@ -2,6 +2,7 @@
d8f823
 /* Copyright (c) 2020, Mellanox Technologies inc.  All rights reserved. */
d8f823
 
d8f823
 #include "en/devlink.h"
d8f823
+#include "../backport_compat.h"
d8f823
 
d8f823
 int mlx5e_devlink_port_register(struct mlx5e_priv *priv)
d8f823
 {