Re: [PATCH] vdpa/mlx5: Fix MQ to support non power of two num queues

2022-09-13 Thread Jason Wang
On Mon, Sep 12, 2022 at 8:50 PM Eli Cohen wrote: > > RQT objects require that a power of two value be configured for both > rqt_max_size and rqt_actual size. > > For create_rqt, make sure to round up to the power of two the value of > given by the user who created the vdpa device and given by > nd

Re: [Q] packet truncated after enabling ip_forward for virtio-net in guest

2022-09-13 Thread Jason Wang
On Tue, Sep 13, 2022 at 11:43 PM Wei Yang wrote: > > Hi, I am running a guest with vhost-net as backend. After I enable > ip_forward, the packet received is truncated. > > Host runs a 5.10 kernel, while guest kernel is v5.11 which doesn't > include this commit: > > virtio-net: use NETIF_F_GRO_HW

Re: [PATCH 4/5] iommu: Regulate errno in ->attach_dev callback functions

2022-09-13 Thread Jean-Philippe Brucker
Hi Nicolin, On Tue, Sep 13, 2022 at 01:24:47AM -0700, Nicolin Chen wrote: > Following the new rules in include/linux/iommu.h kdocs, update all drivers > ->attach_dev callback functions to return ENODEV error code for all device > specific errors. It particularly excludes EINVAL from being used for