Skip to content

fix(igc): do not use num_cpu() when slecting the number of queues#695

Merged
ytakano merged 2 commits into
tier4:mainfrom
ytakano:igc_fix_select_num_queues
Jun 12, 2026
Merged

fix(igc): do not use num_cpu() when slecting the number of queues#695
ytakano merged 2 commits into
tier4:mainfrom
ytakano:igc_fix_select_num_queues

Conversation

@ytakano

@ytakano ytakano commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Description

num_cpu() is not available when initializing igc.
So, this PR removes num_cpu() usage in igc_select_num_queues().

Related links

How was this PR tested?

Tested on a physical machine.

Notes for reviewers

Signed-off-by: Yuuki Takano <ytakanoster@gmail.com>
@ytakano ytakano marked this pull request as ready for review June 12, 2026 00:58
@ytakano ytakano requested a review from atsushi421 June 12, 2026 00:58
Comment thread awkernel_drivers/src/pcie/intel/igc.rs
Signed-off-by: Yuuki Takano <ytakanoster@gmail.com>
@atsushi421 atsushi421 self-requested a review June 12, 2026 06:09
@ytakano ytakano merged commit fa9cd04 into tier4:main Jun 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants