devtools: add cocci script to rename mbuf offload flags
authorOlivier Matz <olivier.matz@6wind.com>
Fri, 15 Oct 2021 19:24:07 +0000 (21:24 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Sun, 24 Oct 2021 11:37:02 +0000 (13:37 +0200)
commit735155ee3b7c126b14ac28c5667d5a2d811ddf4c
tree68c6dec8d50157daf0484ccd823d13ee1e2812e5
parent5b634932410ca41c2071a8d015180fd464df2fa5
devtools: add cocci script to rename mbuf offload flags

The mbuf offload flags do not match the DPDK namespace (they are not
prefixed by RTE_). This coccinelle script is used in the next commit to
do the replacement in the code.

A draft script was initially submitted [1] in commit d7595795b760 ("doc:
announce renaming of mbuf offload flags"), but dropped by mistake at
commit.

1: http://inbox.dpdk.org/dev/20210730155700.32574-1-olivier.matz@6wind.com

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
devtools/cocci/prefix_mbuf_offload_flags.cocci [new file with mode: 0644]