Re: [PATCH v2 06/17] iommu: Add iommu_fwspec_alloc/dealloc()

2023-11-20 Thread Hector Martin
On 2023/11/19 23:13, Jason Gunthorpe wrote: > On Sun, Nov 19, 2023 at 06:19:43PM +0900, Hector Martin wrote: +static int iommu_fwspec_assign_iommu(struct iommu_fwspec *fwspec, + struct device *dev, + struct fwnode_handle

RE: [PATCH net-next v4] hv_netvsc: Mark VF as slave before exposing it to user-mode

2023-11-20 Thread Long Li
> On Wed, 15 Nov 2023 08:14:06 -0800 Stephen Hemminger wrote: > > Jakub is right that in an ideal world, this could all be managed by > > userspace. But the management of network devices in Linux is a > > dumpster fire! Every distro invents there own solution, last time I > > counted there were

RE: [PATCH net,v5, 3/3] hv_netvsc: Mark VF as slave before exposing it to user-mode

2023-11-20 Thread Dexuan Cui
> From: LKML haiyangz On Behalf Of Haiyang > Zhang > [...] > From: Long Li > > When a VF is being exposed form the kernel, it should be marked as > "slave" > before exposing to the user-mode. The VF is not usable without netvsc > running as master. The user-mode should never see a VF without