net/mlx5: cmdif, Add new api for command execution
[sfrench/cifs-2.6.git] / include / linux / mlx5 / driver.h
index 8a8408708e6c6f9d1ab453d7afece4b678db3a7f..1b9bec8fa870656487db2d9a3636eac55c4f717f 100644 (file)
@@ -964,6 +964,8 @@ int mlx5_cmd_exec_cb(struct mlx5_async_ctx *ctx, void *in, int in_size,
                     void *out, int out_size, mlx5_async_cbk_t callback,
                     struct mlx5_async_work *work);
 
+int mlx5_cmd_do(struct mlx5_core_dev *dev, void *in, int in_size, void *out, int out_size);
+int mlx5_cmd_check(struct mlx5_core_dev *dev, int err, void *in, void *out);
 int mlx5_cmd_exec(struct mlx5_core_dev *dev, void *in, int in_size, void *out,
                  int out_size);