Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Oct 2022 21:20:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 267060] net/dpdk:  error: too many arguments to function call, expected 3, have 4
Message-ID:  <bug-267060-7788-yKxzF2ZOeb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-267060-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-267060-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267060

--- Comment #1 from Martin Filla <freebsd@sysctl.cz> ---
In poudriere without issue=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: package        >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D>  Building package for dpdk-19.11.12
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D>> Recording filesystem state for preinst... done
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: install        >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D>  Installing for dpdk-19.11.12
=3D=3D=3D>  Checking if dpdk is already installed
=3D=3D=3D>   Registering installation for dpdk-19.11.12
[freebsd13x64-default] Installing dpdk-19.11.12...
The Intel(R) DPDK requires two kernel modules to be loaded in order to run.
To load these modules add loading lines to /boot/loader.conf

        contigmem_load=3D"YES"
        nic_uio_load=3D"YES"

The modules each take a number of parameters. These should be set in
loader.conf
before the above two lines to load the module.

* The "contigmem" module is used to reserve contiguous blocks of physical
memory
  for packet buffer use. It takes parameters for the number and size of blo=
cks
  to be reserved. An example is below, reserving a single 1G block:

        hw.contigmem.num_buffers=3D1
        hw.contigmem.buffer_size=3D1073741824

* The "nic_uio" module is used to expose the network card (NIC) hardware
  directly to userspace for use with the Intel(R) DPDK. If the NIC ports to=
 be
  used are in use by an existing driver, the nic_uio module can unbind the =
port
  from its existing driver when requested to do so. This is done by passing=
 the
  relevant PCI bus, device and function settings to the driver as parameter=
s.
  For example:

        hw.nic_uio.bdfs=3D"2:0:0,2:0:1"

=3D=3D=3D> SECURITY REPORT:=20
      This port has installed the following files which may act as network
      servers and may therefore pose a remote security risk to the system.
/usr/local/lib/librte_telemetry.a(librte_telemetry_rte_telemetry_parser_tes=
t.c.o)
/usr/local/lib/librte_telemetry.so.0.200
/usr/local/lib/librte_telemetry.a(librte_telemetry_rte_telemetry.c.o)

      If there are vulnerabilities in these programs there may be a security
      risk to the system. FreeBSD makes no guarantee about the security of
      ports included in the Ports Collection. Please type 'make deinstall'
      to deinstall the port if this is a concern.

      For more information, and contact details about the security
      status of this software, see the following webpage:=20
http://dpdk.org/
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D>> Checking shared library dependencies
 0x0000000000000001 NEEDED               Shared library: [libc.so.7]
 0x0000000000000001 NEEDED               Shared library: [libexecinfo.so.1]
 0x0000000000000001 NEEDED               Shared library: [libjansson.so.4]
 0x0000000000000001 NEEDED               Shared library: [libm.so.5]
 0x0000000000000001 NEEDED               Shared library: [libpcap.so.8]
 0x0000000000000001 NEEDED               Shared library: [librte_acl.so.20.=
0]
 0x0000000000000001 NEEDED               Shared library:
[librte_bbdev.so.0.200]
 0x0000000000000001 NEEDED               Shared library:
[librte_bitratestats.so.20.0]
 0x0000000000000001 NEEDED               Shared library: [librte_bpf.so.0.2=
00]
 0x0000000000000001 NEEDED               Shared library:
[librte_bus_pci.so.20.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_bus_vdev.so.20.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_cmdline.so.20.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_common_octeontx.so.20.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_common_octeontx2.so.20.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_compressdev.so.0.200]
 0x0000000000000001 NEEDED               Shared library:
[librte_cryptodev.so.20.0]
 0x0000000000000001 NEEDED               Shared library: [librte_eal.so.20.=
0]
 0x0000000000000001 NEEDED               Shared library:
[librte_ethdev.so.20.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_eventdev.so.20.0]
 0x0000000000000001 NEEDED               Shared library: [librte_gro.so.20.=
0]
 0x0000000000000001 NEEDED               Shared library: [librte_gso.so.20.=
0]
 0x0000000000000001 NEEDED               Shared library: [librte_hash.so.20=
.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_ip_frag.so.20.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_ipsec.so.0.200]
 0x0000000000000001 NEEDED               Shared library:
