[dpdk-dev] [PATCH V5 2/7] bus/pci: implement hotplug failure handler ops
He, Shaopeng
shaopeng.he at intel.com
Fri Jul 6 17:17:36 CEST 2018
> -----Original Message-----
> From: Guo, Jia
> Sent: Thursday, July 5, 2018 3:39 PM
>
[...]
> + switch (pdev->kdrv) {
> + case RTE_KDRV_IGB_UIO:
> + case RTE_KDRV_UIO_GENERIC:
> + case RTE_KDRV_NIC_UIO:
> + /* mmio resources is invalid, remap it to be safe. */
Better to keep consistent as: mmio resource is
[...]
Is it helpful that pci_uio_remap_resource could also remap UIO event and control fd?
So, up-layer application will be easier to deal with the un-plug event.
> +/* remap the PCI resource of a PCI device in anonymous virtual memory */
> +int
> +pci_uio_remap_resource(struct rte_pci_device *dev)
> +{
> + int i;
> + void *map_address;
Acked-by: Shaopeng He <shaopeng.he at intel.com>
More information about the dev
mailing list