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/sfc: rename array of SW stats descriptions
[dpdk.git]
/
drivers
/
vdpa
/
ifc
/
base
/
ifcvf.h
diff --git
a/drivers/vdpa/ifc/base/ifcvf.h
b/drivers/vdpa/ifc/base/ifcvf.h
index
9be2770
..
573a35f
100644
(file)
--- a/
drivers/vdpa/ifc/base/ifcvf.h
+++ b/
drivers/vdpa/ifc/base/ifcvf.h
@@
-13,7
+13,10
@@
#define IFCVF_SUBSYS_DEVICE_ID 0x001A
#define IFCVF_MAX_QUEUES 1
#define IFCVF_SUBSYS_DEVICE_ID 0x001A
#define IFCVF_MAX_QUEUES 1
+
+#ifndef VIRTIO_F_IOMMU_PLATFORM
#define VIRTIO_F_IOMMU_PLATFORM 33
#define VIRTIO_F_IOMMU_PLATFORM 33
+#endif
/* Common configuration */
#define IFCVF_PCI_CAP_COMMON_CFG 1
/* Common configuration */
#define IFCVF_PCI_CAP_COMMON_CFG 1
@@
-100,7
+103,7
@@
struct ifcvf_net_config {
u8 mac[6];
u16 status;
u16 max_virtqueue_pairs;
u8 mac[6];
u16 status;
u16 max_virtqueue_pairs;
-} __
attribute__((packed))
;
+} __
rte_packed
;
struct ifcvf_pci_mem_resource {
u64 phys_addr; /**< Physical address, 0 if not resource. */
struct ifcvf_pci_mem_resource {
u64 phys_addr; /**< Physical address, 0 if not resource. */
@@
-115,6
+118,7
@@
struct vring_info {
u16 size;
u16 last_avail_idx;
u16 last_used_idx;
u16 size;
u16 last_avail_idx;
u16 last_used_idx;
+ bool enable;
};
struct ifcvf_hw {
};
struct ifcvf_hw {