[PULL V2 00/44] Net patches

Jason Wang posted 44 patches 1 year, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230310093526.30828-1-jasowang@redhat.com
Maintainers: Akihiko Odaki <akihiko.odaki@daynix.com>, Jason Wang <jasowang@redhat.com>, Andrew Melnychenko <andrew@daynix.com>, Yuri Benditovich <yuri.benditovich@daynix.com>, Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Yanan Wang <wangyanan55@huawei.com>, Dmitry Fleytman <dmitry.fleytman@gmail.com>, "Michael S. Tsirkin" <mst@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, Thomas Huth <thuth@redhat.com>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Beraldo Leal <bleal@redhat.com>, Cleber Rosa <crosa@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Alexander Bulekov <alxndr@bu.edu>, Bandan Das <bsd@redhat.com>, Stefan Hajnoczi <stefanha@redhat.com>, Darren Kenny <darren.kenny@oracle.com>, Qiuhao Li <Qiuhao.Li@outlook.com>
There is a newer version of this series
MAINTAINERS                                        |   13 +
docs/system/device-emulation.rst                   |    1 +
docs/system/devices/igb.rst                        |   71 +
ebpf/rss.bpf.skeleton.h                            | 1171 ++++--
hw/core/machine.c                                  |    1 +
hw/net/Kconfig                                     |    5 +
hw/net/e1000.c                                     |  259 +-
hw/net/e1000_common.h                              |  102 +
hw/net/e1000_regs.h                                |  958 +----
hw/net/e1000e.c                                    |  102 +-
hw/net/e1000e_core.c                               |  719 ++--
hw/net/e1000e_core.h                               |   70 +-
hw/net/e1000x_common.c                             |   38 +-
hw/net/e1000x_common.h                             |  133 +-
hw/net/e1000x_regs.h                               |  967 +++++
hw/net/fsl_etsec/etsec.c                           |   11 +-
hw/net/fsl_etsec/etsec.h                           |   17 -
hw/net/fsl_etsec/miim.c                            |    5 +-
hw/net/igb.c                                       |  623 +++
hw/net/igb_common.h                                |  146 +
hw/net/igb_core.c                                  | 4077 ++++++++++++++++++++
hw/net/igb_core.h                                  |  146 +
hw/net/igb_regs.h                                  |  648 ++++
hw/net/igbvf.c                                     |  327 ++
hw/net/meson.build                                 |    2 +
hw/net/net_rx_pkt.c                                |  102 +-
hw/net/net_rx_pkt.h                                |   31 +-
hw/net/net_tx_pkt.c                                |  332 +-
hw/net/net_tx_pkt.h                                |   27 +-
hw/net/trace-events                                |   50 +-
hw/net/virtio-net.c                                |   85 +-
hw/net/vmxnet3.c                                   |   58 +-
hw/pci/pcie_sriov.c                                |    5 +
include/hw/net/mii.h                               |   14 +-
include/hw/pci/pcie_sriov.h                        |    3 +
include/net/eth.h                                  |   15 +-
include/net/net.h                                  |    6 +
net/dump.c                                         |   11 +-
net/eth.c                                          |  118 +-
net/net.c                                          |   18 +
net/tap.c                                          |   16 +
scripts/ci/org.centos/stream/8/x86_64/test-avocado |    1 +
tests/avocado/igb.py                               |   38 +
tests/qtest/e1000e-test.c                          |   25 +-
tests/qtest/fuzz/generic_fuzz_configs.h            |    5 +
tests/qtest/igb-test.c                             |  256 ++
tests/qtest/libqos/e1000e.c                        |   12 -
tests/qtest/libqos/e1000e.h                        |   14 +
tests/qtest/libqos/igb.c                           |  185 +
tests/qtest/libqos/meson.build                     |    1 +
tests/qtest/meson.build                            |    1 +
tools/ebpf/Makefile.ebpf                           |    8 +-
tools/ebpf/rss.bpf.c                               |   43 +-
53 files changed, 9780 insertions(+), 2312 deletions(-)
create mode 100644 docs/system/devices/igb.rst
create mode 100644 hw/net/e1000_common.h
create mode 100644 hw/net/e1000x_regs.h
create mode 100644 hw/net/igb.c
create mode 100644 hw/net/igb_common.h
create mode 100644 hw/net/igb_core.c
create mode 100644 hw/net/igb_core.h
create mode 100644 hw/net/igb_regs.h
create mode 100644 hw/net/igbvf.c
create mode 100644 tests/avocado/igb.py
create mode 100644 tests/qtest/igb-test.c
create mode 100644 tests/qtest/libqos/igb.c
[PULL V2 00/44] Net patches
Posted by Jason Wang 1 year, 1 month ago
The following changes since commit ee59483267de29056b5b2ee2421ef3844e5c9932:

  Merge tag 'qemu-openbios-20230307' of https://github.com/mcayland/qemu into staging (2023-03-09 16:55:03 +0000)

