On Tue, Jun 4, 2019 at 11:29 AM David Marchand <[email protected]>
wrote:

> Following a rework of dpdk network structures names [1], update the
> concerned parts.
>
> Ran Olivier script:
> sh prefix-net-rte.sh $(find -name "*dpdk*.c")
> sh prefix-net-rte.sh $(find -name "*dpdk*.h")
> sh prefix-net-rte.sh $(find -name "*rte*.c")
> sh prefix-net-rte.sh $(find -name "*rte*.h")
>
> Plus an extra pass following further changes [2]:
> old=RTE_IPv4
> new=RTE_IPV4
> git grep -lw $old | xargs sed -i -e "s/\<$old\>/$new/g"
>
> old=RTE_ETHER_TYPE_IPv4
> new=RTE_ETHER_TYPE_IPV4
> git grep -lw $old | xargs sed -i -e "s/\<$old\>/$new/g"
>
> old=RTE_ETHER_TYPE_IPv6
> new=RTE_ETHER_TYPE_IPV6
> git grep -lw $old | xargs sed -i -e "s/\<$old\>/$new/g"
>
> 1: http://mails.dpdk.org/archives/dev/2019-May/132612.html
> 2: https://git.dpdk.org/dpdk/commit/?id=0c9da7555da8
>

Olivier noticed that I had used an early version of his patch.
The published one handles the update on RTE_IPv4.
I tried the last version which gives the same result anyway.
So the extra pass is unnecessary.

I can send a v2 to update the commitlog accordingly.


-- 
David Marchand
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to