OSDN Git Service

net/mlx5e: Add netdev support for VXLAN tunneling
[uclinux-h8/linux.git] / drivers / net / ethernet / mellanox / mlx5 / core / cmd.c
index 9ce87c6..97f5114 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013-2015, Mellanox Technologies. All rights reserved.
+ * Copyright (c) 2013-2016, Mellanox Technologies. All rights reserved.
  *
  * This software is available to you under a choice of one of two
  * licenses.  You may choose to be licensed under the terms of the GNU
@@ -566,6 +566,12 @@ const char *mlx5_command_str(int command)
        case MLX5_CMD_OP_QUERY_WOL_ROL:
                return "QUERY_WOL_ROL";
 
+       case MLX5_CMD_OP_ADD_VXLAN_UDP_DPORT:
+               return "ADD_VXLAN_UDP_DPORT";
+
+       case MLX5_CMD_OP_DELETE_VXLAN_UDP_DPORT:
+               return "DELETE_VXLAN_UDP_DPORT";
+
        default: return "unknown command opcode";
        }
 }