]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xen/netfront: Comment Correction: Fix Spelling Error and Description of Queue Quantit...
authorChu Guangqing <chuguangqing@inspur.com>
Mon, 3 Nov 2025 03:22:12 +0000 (11:22 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 5 Nov 2025 01:01:01 +0000 (17:01 -0800)
commit52665fcc2241f8f9a17543d9a6531b1a1b029bde
treeb66357bb2d62ef045722b0faa3a5bf0959e8fe6d
parent96c68954cd3b65f321d40b9078cdb49a26bdaf9a
xen/netfront: Comment Correction: Fix Spelling Error and Description of Queue Quantity Rules

The original comments contained spelling errors and incomplete logical
descriptions, which could easily lead to misunderstandings of the code
logic. The specific modifications are as follows:

Correct the spelling error by changing "inut max" to "but not exceed the
maximum limit";

Add the note "If the user has not specified a value, the default maximum
limit is 8" to clarify the default value logic;

Improve the coherence of the statement to make the queue quantity rules
clearer.

After the modification, the comments can accurately reflect the code
behavior of "taking the smaller value between the number of CPUs and the
default maximum limit of 8 for the number of queues", enhancing code
maintainability.

Signed-off-by: Chu Guangqing <chuguangqing@inspur.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://patch.msgid.link/20251103032212.2462-1-chuguangqing@inspur.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/xen-netfront.c