From: Jason Wang <jasowang@redhat.com>
To: Sriram Yagnaraman <sriram.yagnaraman@est.tech>
Cc: qemu-devel@nongnu.org,
Dmitry Fleytman <dmitry.fleytman@gmail.com>,
"Michael S . Tsirkin" <mst@redhat.com>,
Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Subject: Re: [PATCH 0/5] hw/net/igb: emulated network device with SR-IOV
Date: Fri, 23 Dec 2022 11:23:43 +0800 [thread overview]
Message-ID: <CACGkMEtFvmQ3th8TxApOuOtRVQz-7S7NZ-dFyOX73L1YS7Fh4g@mail.gmail.com> (raw)
In-Reply-To: <20221222114120.8790-1-sriram.yagnaraman@est.tech>
On Thu, Dec 22, 2022 at 7:43 PM Sriram Yagnaraman
<sriram.yagnaraman@est.tech> wrote:
>
> A new attempt at adding support for Intel 82576 Gigabit Ethernet adapter
> with SR-IOV support.
>
> Start qemu with the following parameters.
> qemu-system-x86_64 -enable-kvm -M q35 \
> ...
> -device pcie-root-port,slot=3,id=pcie_port.3 \
> -netdev tap,id=net3,script=no,downscript=/tmp/rmtap,ifname=xcbr3_t2,queues=1 \
> -device igb,bus=pcie_port.3,netdev=net3,mac=00:00:00:01:03:02
>
> Load IGB/IGBVF modules if needed.
> modprobe igb
> modprobe igbvf
>
> Create VFs via /sys
> ls /sys/bus/pci/devices/0000:01:00.0/
> echo 2 > /sys/bus/pci/devices/0000:01:00.0/sriov_numvfs
>
> Sriram Yagnaraman (5):
> pcie: add helper function to get number of VFs
> hw/net/net_tx_pkt: helper function to get l2 hdr
> hw/net/igb: register definitions
> hw/net/igb: emulated intel IGB (82576EB) network device
> hw/net/igb: build support for igb/igbvf devices
Haven't reviewed this series but I think we'd have two more things:
1) update the MAINTAINERS
2) a qtest for igb (having a qtest for sr-iov would be even better)
Thanks
>
> hw/i386/Kconfig | 1 +
> hw/net/Kconfig | 5 +
> hw/net/e1000_regs.h | 357 +++-
> hw/net/e1000x_common.c | 13 +
> hw/net/e1000x_common.h | 28 +
> hw/net/igb.c | 627 ++++++
> hw/net/igb.h | 184 ++
> hw/net/igb_core.c | 3782 +++++++++++++++++++++++++++++++++++
> hw/net/igb_core.h | 216 ++
> hw/net/igbvf.c | 262 +++
> hw/net/meson.build | 2 +
> hw/net/net_tx_pkt.c | 17 +-
> hw/net/net_tx_pkt.h | 8 +
> hw/net/trace-events | 190 ++
> hw/pci/pcie_sriov.c | 6 +
> include/hw/pci/pcie_sriov.h | 5 +
> 16 files changed, 5671 insertions(+), 32 deletions(-)
> create mode 100644 hw/net/igb.c
> create mode 100644 hw/net/igb.h
> create mode 100644 hw/net/igb_core.c
> create mode 100644 hw/net/igb_core.h
> create mode 100644 hw/net/igbvf.c
>
> --
> 2.34.1
>
next prev parent reply other threads:[~2022-12-23 3:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-22 11:41 [PATCH 0/5] hw/net/igb: emulated network device with SR-IOV Sriram Yagnaraman
2022-12-22 11:41 ` [PATCH 1/5] pcie: add helper function to get number of VFs Sriram Yagnaraman
2022-12-22 11:41 ` [PATCH 2/5] hw/net/net_tx_pkt: helper function to get l2 hdr Sriram Yagnaraman
2022-12-22 11:41 ` [PATCH 3/5] hw/net/igb: register definitions Sriram Yagnaraman
2022-12-22 11:41 ` [PATCH 4/5] hw/net/igb: emulated intel IGB (82576EB) network device Sriram Yagnaraman
2022-12-22 11:41 ` [PATCH 5/5] hw/net/igb: build support for igb/igbvf devices Sriram Yagnaraman
2022-12-23 3:23 ` Jason Wang [this message]
2022-12-29 2:42 ` [PATCH 0/5] hw/net/igb: emulated network device with SR-IOV Akihiko Odaki
2022-12-29 19:14 ` Sriram Yagnaraman
2022-12-29 19:17 ` Sriram Yagnaraman
2022-12-30 3:44 ` Jason Wang
2022-12-30 8:37 ` Sriram Yagnaraman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CACGkMEtFvmQ3th8TxApOuOtRVQz-7S7NZ-dFyOX73L1YS7Fh4g@mail.gmail.com \
--to=jasowang@redhat.com \
--cc=dmitry.fleytman@gmail.com \
--cc=marcel.apfelbaum@gmail.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=sriram.yagnaraman@est.tech \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).