Page MenuHomeFreeBSD

Improved logging of gtaskqueue failues
ClosedPublic

Authored by shurd on Sep 21 2017, 6:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 31 2024, 3:49 AM
Unknown Object (File)
Jan 19 2024, 4:56 PM
Unknown Object (File)
Dec 20 2023, 3:31 AM
Unknown Object (File)
Dec 12 2023, 6:22 PM
Unknown Object (File)
Dec 1 2023, 3:27 AM
Unknown Object (File)
Nov 25 2023, 3:29 AM
Unknown Object (File)
Oct 6 2023, 6:39 PM
Unknown Object (File)
Oct 5 2023, 5:54 PM

Details

Summary

Check the return code of intr_setaffinity() and log any errors
it returns. When a qid is not located, log an error before returning
failure.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 11660
Build 12006: arc lint + arc unit

Event Timeline

sbruno requested changes to this revision.Sep 21 2017, 7:51 PM
sbruno added inline comments.
sys/kern/subr_gtaskqueue.c
793

pedantic nit. Do you want to explicitly put the function name in the printf() calls here or should we use func ?

Basically, all these printf() calls should be one way or the other.

This revision now requires changes to proceed.Sep 21 2017, 7:51 PM

Use func for all messages

This revision is now accepted and ready to land.Sep 21 2017, 9:00 PM
This revision was automatically updated to reflect the committed changes.

Hi Stephen,

Just wanted to mention that this patch is causing warning messages with bnxt driver during load.
If there is any thing missing in bnxt driver, we will implement. kindly let me know.

bnxt0: using 12 rx queues 12 tx queues
bnxt0: Using MSIX interrupts with 13 vectors
taskqgroup_attach_cpu: setaffinity failed: 3
taskqgroup_attach_cpu: setaffinity failed: 3
taskqgroup_attach_cpu: setaffinity failed: 3
taskqgroup_attach_cpu: setaffinity failed: 3
taskqgroup_attach_cpu: setaffinity failed: 3
taskqgroup_attach_cpu: setaffinity failed: 3
taskqgroup_attach_cpu: setaffinity failed: 3
taskqgroup_attach_cpu: setaffinity failed: 3
taskqgroup_attach: setaffinity failed: 3
taskqgroup_attach: setaffinity failed: 3
taskqgroup_attach: setaffinity failed: 3
taskqgroup_attach: setaffinity failed: 3
taskqgroup_attach: setaffinity failed: 3
taskqgroup_attach: setaffinity failed: 3
taskqgroup_attach: setaffinity failed: 3
taskqgroup_attach: setaffinity failed: 3
bnxt0: Ethernet address: 00:0a:f7:c4:b2:c0

Thanks,
Chenna.

Hi Stephen,

Just wanted to mention that this patch is causing warning messages with bnxt driver during load.
If there is any thing missing in bnxt driver, we will implement. kindly let me know.

bnxt0: using 12 rx queues 12 tx queues
bnxt0: Using MSIX interrupts with 13 vectors
taskqgroup_attach_cpu: setaffinity failed: 3
...
taskqgroup_attach: setaffinity failed: 3
...
bnxt0: Ethernet address: 00:0a:f7:c4:b2:c0

I should have a patch that fixes these issues today or tomorrow. It appears the rid parameter does not actually expect an rid.

Thanks for the heads-up.