]> git.droids-corp.org - dpdk.git/commit
devtools/cocci: add script for ethdev namespace change
authorAman Singh <aman.deep.singh@intel.com>
Tue, 23 Nov 2021 08:47:19 +0000 (14:17 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 26 Nov 2021 17:01:11 +0000 (18:01 +0100)
commit4dcfb00ce5b7aa4a455dbc353473dd8153e69492
treef367ef2bcaa81a72710dd529b504ac3e04d20830
parentbcafd1733e90be8bbe591f744dd9cacfed1e82f8
devtools/cocci: add script for ethdev namespace change

The cocci script is to help add prefix 'RTE_ETH' namespace to enum
& macro of ethdev library. It helps in automating these changes for
applications. The script won't make changes in the code comment part.
Usage: spatch <script path> <app path>

Signed-off-by: Aman Singh <aman.deep.singh@intel.com>
Tested-by: Ferruh Yigit <ferruh.yigit@intel.com>
devtools/cocci/namespace_ethdev.cocci [new file with mode: 0644]