are available in the git repository at:

  https://github.com/jasowang/qemu.git tags/net-pull-request

for you to fetch changes up to 197a137290103993b33f93c90e788ab4984f103a:

  ebpf: fix compatibility with libbpf 1.0+ (2023-03-10 17:26:47 +0800)

----------------------------------------------------------------

Changes since V1:

- Drop eepro100 series
- Fix igb test on win32
- Fix igb abort on MSI(X) initialziation failure

----------------------------------------------------------------
Akihiko Odaki (43):
      e1000e: Fix the code style
      hw/net: Add more MII definitions
      fsl_etsec: Use hw/net/mii.h
      e1000: Use hw/net/mii.h
      e1000: Mask registers when writing
      e1000e: Introduce E1000E_LOW_BITS_SET_FUNC
      e1000e: Mask registers when writing
      e1000: Use more constant definitions
      e1000e: Use more constant definitions
      e1000: Use memcpy to intialize registers
      e1000e: Use memcpy to intialize registers
      e1000e: Remove pending interrupt flags
      e1000e: Improve software reset
      e1000: Configure ResettableClass
      e1000e: Configure ResettableClass
      e1000e: Introduce e1000_rx_desc_union
      e1000e: Set MII_ANER_NWAY
      e1000e: Remove extra pointer indirection
      net: Check L4 header size
      e1000x: Alter the signature of e1000x_is_vlan_packet
      net: Strip virtio-net header when dumping
      hw/net/net_tx_pkt: Automatically determine if virtio-net header is used
      hw/net/net_rx_pkt: Remove net_rx_pkt_has_virt_hdr
      e1000e: Perform software segmentation for loopback
      hw/net/net_tx_pkt: Implement TCP segmentation
      hw/net/net_tx_pkt: Check the payload length
      e1000e: Do not assert when MSI-X is disabled later
      MAINTAINERS: Add Akihiko Odaki as a e1000e reviewer
      MAINTAINERS: Add e1000e test files
      e1000e: Combine rx traces
      e1000: Count CRC in Tx statistics
      e1000e: Count CRC in Tx statistics
      net/eth: Report if headers are actually present
      e1000e: Implement system clock
      net/eth: Introduce EthL4HdrProto
      pcie: Introduce pcie_sriov_num_vfs
      e1000: Split header files
      Intrdocue igb device emulation
      tests/qtest/e1000e-test: Fabricate ethernet header
      tests/qtest/libqos/e1000e: Export macreg functions
      igb: Introduce qtest for igb device
      tests/avocado: Add igb test
      docs/system/devices/igb: Add igb documentation

