[dpdk-dev] [PATCH v2 0/6] Support configuring hash functions

Zhan, Zhaochen zhaochen.zhan at intel.com
Thu Jul 31 04:49:02 CEST 2014


 
> These pathches mainly support configuring hash functions.
> In detail,
>  - It can select Toeplitz or simple XOR hash functions.
>  - It can configure symmetric hash functions.
>    * Get/set symmetric hash enable per port.
>    * Get/set symmetric hash enable per 'PCTYPE'.
>    * Get/set filter swap configurations.
>  - 'ethdev' level interfaces are added.
>    * 'is_command_supported', to check if a feature (command)
>      is supported on a port.
>    * 'rx_classification_filter_ctl', a common API to execute
>      specific command of each feature.
>  - Seven commands are implemented in testpmd to support
>    testing above.
> Note that 'PCTYPE' means 'Packet Classification Type'.
> 
> Helin Zhang (6):
>   ethdev: rename macros of packet classification type
>   ethdev: add new ops of 'is_command_supported' and
>     'rx_classification_filter_ctl'
>   i40e: support of 'rx_classification_filter_ctl'
>   i40e: support of 'is_command_supported'
>   i40e: Initialize hash function during port initialization.
>   app/testpmd: add commands for configuring hash functions

Tested-by: Zhaochen Zhan <zhaochen.zhan at intel.com>

I have tested this patch on fedora20 with Fortville NIC.
The hash function toeplitz/simple XOR/ symmetric all works well
for ip/udp both ipv4 and ipv6 packets in testpmd support RSS.


More information about the dev mailing list