[dpdk-dev] [PATCH v2] net/virtio-user: fix not working on 32-bit system
Yuanhan Liu
yuanhan.liu at linux.intel.com
Wed Apr 19 08:24:03 CEST 2017
On Wed, Apr 19, 2017 at 06:21:59AM +0000, Tan, Jianfeng wrote:
>
>
> > I've expected it to be plain english, something like following:
> >
> > /*
> > * Return the physical address (or virtual address in case of
> > * virtio-user) of mbuf data buffer.
> > *
> > * The address is firstly casted to the word size (sizeof(uintptr_t))
> > * before casting it to uint64_t. This is to make it work with different
> > * combination of word size (64 bit and 32 bit) and virtio device
> > * (virtio-pci and virtio-user).
> > */
> >
> > Okay to you?
>
> Yep, sounds better. Thanks!
Good. Applied to dpdk-next-virtio, with above change.
Thanks.
--yliu
More information about the dev
mailing list