Messages in this thread | | | From | Rusty Russell <> | Subject | Re: [PATCH 10/16] virtio_net: use virtqueue_add_sgs[] for command buffers. | Date | Thu, 21 Feb 2013 16:57:03 +1030 |
| |
Wanlong Gao <gaowanlong@cn.fujitsu.com> writes: > On 02/19/2013 03:56 PM, Rusty Russell wrote: >> It's a bit cleaner to hand multiple sgs, rather than one big one. >> >> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> ... >> + BUG_ON(!virtio_has_feature(vi->vdev, VIRTIO_NET_F_CTRL_VQ)); >> >> - ctrl.class = class; >> - ctrl.cmd = cmd; > > The class and cmd assignment of ctrl header is forgotten? > > Thanks, > Wanlong Gao
Good catch, fixed.
Thanks, Rusty.
| |