[PATCH v2] devtools/cocci: update cocci for ethdev namespace

Singh, Aman Deep aman.deep.singh at intel.com
Fri Feb 4 07:13:40 CET 2022


Hi Thomas

On 2/3/2022 2:31 AM, Thomas Monjalon wrote:
> 23/01/2022 18:20, Aman Singh:
>> Added two specific exceptions for ETH_SPEED_10G
>> and ETH_SPEED_25G to avoid there name change.
>> Added check for ETH_TUNNEL_FILTER and ETH_RSS_RETA
> Please could you explain why?
These two macro's ETH_SPEED_10G & ETH_SPEED_25G are used by ifpga
driver and script should no change these.
There are multiple ETH_SPEED_NUM_xxx macro that need to be changed
to RTE_ETH_SPEED_NUM_xxx. So added above two as specific exceptions.


The other two patterns ETH_TUNNEL_FILTER & ETH_RSS_RETA were missed before.
The script should change these to RTE_ETH_TUNNEL_FILTER & RTE_ETH_RSS_RETA
>
>


More information about the dev mailing list