Displaying 3 results from an estimated 3 matches for "queue_count".
Did you mean:
aqueue_count
2023 Jul 27
2
[PATCH net-next V4 2/3] virtio_net: support per queue interrupt coalesce command
...ber++) {
> + ret = virtnet_should_update_vq_weight(dev->flags, napi_weight,
> + vi->sq[queue_number].napi.weight,
> + &update_napi);
> + if (ret)
> + return ret;
> +
> + if (update_napi) {
> + /* All queues that belong to [queue_number, queue_count] will be
> + * updated for the sake of simplicity, which might not be necessary
It looks like the comment above still refers to the old code. Should
be:
[queue_number, vi->max_queue_pairs]
Otherwise LGTM, thanks!
Paolo
2023 Jul 28
1
[PATCH net-next V4 2/3] virtio_net: support per queue interrupt coalesce command
...ld_update_vq_weight(dev->flags, napi_weight,
> > + vi->sq[queue_number].napi.weight,
> > + &update_napi);
> > + if (ret)
> > + return ret;
> > +
> > + if (update_napi) {
> > + /* All queues that belong to [queue_number, queue_count] will be
> > + * updated for the sake of simplicity, which might not be necessary
>
> It looks like the comment above still refers to the old code. Should
> be:
> [queue_number, vi->max_queue_pairs]
>
> Otherwise LGTM, thanks!
>
> Paolo
2007 Dec 31
1
b13 Compile error on Solaris 10 (Sparc)
...c:103: error: structure has no member named `tail'
queue.c: In function `queue_clear':
queue.c:113: error: structure has no member named `head'
queue.c:113: error: structure has no member named `tail'
queue.c:114: error: structure has no member named `full'
queue.c: In function `queue_count':
queue.c:119: error: structure has no member named `area_size'
queue.c:121: error: structure has no member named `full'
queue.c:122: error: structure has no member named `tail'
queue.c:122: error: structure has no member named `head'
*** Error code 1
make: Fatal error: Command...