summaryrefslogtreecommitdiff
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorJedrzej Jagielski <jedrzej.jagielski@intel.com>2021-12-17 14:29:05 +0000
committerTony Nguyen <anthony.l.nguyen@intel.com>2022-01-04 14:12:18 -0800
commite738451d78b2f8a9635d66c6a87f304b4d965f7a (patch)
tree7c410d7589d39cc857c3e2af22964ca90ae6a519 /block/blk-core.c
parent40feded8a247f95957a0de9abd100085fb320a2f (diff)
i40e: Fix incorrect netdev's real number of RX/TX queues
There was a wrong queues representation in sysfs during driver's reinitialization in case of online cpus number is less than combined queues. It was caused by stopped NetworkManager, which is responsible for calling vsi_open function during driver's initialization. In specific situation (ex. 12 cpus online) there were 16 queues in /sys/class/net/<iface>/queues. In case of modifying queues with value higher, than number of online cpus, then it caused write errors and other errors. Add updating of sysfs's queues representation during driver initialization. Fixes: 41c445ff0f48 ("i40e: main driver core") Signed-off-by: Lukasz Cieplicki <lukaszx.cieplicki@intel.com> Signed-off-by: Jedrzej Jagielski <jedrzej.jagielski@intel.com> Tested-by: Gurucharan G <gurucharanx.g@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions