net/mlx4_core: Change the error print to info print
authorYunjian Wang <wangyunjian@huawei.com>
Tue, 14 May 2019 11:03:19 +0000 (19:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 May 2019 22:38:59 +0000 (15:38 -0700)
The error print within mlx4_flow_steer_promisc_add() should
be a info print.

Fixes: 592e49dda812 ('net/mlx4: Implement promiscuous mode with device managed flow-steering')
Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/mcg.c

index ffed2d4c9403022df2f73859e33fa5f2158fe4f2..9c481823b3e86f052e09dcb6da5d51ede00131aa 100644 (file)
@@ -1492,7 +1492,7 @@ int mlx4_flow_steer_promisc_add(struct mlx4_dev *dev, u8 port,
        rule.port = port;
        rule.qpn = qpn;
        INIT_LIST_HEAD(&rule.list);
-       mlx4_err(dev, "going promisc on %x\n", port);
+       mlx4_info(dev, "going promisc on %x\n", port);
 
        return  mlx4_flow_attach(dev, &rule, regid_p);
 }