These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / net / ethernet / mellanox / mlx5 / core / mcg.c
index d79fd85..d5a0c2d 100644 (file)
@@ -91,7 +91,7 @@ int mlx5_core_detach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn)
 
        memset(&in, 0, sizeof(in));
        memset(&out, 0, sizeof(out));
-       in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DETACH_FROM_MCG);
+       in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DETTACH_FROM_MCG);
        memcpy(in.gid, mgid, sizeof(*mgid));
        in.qpn = cpu_to_be32(qpn);
        err = mlx5_cmd_exec(dev, &in, sizeof(in), &out, sizeof(out));