Re: Receive Side Coalescing(RSC) and LRO

From: Hans Petter Selasky <hps_at_selasky.org>
Date: Tue, 08 Feb 2022 17:06:20 UTC
On 2/8/22 16:32, Wei Hu wrote:
> Hi,
> 
> I am trying to find the term that FreeBSD uses for the network offloading feature like RSC. RSC is Microsoft's term which is essentially the same as LRO 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 which 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 hardware 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 leave software LRO untouched on FreeBSD. What is the proper way to differentiate these two on FreeBSD?
> 
> Thanks,
> Wei
> 

Adding:

RSS assisted sorted LRO

New child needs new name?

--HPS