Page MenuHomeFreeBSD

sfxge(4): use n Tx queues instead of n + 2 on EF10 HW
ClosedPublic

Authored by arybchik on Fri, Nov 30, 9:04 AM.

Details

Summary

On EF10 HW we can avoid sending packets without checksum offload
or with IP-only checksum offload to dedicated queues. Instead, we
can use option descriptors to change offload policy on any queue
during runtime. Thus, we don't need to create two dedicated queues.

Submitted by: Ivan Malov <Ivan.Malov at oktetlabs.ru>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week

Test Plan

amd64 tinderbox kernel builds tested
driver loaded/unloaded, interfaces up/down, traffic works fine
TCP traffic w/o checksum offload is distributed using RSS

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

arybchik created this revision.Fri, Nov 30, 9:04 AM
This revision was not accepted when it landed; it landed in state Needs Review.Mon, Dec 10, 9:36 AM
This revision was automatically updated to reflect the committed changes.