Shreesh Adiga (1):
      ebpf: fix compatibility with libbpf 1.0+

 MAINTAINERS                                        |   13 +
 docs/system/device-emulation.rst                   |    1 +
 docs/system/devices/igb.rst                        |   71 +
 ebpf/rss.bpf.skeleton.h                            | 1171 ++++--
 hw/core/machine.c                                  |    1 +
 hw/net/Kconfig                                     |    5 +
 hw/net/e1000.c                                     |  259 +-
 hw/net/e1000_common.h                              |  102 +
 hw/net/e1000_regs.h                                |  958 +----
 hw/net/e1000e.c                                    |  102 +-
 hw/net/e1000e_core.c                               |  719 ++--
 hw/net/e1000e_core.h                               |   70 +-
 hw/net/e1000x_common.c                             |   38 +-
 hw/net/e1000x_common.h                             |  133 +-
 hw/net/e1000x_regs.h                               |  967 +++++
 hw/net/fsl_etsec/etsec.c                           |   11 +-
 hw/net/fsl_etsec/etsec.h                           |   17 -
 hw/net/fsl_etsec/miim.c                            |    5 +-
 hw/net/igb.c                                       |  623 +++
 hw/net/igb_common.h                                |  146 +
 hw/net/igb_core.c                                  | 4077 ++++++++++++++++++++
 hw/net/igb_core.h                                  |  146 +
 hw/net/igb_regs.h                                  |  648 ++++
 hw/net/igbvf.c                                     |  327 ++
 hw/net/meson.build                                 |    2 +
 hw/net/net_rx_pkt.c                                |  102 +-
 hw/net/net_rx_pkt.h                                |   31 +-
 hw/net/net_tx_pkt.c                                |  332 +-
 hw/net/net_tx_pkt.h                                |   27 +-
 hw/net/trace-events                                |   50 +-
 hw/net/virtio-net.c                                |   85 +-
 hw/net/vmxnet3.c                                   |   58 +-
 hw/pci/pcie_sriov.c                                |    5 +
 include/hw/net/mii.h                               |   14 +-
 include/hw/pci/pcie_sriov.h                        |    3 +
 include/net/eth.h                                  |   15 +-
 include/net/net.h                                  |    6 +
 net/dump.c                                         |   11 +-
 net/eth.c                                          |  118 +-
 net/net.c                                          |   18 +
 net/tap.c                                          |   16 +
 scripts/ci/org.centos/stream/8/x86_64/test-avocado |    1 +
 tests/avocado/igb.py                               |   38 +
 tests/qtest/e1000e-test.c                          |   25 +-
 tests/qtest/fuzz/generic_fuzz_configs.h            |    5 +
 tests/qtest/igb-test.c                             |  256 ++
 tests/qtest/libqos/e1000e.c                        |   12 -
 tests/qtest/libqos/e1000e.h                        |   14 +
 tests/qtest/libqos/igb.c                           |  185 +
 tests/qtest/libqos/meson.build                     |    1 +
 tests/qtest/meson.build                            |    1 +
 tools/ebpf/Makefile.ebpf                           |    8 +-
 tools/ebpf/rss.bpf.c                               |   43 +-
 53 files changed, 9780 insertions(+), 2312 deletions(-)
 create mode 100644 docs/system/devices/igb.rst
 create mode 100644 hw/net/e1000_common.h
 create mode 100644 hw/net/e1000x_regs.h
 create mode 100644 hw/net/igb.c
 create mode 100644 hw/net/igb_common.h
 create mode 100644 hw/net/igb_core.c
 create mode 100644 hw/net/igb_core.h
 create mode 100644 hw/net/igb_regs.h
 create mode 100644 hw/net/igbvf.c
 create mode 100644 tests/avocado/igb.py
 create mode 100644 tests/qtest/igb-test.c
 create mode 100644 tests/qtest/libqos/igb.c
Re: [PULL V2 00/44] Net patches
Posted by Peter Maydell 1 year, 1 month ago
On Fri, 10 Mar 2023 at 09:35, Jason Wang <jasowang@redhat.com> wrote:
>
> The following changes since commit ee59483267de29056b5b2ee2421ef3844e5c9932:
>
>   Merge tag 'qemu-openbios-20230307' of https://github.com/mcayland/qemu into staging (2023-03-09 16:55:03 +0000)
>
> are available in the git repository at:
>
>   https://github.com/jasowang/qemu.git tags/net-pull-request
>
> for you to fetch changes up to 197a137290103993b33f93c90e788ab4984f103a:
>
>   ebpf: fix compatibility with libbpf 1.0+ (2023-03-10 17:26:47 +0800)
>
> ----------------------------------------------------------------
>
> Changes since V1:
>
> - Drop eepro100 series
> - Fix igb test on win32
> - Fix igb abort on MSI(X) initialziation failure


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/8.0
for any user-visible changes.

-- PMM