Sunday, February 7, 2021

Messages 'Current vnic speed set to: xxxxx' written to syslog every couple seconds

 Problem:

Feb  7 16:16:09 jiangnan kernel: [31322554.355902] scsi host0: Current vnic speed set to :  20000

Cause:

Port speed printing was added by commit d948e6383ec3 ("scsi: fnic:
Add port speed stat to fnic debug stats"). As currently configured,
this will cause the port speed to be printed to syslog every
2 seconds. To prevent log spamming, only print the vnic port speed
at driver initialization and if the speed changes. Also clean up a
small typo in fnic_trace.c.

Solution:

2 comments: