Page MenuHomeFreeBSD

ixl: verify flowid is valid before setting rsstype & flowid
ClosedPublic

Authored by gallatin on Jan 1 2026, 12:01 AM.
Tags
None
Referenced Files
F176073525: D54442.id168817.diff
Thu, Oct 15, 9:03 PM
Unknown Object (File)
Wed, Oct 14, 3:05 PM
Unknown Object (File)
Thu, Oct 1, 6:51 PM
Unknown Object (File)
Sep 14 2026, 1:43 PM
Unknown Object (File)
Sep 12 2026, 1:36 AM
Unknown Object (File)
Sep 10 2026, 4:29 PM
Unknown Object (File)
Sep 10 2026, 3:36 PM
Unknown Object (File)
Sep 5 2026, 8:02 PM
Subscribers

Details

Reviewers
erj
kgalazka
kbowling
adrian
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Commits
rGac1cd655f647: ixl: verify flowid is valid before setting rsstype & flowid
Summary

According to section 8.3.2.2.1 of the XL710 datasheet,
FLTSTAT indicates if RSS hashing was used (or flow director
or nothing) to arrive at the flowid it is reporting.
We need to check this before reporting the flowid and setting the
rss type. Not checking this allows invalid flowids (0s) to be
reported for some TCP traffic (it seems to mostly impact incoming
connections). This leads to the inp flowid being 0, and egress
traffic being unbalanced (going to tx queue 0, and NIC 0 of an
lacp bundle).

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable