> -----Original Message-----
> From: Eli Britstein <[email protected]>
> Sent: Sunday, July 11, 2021 6:15 AM
> To: [email protected]; Ilya Maximets <[email protected]>; Van Haaren,
> Harry <[email protected]>
> Cc: Gaetan Rivet <[email protected]>; Majd Dibbiny <[email protected]>; Eli
> Britstein <[email protected]>
> Subject: [PATCH 2/2] netdev-offload-dpdk: Fix vxlan vni cast-align warnings
> 
> Compiling with -Werror and -Wcast-align has errors like:
> 
> lib/netdev-offload-dpdk.c: In function 'dump_flow_pattern':
> lib/netdev-offload-dpdk.c:385:38: error: cast increases required alignment
>     of target type [-Werror=cast-align]
>   385 |    ntohl(*(ovs_be32 *) vxlan_spec->vni) >> 8,
>       |           ^
> 
> Fix them.
> 
> Reported-by: Harry Van Haaren <[email protected]>
> Fixes: 4e432d6f8128 ("netdev-offload-dpdk: Support tnl/push using vxlan encap
> attribute.")
> Fixes: e098c2f966cb ("netdev-dpdk-offload: Add vxlan pattern matching 
> function.")
> Signed-off-by: Eli Britstein <[email protected]>

Thanks Eli, tested compilation, and the cast-align issue is resolved for master 
branch with
these the patches in this series. I cannot test functionality here, so just 
compile tested.

Series-Tested-by: Harry van Haaren <[email protected]>

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

Reply via email to