Skip to content

Commit 30909e8

Browse files
committed
ixgbe: Correct the PFVFRSSRK index range comment
PFVFRSSRK contains ten 32-bit RSS key words, numbered 0 through 9. The previous inclusive range incorrectly ended at 10. Sponsored by: BBOX.io (cherry picked from commit f177ff9)
1 parent 6550689 commit 30909e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sys/dev/ixgbe/ixgbe_type.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ struct ixgbe_nvm_version {
577577

578578
/* Registers for setting up RSS on X550 with SRIOV
579579
* _p - pool number (0..63)
580-
* _i - index (0..10 for PFVFRSSRK, 0..15 for PFVFRETA)
580+
* _i - index (0..9 for PFVFRSSRK, 0..15 for PFVFRETA)
581581
*/
582582
#define IXGBE_PFVFMRQC(_p) (0x03400 + ((_p) * 4))
583583
#define IXGBE_PFVFRSSRK(_i, _p) (0x018000 + ((_i) * 4) + ((_p) * 0x40))

0 commit comments

Comments
 (0)