git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/iavf: fix mbuf leak
[dpdk.git]
/
drivers
/
net
/
hinic
/
base
/
hinic_pmd_hwif.c
diff --git
a/drivers/net/hinic/base/hinic_pmd_hwif.c
b/drivers/net/hinic/base/hinic_pmd_hwif.c
index
63fba0d
..
26fa1e2
100644
(file)
--- a/
drivers/net/hinic/base/hinic_pmd_hwif.c
+++ b/
drivers/net/hinic/base/hinic_pmd_hwif.c
@@
-99,7
+99,7
@@
void hinic_set_pf_status(struct hinic_hwif *hwif, enum hinic_pf_status status)
u32 addr = HINIC_CSR_FUNC_ATTR5_ADDR;
if (hwif->attr.func_type == TYPE_VF) {
u32 addr = HINIC_CSR_FUNC_ATTR5_ADDR;
if (hwif->attr.func_type == TYPE_VF) {
- PMD_DRV_LOG(
ERR, "VF doesn't support
set attr5");
+ PMD_DRV_LOG(
INFO, "VF doesn't support to
set attr5");
return;
}
return;
}
@@
-280,7
+280,7
@@
void hinic_set_msix_state(void *hwdev, u16 msix_idx, enum hinic_msix_state flag)
/* vfio-pci does not mmap msi-x vector table to user space,
* we can not access the space when kernel driver is vfio-pci
*/
/* vfio-pci does not mmap msi-x vector table to user space,
* we can not access the space when kernel driver is vfio-pci
*/
- if (hw->pcidev_hdl->kdrv == RTE_KDRV_VFIO)
+ if (hw->pcidev_hdl->kdrv == RTE_
PCI_
KDRV_VFIO)
return;
mask_bits = readl(hwif->intr_regs_base + offset);
return;
mask_bits = readl(hwif->intr_regs_base + offset);
@@
-321,7
+321,7
@@
int wait_until_doorbell_flush_states(struct hinic_hwif *hwif,
rte_delay_ms(1);
} while (time_before(jiffies, end));
rte_delay_ms(1);
} while (time_before(jiffies, end));
- return -E
FAUL
T;
+ return -E
TIMEDOU
T;
}
static int wait_until_doorbell_and_outbound_enabled(struct hinic_hwif *hwif)
}
static int wait_until_doorbell_and_outbound_enabled(struct hinic_hwif *hwif)
@@
-343,7
+343,7
@@
static int wait_until_doorbell_and_outbound_enabled(struct hinic_hwif *hwif)
rte_delay_ms(1);
} while (time_before(jiffies, end));
rte_delay_ms(1);
} while (time_before(jiffies, end));
- return -E
FAUL
T;
+ return -E
TIMEDOU
T;
}
u16 hinic_global_func_id(void *hwdev)
}
u16 hinic_global_func_id(void *hwdev)