cocci: add cocci script to rename mbuf offload flags
authorOlivier Matz <olivier.matz@6wind.com>
Fri, 30 Jul 2021 14:45:48 +0000 (16:45 +0200)
committerOlivier Matz <olivier.matz@6wind.com>
Fri, 24 Sep 2021 12:17:51 +0000 (14:17 +0200)
commitc683336781deba5a80fcc229e261fba2f2de46be
tree029066e5bac6115007cbf793583f5104735231a9
parentdad3fd5fd4acc96ca7834e340b4b6ba032ed6547
cocci: 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.

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

Link: 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]