On 15 Jul 2022, at 13:39, Stokes, Ian wrote:

>> This patchset introduces actions infrastructure changes which allows
>> the user to choose between different action implementations based on
>> CPU ISA by using different commands.  The infrastructure also
>> provides a way to check the correctness of the ISA optimized action
>> version against the scalar version.
>> This series also introduces optimized versions of the following
>> actions:
>>  - push_vlan
>>  - pop_vlan
>>  - set_masked eth
>>  - set_masked ipv4
>> Below is a table indicating some relative performance benefits for
>> these actions.
>> +-----------------------------------------------+-------------------+-----------------+
>> | Actions                                       | Scalar with series|AVX 
>> with series |
>> +-----------------------------------------------+-------------------+-----------------+
>> | mod_dl_dst                                    | 1.01x             |1.13x   
>>         |
>> +-----------------------------------------------+-------------------+-----------------+
>> | push_vlan                                     | 1.01x             |1.10x   
>>         |
>> +-----------------------------------------------+-------------------+-----------------+
>> | strip_vlan                                    | 1.01x             |1.11x   
>>         |
>> +-----------------------------------------------+-------------------+-----------------+
>> | mod_ipv4 1 x field                            | 1.01x             |1.02x   
>>         |
>> +-----------------------------------------------+-------------------+-----------------+
>> | mod_ipv4 4 x fields                           | 1.01x             |1.21x   
>>         |
>> +-----------------------------------------------+-------------------+-----------------+
>> | strip_vlan + mod_dl_dst + mod_ipv4 4 x fields | 1.01x             |1.36x
>> |
>> +-----------------------------------------------+-------------------+-----------------+
>>
>
> Thanks all for the work/reviews on this,  given that it has been under 
> discussion prior to the soft freeze I have merged this to master.

Thanks, still would like some answers on the performance numbers.

//Eelco

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to