Re: [PATCH 1/6] vhost: get rid of vhost_poll_flush() wrapper

2021-12-03 Thread Mike Christie
On 11/16/21 8:33 AM, Stefano Garzarella wrote: > On Mon, Nov 15, 2021 at 06:29:58PM +0300, Andrey Ryabinin wrote: >> vhost_poll_flush() is a simple wrapper around vhost_work_dev_flush(). >> It gives wrong impression that we are doing some work over vhost_poll, >> while in fact it flushes

Re: [iproute2-next 3/4] vdpa: Enable user to set mac address of vdpa device

2021-12-03 Thread David Ahern
On 12/1/21 9:22 PM, Parav Pandit wrote: > @@ -233,6 +254,15 @@ static int vdpa_argv_parse(struct vdpa *vdpa, int argc, > char **argv, > > NEXT_ARG_FWD(); > o_found |= VDPA_OPT_VDEV_MGMTDEV_HANDLE; > + } else if ((matches(*argv, "mac") ==

Re: [iproute2-next 4/4] vdpa: Enable user to set mtu of the vdpa device

2021-12-03 Thread David Ahern
On 12/1/21 9:22 PM, Parav Pandit wrote: > @@ -154,6 +156,31 @@ static int vdpa_argv_mac(struct vdpa *vdpa, int argc, > char **argv, char *mac) > return 0; > } > > +static int strtouint16_t(const char *str, uint16_t *p_val) > +{ > + char *endptr; > + unsigned long int val; > + > +

Re: [iproute2-next 0/4] vdpa tool to query and set config layout

2021-12-03 Thread David Ahern
On 12/1/21 9:22 PM, Parav Pandit wrote: > This series implements querying and setting of the mac address and mtu > device config fields of the vdpa device of type net. > > An example of query and set as below. > > $ vdpa dev add name bar mgmtdev vdpasim_net mac 00:11:22:33:44:55 mtu 9000 > > $

[PATCH resend] gpio: aggregator: Add interrupt support

2021-12-03 Thread Geert Uytterhoeven
Currently the GPIO Aggregator does not support interrupts. This means that kernel drivers going from a GPIO to an IRQ using gpiod_to_irq(), and userspace applications using line events do not work. Add interrupt support by providing a gpio_chip.to_irq() callback, which just calls into the parent