aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorQing Huang <[email protected]>2018-07-23 14:15:08 -0700
committerJason Gunthorpe <[email protected]>2018-07-26 16:02:28 -0600
commit2577188edcf3e235b4f060a350fad84510eb7680 (patch)
treec99ad425f6b2c4c6fa54d9583728dd9c0b974a86 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent7cfcc71eb0e50f191983d714223c169c47437021 (diff)
IB/mlx5: avoid excessive warning msgs when creating VFs on 2nd port
When a CX5 device is configured in dual-port RoCE mode, after creating many VFs against port 1, creating the same number of VFs against port 2 will flood kernel/syslog with something like "mlx5_*:mlx5_ib_bind_slave_port:4266:(pid 5269): port 2 already affiliated." So basically, when traversing mlx5_ib_dev_list, mlx5_ib_add_slave_port() repeatedly attempts to bind the new mpi structure to every device on the list until it finds an unbound device. Change the log level from warn to dbg to avoid log flooding as the warning should be harmless. Signed-off-by: Qing Huang <[email protected]> Reviewed-by: Daniel Jurgens <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions