[ovs-dev] [PATCH] datapath: Use per-cpu allocator for sctp flow-stats.

Joe Stringer joestringer at nicira.com
Fri Jan 3 20:39:50 UTC 2014


I see. Thanks for the explanation.

On 3 January 2014 12:36, Jesse Gross <jesse at nicira.com> wrote:
> On Fri, Jan 3, 2014 at 2:43 PM, Joe Stringer <joestringer at nicira.com> wrote:
>> This patch adds the logic used for TCP and UDP in b0f3a2feef
>> (datapath: Use percpu allocator for flow-stats.) to SCTP. This should
>> help to detect longer-lived flows that match on SCTP, for use with the
>> per-cpu allocator for flow-stats.
>>
>> Signed-off-by: Joe Stringer <joestringer at nicira.com>
>> ---
>> Pravin, I noticed that this code was added to TCP and UDP, and am
>> guessing that it's just as relevant to SCTP. If this doesn't make sense,
>> feel free to drop it.
>
> It wasn't an omission or at least not an accidental one. Not that many
> NICs recognize SCTP for the purposes of hashing on the L4 ports, which
> is the reason why packets would land on different CPUs. This is just a
> heuristic so it's not always right but that was the rationale.



More information about the dev mailing list