FYI.
From: anthony.l.nguyen@intel.com [mailto:anthony.l.nguyen@intel.com] Sent: Wednesday, April 14, 2021 10:28 PM To: Salil Mehta salil.mehta@huawei.com Subject: Patch "ice: Re-organizes reqstd/avail {R,T}XQ check/code for efficiency+readability" has been added to net-queue tree
This is a note to let you know that I applied the following patch to the dev-queue branch on the net-queue tree.
http://patchwork.ozlabs.org/patch/1465962/
From 2c58268dac5bd0dbfe46614febd22b757e29582c Mon Sep 17 00:00:00 2001 From: Salil Mehta salil.mehta@huawei.com Date: Wed, 14 Apr 2021 12:01:49 -0700 Subject: [PATCH] ice: Re-organizes reqstd/avail {R,T}XQ check/code for efficiency+readability
If user has explicitly requested the number of {R,T}XQs, then it is unnecessary to get the count of already available {R,T}XQs from the PF avail_{r,t}xqs bitmap. This value will get overridden by user specified value in any case.
This patch does minor re-organization of the code for improving the flow and readabiltiy. This scope of improvement was found during the review of the ICE driver code.
FYI, I could not test this change due to unavailability of the hardware. It would be helpful if somebody can test this patch and provide Tested-by Tag. Many thanks!
Fixes: 87324e747fde ("ice: Implement ethtool ops for channels") Cc: intel-wired-lan@lists.osuosl.org Cc: Jeff Kirsher jeffrey.t.kirsher@intel.com Signed-off-by: Salil Mehta salil.mehta@huawei.com
checkpatch.pl reports:
total: 0 errors, 0 warnings, 0 checks, 32 lines checked
.apply/V2-net-ice-Re-organizes-reqstd-avail-R-T-XQ-check-code-for-efficienc y-readability.patch has no obvious style problems and is ready for submission.