[librte_kvargs.so.20.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_latencystats.so.20.0]
 0x0000000000000001 NEEDED               Shared library: [librte_lpm.so.20.=
0]
 0x0000000000000001 NEEDED               Shared library: [librte_mbuf.so.20=
.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_mempool.so.20.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_mempool_octeontx.so.20.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_mempool_octeontx2.so.20.0]
 0x0000000000000001 NEEDED               Shared library: [librte_meter.so.2=
0.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_metrics.so.20.0]
 0x0000000000000001 NEEDED               Shared library: [librte_net.so.20.=
0]
 0x0000000000000001 NEEDED               Shared library: [librte_pci.so.20.=
0]
 0x0000000000000001 NEEDED               Shared library: [librte_pdump.so.2=
0.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_pipeline.so.20.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_pmd_bbdev_fpga_lte_fec.so.20.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_pmd_bnxt.so.20.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_pmd_bond.so.20.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_pmd_crypto_scheduler.so.20.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_pmd_i40e.so.20.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_pmd_ixgbe.so.20.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_pmd_octeontx.so.20.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_pmd_octeontx2.so.20.0]
 0x0000000000000001 NEEDED               Shared library: [librte_port.so.20=
.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_rawdev.so.20.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_reorder.so.20.0]
 0x0000000000000001 NEEDED               Shared library: [librte_rib.so.0.2=
00]
 0x0000000000000001 NEEDED               Shared library: [librte_ring.so.20=
.0]
 0x0000000000000001 NEEDED               Shared library: [librte_sched.so.2=
0.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_security.so.20.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_stack.so.0.200]
 0x0000000000000001 NEEDED               Shared library: [librte_table.so.2=
0.0]
 0x0000000000000001 NEEDED               Shared library:
[librte_telemetry.so.0.200]
 0x0000000000000001 NEEDED               Shared library: [librte_timer.so.2=
0.0]
 0x0000000000000001 NEEDED               Shared library: [libthr.so.3]
 0x0000000000000001 NEEDED               Shared library: [libz.so.6]
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: deinstall      >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D>  Deinstalling for dpdk
=3D=3D=3D>   Deinstalling dpdk-19.11.12
Updating database digests format: .......... done
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packag=
es
in the universe):

Installed packages to be REMOVED:
        dpdk: 19.11.12

Number of packages to be removed: 1

The operation will free 30 MiB.
[freebsd13x64-default] [1/1] Deinstalling dpdk-19.11.12...
[freebsd13x64-default] [1/1] Deleting files for dpdk-19.11.12: .......... d=
one
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D>> Checking for extra files and directories
[00:05:50] Installing from package
[freebsd13x64-default] Installing dpdk-19.11.12...
[freebsd13x64-default] Extracting dpdk-19.11.12: .......... done
=3D=3D=3D=3D=3D
Message from dpdk-19.11.12:

--
The Intel(R) DPDK requires two kernel modules to be loaded in order to run.
To load these modules add loading lines to /boot/loader.conf

        contigmem_load=3D"YES"
        nic_uio_load=3D"YES"

The modules each take a number of parameters. These should be set in
loader.conf
before the above two lines to load the module.

* The "contigmem" module is used to reserve contiguous blocks of physical
memory
  for packet buffer use. It takes parameters for the number and size of blo=
cks
  to be reserved. An example is below, reserving a single 1G block:

        hw.contigmem.num_buffers=3D1
        hw.contigmem.buffer_size=3D1073741824

* The "nic_uio" module is used to expose the network card (NIC) hardware
  directly to userspace for use with the Intel(R) DPDK. If the NIC ports to=
 be
  used are in use by an existing driver, the nic_uio module can unbind the =
port
  from its existing driver when requested to do so. This is done by passing=
 the
  relevant PCI bus, device and function settings to the driver as parameter=
s.
  For example:

        hw.nic_uio.bdfs=3D"2:0:0,2:0:1"
[00:05:51] Cleaning up
=3D=3D=3D>  Cleaning for dpdk-19.11.12
[00:05:52] Deinstalling package
Updating database digests format: . done
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packag=
es
in the universe):

Installed packages to be REMOVED:
        dpdk: 19.11.12

Number of packages to be removed: 1

The operation will free 30 MiB.
[freebsd13x64-default] [1/1] Deinstalling dpdk-19.11.12...
[freebsd13x64-default] [1/1] Deleting files for dpdk-19.11.12: .......... d=
one
build of net/dpdk | dpdk-19.11.12 ended at Fri Oct 14 23:16:29 CEST 2022

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267060-7788-yKxzF2ZOeb>