aboutsummaryrefslogtreecommitdiff
path: root/sys/libkern/(public-mirror)
diff options
context:
space:
mode:
authorKevin Bowling <kbowling@FreeBSD.org>2026-08-08 10:44:36 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2026-08-08 16:06:37 +0000
commit98fad621ed697586782e488afdc05252c060fec3 (patch)
tree8778c0adcef7221d207ac9685aa0ec557e0b485f /sys/libkern/(public-mirror)
parent0baf0fabdb5e60e917458f85706707ee92683080 (diff)
ixv: Negotiate VF queue-set limitsHEADmain
ixv uses one queue set on 82599 and X540 VFs and assumes two on X550-family VFs. The PF reports the queues assigned to each VF with GET_QUEUES after mailbox API 1.1 negotiation. Query the PF during attach. Bound symmetric iflib queue sets by the PF grant and available MSI-X data vectors. Retain one queue set per data vector: ixgbe VFs expose at most three vectors and one is reserved for the mailbox. The hardware permits each pool to use a subset of its RSS queues, so a two-queue ceiling is valid when the PF assigns four. This enables the second data vector on 82599 and X540 while avoiding an assumed second queue when an X550-family VF is granted only one. Keep the existing family limits if the mailbox is unavailable or the PF uses an older API. MFC after: 2 weeks
Diffstat (limited to 'sys/libkern/(public-mirror)')
0 files changed, 0 insertions, 0 deletions