Re: [PATCH v3 1/7] vdpa: Use iovec for vhost_vdpa_net_load_cmd()

2023-08-17 Thread Hawkins Jiawei
在 2023/8/17 22:05, Eugenio Perez Martin 写道: > On Thu, Aug 17, 2023 at 2:42 PM Hawkins Jiawei wrote: >> >> On 2023/8/17 17:23, Eugenio Perez Martin wrote: >>> On Fri, Jul 7, 2023 at 5:27 PM Hawkins Jiawei wrote: According to VirtIO standard, "The driver MUST follow the VIRTIO_NET_CT

Re: [PATCH v3 1/7] vdpa: Use iovec for vhost_vdpa_net_load_cmd()

2023-08-17 Thread Eugenio Perez Martin
On Thu, Aug 17, 2023 at 2:42 PM Hawkins Jiawei wrote: > > On 2023/8/17 17:23, Eugenio Perez Martin wrote: > > On Fri, Jul 7, 2023 at 5:27 PM Hawkins Jiawei wrote: > >> > >> According to VirtIO standard, "The driver MUST follow > >> the VIRTIO_NET_CTRL_MAC_TABLE_SET command by a le32 number, > >>

Re: [PATCH v3 1/7] vdpa: Use iovec for vhost_vdpa_net_load_cmd()

2023-08-17 Thread Hawkins Jiawei
On 2023/8/17 17:23, Eugenio Perez Martin wrote: > On Fri, Jul 7, 2023 at 5:27 PM Hawkins Jiawei wrote: >> >> According to VirtIO standard, "The driver MUST follow >> the VIRTIO_NET_CTRL_MAC_TABLE_SET command by a le32 number, >> followed by that number of non-multicast MAC addresses, >> followed b

Re: [PATCH v3 1/7] vdpa: Use iovec for vhost_vdpa_net_load_cmd()

2023-08-17 Thread Eugenio Perez Martin
On Fri, Jul 7, 2023 at 5:27 PM Hawkins Jiawei wrote: > > According to VirtIO standard, "The driver MUST follow > the VIRTIO_NET_CTRL_MAC_TABLE_SET command by a le32 number, > followed by that number of non-multicast MAC addresses, > followed by another le32 number, followed by that number > of mul

[PATCH v3 1/7] vdpa: Use iovec for vhost_vdpa_net_load_cmd()

2023-07-07 Thread Hawkins Jiawei
According to VirtIO standard, "The driver MUST follow the VIRTIO_NET_CTRL_MAC_TABLE_SET command by a le32 number, followed by that number of non-multicast MAC addresses, followed by another le32 number, followed by that number of multicast addresses." Considering that these data is not stored in c