Re: [ovs-dev] [PATCH 2/2] netdev-offload-dpdk: Fix vxlan vni cast-align warnings

2021-07-22 Thread Ilya Maximets
On 7/22/21 3:14 PM, Eli Britstein wrote: > > On 7/22/2021 4:10 PM, Ilya Maximets wrote: >> External email: Use caution opening links or attachments >> >> >> On 7/22/21 3:00 PM, Eli Britstein wrote: >>> On 7/22/2021 3:28 PM, Ilya Maximets wrote: External email: Use caution opening links or att

Re: [ovs-dev] [PATCH 2/2] netdev-offload-dpdk: Fix vxlan vni cast-align warnings

2021-07-22 Thread Eli Britstein via dev
On 7/22/2021 4:10 PM, Ilya Maximets wrote: External email: Use caution opening links or attachments On 7/22/21 3:00 PM, Eli Britstein wrote: On 7/22/2021 3:28 PM, Ilya Maximets wrote: External email: Use caution opening links or attachments On 7/11/21 7:15 AM, Eli Britstein wrote: Compili

Re: [ovs-dev] [PATCH 2/2] netdev-offload-dpdk: Fix vxlan vni cast-align warnings

2021-07-22 Thread Ilya Maximets
On 7/22/21 3:00 PM, Eli Britstein wrote: > > On 7/22/2021 3:28 PM, Ilya Maximets wrote: >> External email: Use caution opening links or attachments >> >> >> On 7/11/21 7:15 AM, Eli Britstein wrote: >>> Compiling with -Werror and -Wcast-align has errors like: >>> >>> lib/netdev-offload-dpdk.c: In f

Re: [ovs-dev] [PATCH 2/2] netdev-offload-dpdk: Fix vxlan vni cast-align warnings

2021-07-22 Thread Eli Britstein via dev
On 7/22/2021 3:28 PM, Ilya Maximets wrote: External email: Use caution opening links or attachments On 7/11/21 7:15 AM, Eli Britstein wrote: 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:

Re: [ovs-dev] [PATCH 2/2] netdev-offload-dpdk: Fix vxlan vni cast-align warnings

2021-07-22 Thread Ilya Maximets
On 7/11/21 7:15 AM, Eli Britstein wrote: > 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 |nt

Re: [ovs-dev] [PATCH 2/2] netdev-offload-dpdk: Fix vxlan vni cast-align warnings

2021-07-12 Thread Van Haaren, Harry
> -Original Message- > From: Eli Britstein > Sent: Sunday, July 11, 2021 6:15 AM > To: d...@openvswitch.org; Ilya Maximets ; Van Haaren, > Harry > Cc: Gaetan Rivet ; Majd Dibbiny ; Eli > Britstein > Subject: [PATCH 2/2] netdev-offload-dpdk: Fix vxlan vni cast-align warnings > > Compilin

[ovs-dev] [PATCH 2/2] netdev-offload-dpdk: Fix vxlan vni cast-align warnings

2021-07-10 Thread Eli Britstein
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, |