Re: [PATCH v4 5/5] flow_dissector: Parse batman-adv unicast headers
From: Willem de Bruijn
Date: Thu Dec 21 2017 - 11:59:34 EST
On Thu, Dec 21, 2017 at 7:24 AM, Jiri Pirko <jiri@xxxxxxxxxxx> wrote:
> Thu, Dec 21, 2017 at 10:17:42AM CET, sven.eckelmann@xxxxxxxxxxxx wrote:
>>The batman-adv unicast packets contain a full layer 2 frame in encapsulated
>>form. The flow dissector must therefore be able to parse the batman-adv
>>unicast header to reach the layer 2+3 information.
>>
>> +--------------------+
>> | ip(v6)hdr |
>> +--------------------+
>> | inner ethhdr |
>> +--------------------+
>> | batadv unicast hdr |
>> +--------------------+
>> | outer ethhdr |
>> +--------------------+
>>
>>The obtained information from the upper layer can then be used by RPS to
>>schedule the processing on separate cores. This allows better distribution
>>of multiple flows from the same neighbor to different cores.
>>
>>Signed-off-by: Sven Eckelmann <sven.eckelmann@xxxxxxxxxxxx>
>
> Reviewed-by: Jiri Pirko <jiri@xxxxxxxxxxxx>
Acked-by: Willem de Bruijn <willemb@xxxxxxxxxx>