Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Feb 2022 15:32:15 +0000
From:      Wei Hu <weh@microsoft.com>
To:        "freebsd-hackers@FreeBSD.org" <freebsd-hackers@freebsd.org>
Cc:        "freebsd-net@FreeBSD.org" <freebsd-net@freebsd.org>
Subject:   Receive Side Coalescing(RSC) and LRO
Message-ID:  <SI2P153MB04413AE98888DB3792CB794CBB2D9@SI2P153MB0441.APCP153.PROD.OUTLOOK.COM>

next in thread | raw e-mail | index | archive | help
Hi,

I am trying to find the term that FreeBSD uses for the network offloading f=
eature like RSC. RSC is Microsoft's term which is essentially the same as L=
RO in Linux, in which the packet aggregation happens on the hardware NIC.

The LRO on FreeBSD seems different. It looks to be the GRO in Linux, in whi=
ch the packet aggregation happens in software above the NIC driver.  There =
is a feature bit IFCAP_LRO in net/if.h.

So, is there a different feature bit on FreeBSD which means only for the ha=
rdware RSC/LRO? Or does the IFCAP_LRO mean both hardware and software LRO? =
What I want to achieve is to let user disable the hardware RSC/LRO and leav=
e software LRO untouched on FreeBSD. What is the proper way to differentiat=
e these two on FreeBSD?

Thanks,
Wei=20



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SI2P153MB04413AE98888DB3792CB794CBB2D9>