Re: [Intel-wired-lan] [PATCH iwl-next v4 08/12] ice: Save and load RX Queue head

2023-12-07 Thread Jason Gunthorpe
On Thu, Dec 07, 2023 at 07:55:17AM +, Tian, Kevin wrote: > > From: Cao, Yahui > > Sent: Tuesday, November 21, 2023 10:51 AM > > > > + > > + /* Once RX Queue is enabled, network traffic may come in at > > any > > +* time. As a result, RX Queue head needs to be loaded > > b

Re: [Intel-wired-lan] [PATCH iwl-next v4 09/12] ice: Save and load TX Queue head

2023-12-07 Thread Jason Gunthorpe
On Thu, Dec 07, 2023 at 08:22:53AM +, Tian, Kevin wrote: > > In virtual channel model, VF driver only send TX queue ring base and > > length info to PF, while rest of the TX queue context are managed by PF. > > TX queue length must be verified by PF during virtual channel message > > processing

Re: [Intel-wired-lan] [PATCH iwl-next v3 13/13] vfio/ice: Implement vfio_pci driver for E800 devices

2023-10-04 Thread Jason Gunthorpe
On Tue, Oct 03, 2023 at 04:04:21PM -0600, Alex Williamson wrote: > > +/** > > + * ice_vfio_pci_load_state - VFIO device state reloading > > + * @ice_vdev: pointer to ice vfio pci core device structure > > + * > > + * Load device state and restore it. This function is called when the VFIO > > uAPI

Re: [Intel-wired-lan] [PATCH iwl-next v3 13/13] vfio/ice: Implement vfio_pci driver for E800 devices

2023-10-13 Thread Jason Gunthorpe
On Fri, Oct 13, 2023 at 08:52:07AM +, Tian, Kevin wrote: > > From: Cao, Yahui > > Sent: Monday, September 18, 2023 2:26 PM > > > > +static struct file * > > +ice_vfio_pci_step_device_state_locked(struct ice_vfio_pci_core_device > > *ice_vdev, > > + u32 new, u32

Re: [Intel-wired-lan] [PATCH iwl-next v3 00/13] Add E800 live migration driver

2023-10-16 Thread Jason Gunthorpe
On Mon, Sep 18, 2023 at 06:25:33AM +, Yahui Cao wrote: > This series adds vfio live migration support for Intel E810 VF devices > based on the v2 migration protocol definition series discussed here[0]. > > Steps to test: > 1. Bind one or more E810 VF devices to the module ice_vfio_pci.ko > 2.

Re: [Intel-wired-lan] [PATCH net 2/2] page_pool: fix IOMMU crash when driver has already unbound

2024-09-23 Thread Jason Gunthorpe
On Fri, Sep 20, 2024 at 02:14:02PM +0800, Yunsheng Lin wrote: > I am not sure what dose the API that allows netdev to "give" struct device > to page_pool look like or how to implement the API yet, but the obvious way > to stall the calling of device_del() is to wait for the inflight > page to It

Re: [Intel-wired-lan] [iwl-next v4 1/1] iidc/ice/irdma: Update IDC to support multiple consumers

2025-03-18 Thread Jason Gunthorpe
On Tue, Mar 18, 2025 at 10:01:36AM -0700, Samudrala, Sridhar wrote: > Yes. Today irdma uses exported symbols from i40e and ice and loading irdma > results in both modules to be loaded even when only type of NIC is present > on a system. This series is trying to remove that dependency by using > ca

Re: [Intel-wired-lan] [tnguy-net-queue:dev-queue 2/12] include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(__uapi_uuid_t) == sizeof(uuid_t) && __alignof__(__uapi_uuid_t) == __alig

2025-04-10 Thread Jason Gunthorpe
On Wed, Apr 09, 2025 at 07:01:29PM -0700, Dan Williams wrote: > diff --git a/include/uapi/cxl/features.h b/include/uapi/cxl/features.h > index dd8874860cec..06a1ae3f3fd0 100644 > --- a/include/uapi/cxl/features.h > +++ b/include/uapi/cxl/features.h > @@ -14,7 +14,8 @@ typedef unsigned char __uapi_

Re: [Intel-wired-lan] [tnguy-net-queue:dev-queue 2/12] include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(__uapi_uuid_t) == sizeof(uuid_t) && __alignof__(__uapi_uuid_t) == __alig

2025-04-10 Thread Jason Gunthorpe
On Thu, Apr 10, 2025 at 10:48:00AM -0700, Dan Williams wrote: > Jason Gunthorpe wrote: > > On Wed, Apr 09, 2025 at 07:01:29PM -0700, Dan Williams wrote: > > > > > diff --git a/include/uapi/cxl/features.h b/include/uapi/cxl/features.h > > > index dd8874860cec