t; To: Brian Brooks
> Cc: Narayana, Prasad Athreya; Damjan Marion (damarion); vpp-dev@lists.fd.io;
> Saxena, Nitin
> Subject: Re: [vpp-dev] [v17.07.01]: vec_add2() causing crash on ARMv8
>
> As a quick hack: try moving "u32 interrupt_pending;" to the start of the
> structure.
Brian Brooks
> Cc: Narayana, Prasad Athreya; Damjan Marion (damarion); vpp-dev@lists.fd.io;
> Saxena, Nitin
> Subject: Re: [vpp-dev] [v17.07.01]: vec_add2() causing crash on ARMv8
>
> As a quick hack: try moving "u32 interrupt_pending;" to the start of the
> structure...
>
2017 2:24 AM
To: Brian Brooks
Cc: Narayana, Prasad Athreya; Damjan Marion (damarion); vpp-dev@lists.fd.io;
Saxena, Nitin
Subject: Re: [vpp-dev] [v17.07.01]: vec_add2() causing crash on ARMv8
As a quick hack: try moving "u32 interrupt_pending;" to the start of the
structure
io; Damjan Marion
(damarion) ; Narayana, Prasad Athreya
Subject: Re: [vpp-dev] [v17.07.01]: vec_add2() causing crash on ARMv8
On 09/28 11:57:36, Dave Barach (dbarach) wrote:
> Dear Nitin,
>
> First off: exactly which LDXR / STXR instruction variant pairs is generated?
>
errupt_pending
> lands on the required boundary. Then use vec_add2_ha (...) to manipulate the
> vector.
>
> HTH... Dave
>
> From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On
> Behalf Of Saxena, Nitin
> Sent: Thursday, September 28, 2017 4:53 AM
> To:
[vpp-dev] [v17.07.01]: vec_add2() causing crash on ARMv8
Hi All,
I got a crash with vpp v17.07.01 on ARMv8 Soc
@src/vnet/devices/virtio/vhost-user.c: Line no: 1852
if (clib_smp_swap (&dq->interrupt_pending, 0) ||
(node->state == VLIB_NODE_STATE_POLLING)){
}
While debugging
Hi All,
I got a crash with vpp v17.07.01 on ARMv8 Soc
@src/vnet/devices/virtio/vhost-user.c: Line no: 1852
if (clib_smp_swap (&dq->interrupt_pending, 0) ||
(node->state == VLIB_NODE_STATE_POLLING)){
}
While debugging it turns out that value of (&dq->interrupt_pending) was not 8
byte alig