Page MenuHomeFreeBSD

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

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



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>
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

rS FreeBSD src repository - subversion
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Dec 10 2018, 9:36 AM
This revision was automatically updated to reflect the committed changes.