diff options
author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2023-05-23 11:43:16 +0900 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2023-05-23 15:20:15 +0800 |
commit | ff2b24c86258c6257bdb27bb16fefb11aea5ea57 (patch) | |
tree | bac2ff98b826b80fc8f570f2d632ee2bdb685e82 /hw/net/igbvf.c | |
parent | 4847dabf6743477dd29da9962466403dfcf625f3 (diff) | |
download | qemu-ff2b24c86258c6257bdb27bb16fefb11aea5ea57.zip qemu-ff2b24c86258c6257bdb27bb16fefb11aea5ea57.tar.gz qemu-ff2b24c86258c6257bdb27bb16fefb11aea5ea57.tar.bz2 |
igb: Share common VF constants
The constants need to be consistent between the PF and VF.
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Sriram Yagnaraman <sriram.yagnaraman@est.tech>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/igbvf.c')
-rw-r--r-- | hw/net/igbvf.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/hw/net/igbvf.c b/hw/net/igbvf.c index 70beb7a..284ea61 100644 --- a/hw/net/igbvf.c +++ b/hw/net/igbvf.c @@ -50,15 +50,8 @@ #include "trace.h" #include "qapi/error.h" -#define TYPE_IGBVF "igbvf" OBJECT_DECLARE_SIMPLE_TYPE(IgbVfState, IGBVF) -#define IGBVF_MMIO_BAR_IDX (0) -#define IGBVF_MSIX_BAR_IDX (3) - -#define IGBVF_MMIO_SIZE (16 * 1024) -#define IGBVF_MSIX_SIZE (16 * 1024) - struct IgbVfState { PCIDevice parent_obj; |