https://bugs.dpdk.org/show_bug.cgi?id=554
Zhang, RobinX (robinx.zh...@intel.com) changed:
What|Removed |Added
Resolution|--- |WONTFIX
C
Hi,
-Original Message-
From: Ferruh Yigit
Sent: Thursday, January 28, 2021 21:35
To: Huang, Wei ; dev@dpdk.org; Xu, Rosen
; Zhang, Qi Z
Cc: sta...@dpdk.org; Zhang, Tianfei
Subject: Re: [dpdk-dev] [PATCH v12 4/4] examples/ifpga: add example for ifpga
opae API
On 1/26/2021 6:45 AM, We
Hi,
-Original Message-
From: Ferruh Yigit
Sent: Thursday, January 28, 2021 21:30
To: Huang, Wei ; dev@dpdk.org; Xu, Rosen
; Zhang, Qi Z
Cc: sta...@dpdk.org; Zhang, Tianfei
Subject: Re: [dpdk-stable] [PATCH v12 3/4] raw/ifpga: add fpga helper function
On 1/26/2021 6:45 AM, Wei Huang w
-Original Message-
From: Ferruh Yigit
Sent: Thursday, January 28, 2021 21:25
To: Huang, Wei ; dev@dpdk.org; Xu, Rosen
; Zhang, Qi Z
Cc: sta...@dpdk.org; Zhang, Tianfei ; Ray Kinsella
; Hemant Agrawal
Subject: Re: [dpdk-dev] [PATCH v12 1/4] raw/ifpga: add fpga rsu function
On 1/26/2
Hi Team ,
Can someone help me to figure out how to enable the Mellanox Driver flag
in meson.build file , so that dpdk 20.11 compiles with mlx driver enabled.
Best Regards
Puneet
On Wed, Jan 27, 2021 at 7:30 PM Kalesh A P
wrote:
>
> From: Kalesh AP
>
> Commit "899f06130724" broke the update of mbuf flags for PTP packets.
> "mbuf->ol_flags" is overwritten in bnxt_set_ol_flags() function.
>
> Fixes: 899f06130724 ("net/bnxt: add Rx logic for 58818 chips")
>
> Signed-off-by:
For legacy modes, rename ring_generic/c11 to ring_generic/c11_pvt.
Furthermore, add new file ring_elem_pvt.h which includes ring_do_eq/deq
and ring element copy/delete APIs.
For other modes, rename xx_c11_mem to xx_elem_pvt. Move all private APIs
into these new header files.
Finally, the external
Add __rte prefix before update_tail API because it is a internal
function.
Signed-off-by: Feifei Wang
Reviewed-by: Honnappa Nagarahalli
Reviewed-by: Ruifeng Wang
Acked-by: Konstantin Ananyev
---
lib/librte_ring/rte_ring_c11_mem.h | 4 ++--
lib/librte_ring/rte_ring_elem.h| 4 ++--
lib/libr
When testing ring performance in the case that multiple lcores are mapped to
the same physical core, e.g. --lcores '(0-3)@10', it takes a very long time
to wait for the "enqueue_dequeue_bulk_helper" to finish. This is because
too much iteration numbers and extremely low efficiency for enqueue and
d
Do some work for ring refactoring, which includes:
1. add rte prefix before update tail API
2. Move all private APIs into new header files
v2:
1. add rte_ prefixes for private files (Konstantin)
v3:
1. fix compile issue of file name bug
Feifei Wang (3):
test/ring: reduce iteration numbers to m
Hi Beilei,
> -Original Message-
> From: Xing, Beilei
> Sent: Friday, January 29, 2021 11:34 AM
> To: Zhang, AlvinX ; Guo, Jia ;
> Zhang, Qi Z
> Cc: dev@dpdk.org
> Subject: RE: [PATCH] net/i40e: fix X722 FDIR field mask
>
>
>
> > -Original Message-
> > From: Zhang,Alvin
> > Se
On Fri, 29 Jan 2021 03:17:50 +
Honnappa Nagarahalli wrote:
>
>
> >
> > > >
> > > > Hi Feifei,
> > > >
> > > > >
> > > > > The variable "wrk_cmd" is a signal to control threads from running
> > > > > and stopping. When worker lcores load "wrk_cmd ==
> > WRK_CMD_RUN",
> > > > > they
Tested-by: Zhou, Jun
-Original Message-
From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Zhang,Alvin
Sent: Friday, January 29, 2021 10:09 AM
To: Guo, Jia ; Xing, Beilei ; Zhang,
Qi Z
Cc: dev@dpdk.org
Subject: [dpdk-dev] [PATCH] net/i40e: fix X722 FDIR field mask
From: Alvin Zhang
Hi Beilei,
Thanks for your review.
In theory, RSS does have the same issue,
but in fact, there is no command to set the mask bit of these field when
configuring RSS.
BR,
Alvin
> -Original Message-
> From: Xing, Beilei
> Sent: Friday, January 29, 2021 11:34 AM
> To: Zhang, AlvinX ; Gu
> -Original Message-
> From: Zhang,Alvin
> Sent: Friday, January 29, 2021 10:09 AM
> To: Guo, Jia ; Xing, Beilei ; Zhang,
> Qi Z
> Cc: dev@dpdk.org
> Subject: [PATCH] net/i40e: fix X722 FDIR field mask
>
> From: Alvin Zhang
>
> The absolute field offsets of IPv4 or IPv6 header are r
Hi ferruh and maxime:
v6 changes:
send v6. Let us discuss if merge in this or early next release.
Sorry that forget to reply to previous message id.
- change to DEBUG level for IO bar detection in pci_uio_ioport_map
- rework the code in iobar branch
- fixes commit message forma
From: "huawei.xhw"
With IO BAR, we get PIO(programmed IO) address.
With MMIO BAR, we get mapped virtual address.
We distinguish PIO(Programmed IO) and MMIO(memory mapped IO) by their address
like how kernel does.
ioread/write8/16/32 is provided to access PIO/MMIO.
By the way, for virtio on arch
From: "huawei.xhw"
Currently virtio PMD asssumes legacy device uses PIO bar.
There are three ways to get PIO(PortIO) address for virtio legacy device.
under igb_uio, get pio address from uio/uio# sysfs attribute
under uio_pci_generic:
for X86, get PIO address from /proc/ioport
From: "huawei.xhw"
virtio PMD assumes legacy device only supports PIO BAR resource. This is wrong.
As we need to create lots of devices, as PIO resource on x86 is very limited,
we expose MMIO(memory IO) BAR.
Kernel supports both PIO and MMIO BAR for legacy virtio-pci device, and for all
other
>
> > >
> > > Hi Feifei,
> > >
> > > >
> > > > The variable "wrk_cmd" is a signal to control threads from running
> > > > and stopping. When worker lcores load "wrk_cmd ==
> WRK_CMD_RUN",
> > > > they
> > > start
> > > > running and when worker lcores load "wrk_cmd == WRK_CMD_STOP",
> > > they
>
Hi Paolo,
> -Original Message-
> From: Wang, Haiyue
> Sent: Friday, January 29, 2021 10:02
> To: Paolo Valerio
> Cc: Guo, Jia ; Aaron Conole ;
> dev@dpdk.org
> Subject: RE: ixgbe and UDP with zero checksum
>
> > -Original Message-
> > From: Paolo Valerio
> > Sent: Thursday, Jan
> -Original Message-
> From: dev On Behalf Of Jingjing Wu
> Sent: Thursday, January 28, 2021 11:00 PM
> To: dev@dpdk.org
> Cc: Wu, Jingjing ; Xing, Beilei
> ;
> sta...@dpdk.org
> Subject: [dpdk-dev] [PATCH v2] net/iavf: fix vector mapping with queue
>
> Fix the vector mapping with que
From: Alvin Zhang
The absolute field offsets of IPv4 or IPv6 header are related to
hardware configuration. The X710 and X722 have different hardware
configurations, and users can even modify the hardware configuration.
Therefore, The default values cannot be used when calculating mask
offset.
co
> -Original Message-
> From: Paolo Valerio
> Sent: Thursday, January 28, 2021 05:35
> To: Wang, Haiyue
> Cc: Guo, Jia ; Aaron Conole ;
> dev@dpdk.org
> Subject: RE: ixgbe and UDP with zero checksum
>
> "Wang, Haiyue" writes:
>
> > Hi Paolo,
> >
> >> -Original Message-
> >> Fro
From: Alvin Zhang
The absolute field offsets of IPv4 or IPv6 header are related to
hardware configuration. The X710 and X722 have different hardware
configurations, and users can even modify the hardware configuration.
Therefore, The default values cannot be used when calculating mask
offset.
co
在 2021/1/29 7:41, Ferruh Yigit 写道:
On 1/22/2021 10:18 AM, Lijun Ou wrote:
From: Chengwen Feng
This patch support LSC(Link Status Change) event report.
There is a user config for lsc, 'dev->data->dev_conf.intr_conf.lsc',
which seems not taken into account.
Frist of all, thank you for yo
On Tue, Jan 26, 2021 at 6:01 AM Ferruh Yigit wrote:
>
> On 1/26/2021 3:45 AM, Lance Richardson wrote:
> > On Mon, Jan 25, 2021 at 7:44 PM Ferruh Yigit wrote:
> >>
> + if (rx_offloads != port->dev_conf.rxmode.offloads) {
> + uint16_t qid;
> +
> +
在 2021/1/28 22:46, Ferruh Yigit 写道:
On 1/28/2021 12:43 PM, Lijun Ou wrote:
Add TM(Traffic Management) feature with hns3 in release notes.
It includes:
1. configure port's peak rate with PF
2. configure TC's peak rate with PF
Fixes: c09c7847d892 ("net/hns3: support traffic management")
Cc: st
在 2021/1/28 22:12, Thomas Monjalon 写道:
28/01/2021 13:43, Lijun Ou:
The hns3 PMD add FEC features implementation in 20.11.
Therefore, need to update the hns3.ini for supporting.
Fixes: 9bf2ea8dbc65 ("net/hns3: support FEC")
Cc: sta...@dpdk.org
Signed-off-by: Lijun Ou
---
doc/guides/nics/f
1. Packet transmit function for both otx and otx2 are added.
2. Flushing transmit(command) queue when pending commands are more than
maximum allowed value (currently 16).
3. Scatter gather support if the packet spans multiple buffers.
Signed-off-by: Nalla Pradeep
---
drivers/net/octeontx_ep/o
Dev start and stop operations are added. To accomplish this internal
functions to enable or disable io queues are incorporated.
Signed-off-by: Nalla Pradeep
---
drivers/net/octeontx_ep/otx2_ep_vf.c| 107
drivers/net/octeontx_ep/otx_ep_common.h | 8 ++
drivers/net/octeo
Configuring hardware registers with command queue(iq) and driver output
queue(oq) parameters.
List of parameters configured for IQ after making sure it is idle
1. Base address
2. Instruction size
3. Disabling interrupts for fastpath
List of parameters configured for OQ after making sure it is idle
Function to deliver packets from DROQ to application is added. It also
fills DROQ with receive buffers timely such that device can fill them
with incoming packets.
Signed-off-by: Nalla Pradeep
---
drivers/net/octeontx_ep/otx_ep_common.h | 1 +
drivers/net/octeontx_ep/otx_ep_ethdev.c | 3 +
d
Adding bare minimum PMD library and doc build infrastructure
and claim the maintainership for octeontx end point PMD.
Signed-off-by: Nalla Pradeep
---
MAINTAINERS | 9
doc/guides/nics/features/octeontx_ep.ini | 10 +
doc/guides/nics/index.rst
Receive queue setup involves allocating memory for the queue,
initializing data structure representing the queue and filling queue
with receive buffers of rx descriptor count. Receive queues are referred
as droq. Hardware fills the receive buffers in queue with the packet.
In receive queue release
Transmit queue setup involves allocating memory for the command queue
considering tx descriptor count and initializing data structure
representing the queue. Transmit queue release function frees the
command queue.
Signed-off-by: Nalla Pradeep
---
drivers/net/octeontx_ep/otx_ep_common.h | 88 ++
Functions to setup device, basic input queue and output queue registers
are added.
Signed-off-by: Nalla Pradeep
---
drivers/net/octeontx_ep/meson.build | 2 +
drivers/net/octeontx_ep/otx2_ep_vf.c| 131 +
drivers/net/octeontx_ep/otx2_ep_vf.h| 11 ++
drivers/net/
Add device information get and device configure operations.
Signed-off-by: Nalla Pradeep
---
doc/guides/nics/features/octeontx_ep.ini | 1 +
drivers/net/octeontx_ep/otx_ep_common.h | 14
drivers/net/octeontx_ep/otx_ep_ethdev.c | 81 +++-
drivers/net/octeontx_ep/otx_ep
Add basic init and uninit function which includes
initializing fields of ethdev private structure.
Signed-off-by: Nalla Pradeep
---
drivers/net/octeontx_ep/otx_ep_common.h | 24 +++-
drivers/net/octeontx_ep/otx_ep_ethdev.c | 75 +++--
2 files changed, 93 insertions(+), 6
add basic PCIe ethdev probe and remove.
Signed-off-by: Nalla Pradeep
---
drivers/common/octeontx2/otx2_common.h | 2 +
drivers/net/octeontx_ep/meson.build | 2 +
drivers/net/octeontx_ep/otx_ep_common.h | 14 +++
drivers/net/octeontx_ep/otx_ep_ethdev.c | 56 +
d
Device id to be probed by octeontx_ep raw device pmd is changed from
B203 to B204. B203 is for octeontx_ep net device pmd to probe.
Signed-off-by: Nalla Pradeep
---
drivers/common/octeontx2/otx2_common.h| 3 ++-
drivers/raw/octeontx2_ep/otx2_ep_rawdev.c | 6 +++---
2 files changed, 5 inserti
v2:
Fixed review comments from sburla at marvell
v3:
Fixed review comments from jerinj at marvell
v4:
Fixed MAITAINERS file
v5:
Fixed review comments from Ferruh yigit at intel
v6:
Created separate patch for octeontx_ep raw driver changes.
Used pmd specific log types instead of 'RTE_LOG
On 1/22/2021 10:18 AM, Lijun Ou wrote:
This series add a new feature LSC event report and
two bugfixes as well as some cleanup patches.
Chengchang Tang (2):
net/hns3: reconstruct the Rx interrupt map
net/hns3: fix interrupt resources in Rx interrupt mode
Chengwen Feng (1):
net/hns3: su
On 1/22/2021 10:18 AM, Lijun Ou wrote:
From: Chengwen Feng
This patch support LSC(Link Status Change) event report.
There is a user config for lsc, 'dev->data->dev_conf.intr_conf.lsc', which seems
not taken into account.
Also 'RTE_PCI_DRV_INTR_LSC' should be set in 'rte_pci_driver.drv_flag
21/01/2021 18:21, David Hunt:
> --- a/lib/librte_power/version.map
> +++ b/lib/librte_power/version.map
> + # added in 21.02
> + rte_power_guest_channel_receive_msg;
> + rte_power_guest_channel_send_msg;
This should be in the previous patch otherwise it does not compile.
On 1/26/2021 3:49 AM, Jiawei Wang wrote:
When the RSS with null key was set in sample actions list, it
caused the segmentation fault since the RSS key pointer was
NULL while did the memory copy.
This patch adds the RSS key NULL pointer checking before copying
to fix the segmentation fault issue.
15/01/2021 13:52, David Hunt:
> when vm_power_manager is started, it takes over power management on
> all cores. This should be limited to cores defined in the core mask.
>
> When initialising, if a core is not on the coremask, skip it. Applies
> to both initialisation and exit.
>
> Signed-off-by
On 1/28/2021 9:36 PM, Lance Richardson wrote:
On Tue, Jan 26, 2021 at 6:01 AM Ferruh Yigit wrote:
On 1/26/2021 3:45 AM, Lance Richardson wrote:
On Mon, Jan 25, 2021 at 7:44 PM Ferruh Yigit wrote:
+ if (rx_offloads != port->dev_conf.rxmode.offloads) {
+ uint16_t qid;
+
28/01/2021 20:05, Dmitry Kozlyuk:
> "llvm-ar xv lib.a" from LLVM 8 doesn't print extracted object file
> names. The effect of "v" is not formally specified either.
> Use "llvm-ar t" to get archive member names.
>
> Reported-by: XuemingX Zhang
>
> Signed-off-by: Dmitry Kozlyuk
Applied, thanks
28/01/2021 13:28, David Marchand:
> On Wed, Jan 27, 2021 at 3:47 PM Leyi Rong wrote:
> >
> > This patchset fix mingw build error when avx512 is introduced.
> >
> > ---
> > v2:
> > - Set i40e_avx512_cc_support to false to avoid the build error under
> > windows with mingw.
> >
> > Leyi Rong (2):
28/01/2021 21:35, Dmitry Kozlyuk:
> On Tue, 26 Jan 2021 16:51:19 +, Ferruh Yigit wrote:
> > On 1/26/2021 4:48 PM, Thomas Monjalon wrote:
> > > 26/01/2021 17:39, Ferruh Yigit:
> > >> On 1/26/2021 4:22 PM, Thomas Monjalon wrote:
> > >>> 26/01/2021 17:17, Rong, Leyi:
> > >> On 1/20/2021
https://bugs.dpdk.org/show_bug.cgi?id=619
Thomas Monjalon (tho...@monjalon.net) changed:
What|Removed |Added
CC||tho...@monjalon.net
On Tue, 26 Jan 2021 16:51:19 +, Ferruh Yigit wrote:
> On 1/26/2021 4:48 PM, Thomas Monjalon wrote:
> > 26/01/2021 17:39, Ferruh Yigit:
> >> On 1/26/2021 4:22 PM, Thomas Monjalon wrote:
> >>> 26/01/2021 17:17, Rong, Leyi:
> >> On 1/20/2021 11:21 PM, Ferruh Yigit wrote:
> >>
> >
On Tue, Jan 26, 2021 at 02:22:43PM +0530, sk...@marvell.com wrote:
> From: Sunil Kumar Kori
>
> Maximum Rx packet length is getting updated twice which
> corrupts actual value.
>
> Fixes: 3151e6a687a3 ("net/octeontx: support MTU")
> Cc: sta...@dpdk.org
>
> Signed-off-by: Sunil Kumar Kori
Than
Cannot dereference pointer for token[1] unless valid.
Fixes: 5074e1d551 ("examples/pipeline: add configuration commands")
Cc: sta...@dpdk.org
Signed-off-by: Cristian Dumitrescu
---
examples/pipeline/cli.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/pipeline/cli.
"llvm-ar xv lib.a" from LLVM 8 doesn't print extracted object file
names. The effect of "v" is not formally specified either.
Use "llvm-ar t" to get archive member names.
Reported-by: XuemingX Zhang
Signed-off-by: Dmitry Kozlyuk
---
buildtools/gen-pmdinfo-cfile.py | 11 ++-
1 file chan
Add the ring input/output port type for the SWX pipeline.
Signed-off-by: Cristian Dumitrescu
---
doc/api/doxy-api-index.md | 1 +
examples/pipeline/cli.c | 131
examples/pipeline/obj.c | 76 +++
examples/pipeline/obj.h | 21 ++
l
On Thu, Jan 28, 2021 at 11:41:44AM +, Bruce Richardson wrote:
> On Thu, Jan 28, 2021 at 12:12:44PM +0100, Thomas Monjalon wrote:
> > 27/01/2021 18:33, Bruce Richardson:
> > > For CI builds, turn on the checking of includes.
> > >
> > > Signed-off-by: Bruce Richardson Acked-by:
> > > Aaron Con
On 1/25/2021 1:20 AM, Li Zhang wrote:
Currently the flow Meter algorithms in rte_flow
only supports bytes per second(BPS).
Such as Single Rate Three Color Marker (srTCM rfc2697)
This RFC adds the packet per second definition in
Meter algorithms structure,
to support the rte_mtr APIs with type srT
On 1/28/2021 5:10 PM, Alexander Kozyrev wrote:
There is a "cast to pointer from integer of different size"
compilation failure on 32-bit machines introduced by the
RTE_FLOW_ACTION_TYPE_MODIFY_FIELD implementation in mlx5 PMD.
Cast the specified value to be used as RTE_FLOW_FIELD_POINTER
to a poi
On 1/25/2021 5:58 PM, Ido Goshen wrote:
Signed-off-by: Ido Goshen
<...>
@@ -695,6 +708,10 @@ eth_stats_get(struct rte_eth_dev *dev, struct
rte_eth_stats *stats)
stats->q_ibytes[i] = internal->rx_queue[i].rx_stat.bytes;
rx_packets_total += stats->q_ipackets[i]
On 1/25/2021 5:58 PM, Ido Goshen wrote:
Signed-off-by: Ido Goshen
---
drivers/net/pcap/rte_eth_pcap.c | 20
1 file changed, 20 insertions(+)
diff --git a/drivers/net/pcap/rte_eth_pcap.c b/drivers/net/pcap/rte_eth_pcap.c
index a32b1f3f3..83e208514 100644
--- a/drivers/net
On Thu, Jan 28, 2021 at 05:46:16PM +0100, Thomas Monjalon wrote:
> 28/01/2021 16:16, Bruce Richardson:
> > On Thu, Jan 28, 2021 at 02:16:10PM +, Bruce Richardson wrote:
> > > On Thu, Jan 28, 2021 at 02:36:25PM +0100, David Marchand wrote:
> > > > On Thu, Jan 28, 2021 at 12:20 PM Bruce Richardso
On Thu, Jan 28, 2021 at 12:31:20PM +0100, David Marchand wrote:
> On Thu, Jan 28, 2021 at 12:27 PM Bruce Richardson
> wrote:
> > > > +# some ethdev headers depend on bus headers
> > > > +includes = include_directories('../../drivers/bus/pci',
> > > > + '../../drivers/bus/vdev')
> > >
> > > e
There is a "cast to pointer from integer of different size"
compilation failure on 32-bit machines introduced by the
RTE_FLOW_ACTION_TYPE_MODIFY_FIELD implementation in mlx5 PMD.
Cast the specified value to be used as RTE_FLOW_FIELD_POINTER
to a pointer with an appropriate size suited for underlyi
Attaching to an NVMe disk on Windows using SPDK requires the
PCI class ID and device.bus fields. Decode the class ID from the PCI
device info strings if it is present and set device.bus.
Signed-off-by: Nick Connolly
---
v3:
* Put version history at top - v2 mistakenly had it after the diffs
v2:
Attaching to an NVMe disk on Windows using SPDK requires the
PCI class ID and device.bus fields. Decode the class ID from the PCI
device info strings if it is present and set device.bus.
Signed-off-by: Nick Connolly
---
drivers/bus/pci/windows/pci.c | 15 ++-
1 file changed, 14 inser
On 1/28/2021 3:22 PM, Nalla Pradeep wrote:
1. Packet transmit function for both otx and otx2 are added.
2. Flushing transmit(command) queue when pending commands are more than
maximum allowed value (currently 16).
3. Scatter gather support if the packet spans multiple buffers.
Signed-off-by:
On 1/28/2021 3:22 PM, Nalla Pradeep wrote:
Function to deliver packets from DROQ to application is added. It also
fills DROQ with receive buffers timely such that device can fill them
with incoming packets.
Signed-off-by: Nalla Pradeep
<...>
+/* Check for response arrival from OCTEON TX2
+
On 1/28/2021 3:22 PM, Nalla Pradeep wrote:
Transmit queue setup involves allocating memory for the command queue
considering tx descriptor count and initializing data structure
representing the queue. Transmit queue release function frees the
command queue.
Signed-off-by: Nalla Pradeep
<...>
On 1/28/2021 3:22 PM, Nalla Pradeep wrote:
Add device information get and device configure operations.
Signed-off-by: Nalla Pradeep
<...>
+static int
+otx_ep_dev_configure(struct rte_eth_dev *eth_dev)
+{
+ struct otx_ep_device *otx_epvf = OTX_EP_DEV(eth_dev);
+ struct rte_eth_de
On 1/28/2021 3:22 PM, Nalla Pradeep wrote:
Add basic init and uninit function which includes
initializing fields of ethdev private structure.
Signed-off-by: Nalla Pradeep
---
drivers/common/octeontx2/otx2_common.h | 2 +-
drivers/net/octeontx_ep/otx_ep_common.h | 19 ++-
drivers/net/o
28/01/2021 16:16, Bruce Richardson:
> On Thu, Jan 28, 2021 at 02:16:10PM +, Bruce Richardson wrote:
> > On Thu, Jan 28, 2021 at 02:36:25PM +0100, David Marchand wrote:
> > > On Thu, Jan 28, 2021 at 12:20 PM Bruce Richardson
> > > wrote:
> > > > > If the compiler has neither error or diagnose_i
Hi Lukasz,
On 19/1/2021 3:59 AM, Lukasz Wojciechowski wrote:
The distributor library implementation uses a cyclic queue to store
packets returned from workers. These packets can be later collected
with rte_distributor_returned_pkts() call.
However the queue has limited capacity. It is able to co
> -Original Message-
> From: Bruce Richardson
> Sent: Wednesday, January 27, 2021 12:33 PM
> Subject: [PATCH v6 4/8] ethdev: make driver-only headers private
>
> [Please note: This e-mail is from an EXTERNAL e-mail address]
>
> The rte_ethdev_driver.h, rte_ethdev_vdev.h and rte_ethdev_pc
https://bugs.dpdk.org/show_bug.cgi?id=628
Bug ID: 628
Summary: Possible deadlock in testpmd
Product: DPDK
Version: 20.08
Hardware: x86
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: High
1. Packet transmit function for both otx and otx2 are added.
2. Flushing transmit(command) queue when pending commands are more than
maximum allowed value (currently 16).
3. Scatter gather support if the packet spans multiple buffers.
Signed-off-by: Nalla Pradeep
---
drivers/net/octeontx_ep/o
Configuring hardware registers with command queue(iq) and driver output
queue(oq) parameters.
List of parameters configured for IQ after making sure it is idle
1. Base address
2. Instruction size
3. Disabling interrupts for fastpath
List of parameters configured for OQ after making sure it is idle
Adding bare minimum PMD library and doc build infrastructure
and claim the maintainership for octeontx end point PMD.
Signed-off-by: Nalla Pradeep
---
MAINTAINERS | 9
doc/guides/nics/features/octeontx_ep.ini | 10 +
doc/guides/nics/index.rst
Function to deliver packets from DROQ to application is added. It also
fills DROQ with receive buffers timely such that device can fill them
with incoming packets.
Signed-off-by: Nalla Pradeep
---
drivers/net/octeontx_ep/otx_ep_common.h | 2 +
drivers/net/octeontx_ep/otx_ep_ethdev.c | 3 +
d
Transmit queue setup involves allocating memory for the command queue
considering tx descriptor count and initializing data structure
representing the queue. Transmit queue release function frees the
command queue.
Signed-off-by: Nalla Pradeep
---
drivers/net/octeontx_ep/otx_ep_common.h | 90 ++
Dev start and stop operations are added. To accomplish this internal
functions to enable or disable io queues are incorporated.
Signed-off-by: Nalla Pradeep
---
drivers/net/octeontx_ep/otx2_ep_vf.c| 107
drivers/net/octeontx_ep/otx_ep_common.h | 8 ++
drivers/net/octeo
Receive queue setup involves allocating memory for the queue,
initializing data structure representing the queue and filling queue
with receive buffers of rx descriptor count. Receive queues are referred
as droq. Hardware fills the receive buffers in queue with the packet.
In receive queue release
Add device information get and device configure operations.
Signed-off-by: Nalla Pradeep
---
doc/guides/nics/features/octeontx_ep.ini | 1 +
drivers/net/octeontx_ep/otx_ep_common.h | 15 +
drivers/net/octeontx_ep/otx_ep_ethdev.c | 81 +++-
drivers/net/octeontx_ep/otx_e
Functions to setup device, basic input queue and output queue registers
are added.
Signed-off-by: Nalla Pradeep
---
drivers/net/octeontx_ep/meson.build | 2 +
drivers/net/octeontx_ep/otx2_ep_vf.c| 131 +
drivers/net/octeontx_ep/otx2_ep_vf.h| 11 ++
drivers/net/
Add basic init and uninit function which includes
initializing fields of ethdev private structure.
Signed-off-by: Nalla Pradeep
---
drivers/common/octeontx2/otx2_common.h | 2 +-
drivers/net/octeontx_ep/otx_ep_common.h | 19 ++-
drivers/net/octeontx_ep/otx_ep_ethdev.c | 72
This patch set contains PMD with minimal set of operations that can
drive both Octeon Tx and Tx2 in endpoint.
v2:
Fixed review comments from sburla at marvell
v3:
Fixed review comments from jerinj at marvell
v4:
Fixed MAITAINERS file
v5:
Fixed review comments from Ferruh yigit at intel
Na
add basic PCIe ethdev probe and remove.
Signed-off-by: Nalla Pradeep
---
drivers/common/octeontx2/otx2_common.h| 3 ++
drivers/net/octeontx_ep/meson.build | 2 +
drivers/net/octeontx_ep/otx_ep_common.h | 14 ++
drivers/net/octeontx_ep/otx_ep_ethdev.c | 56
On Thu, Jan 28, 2021 at 02:16:10PM +, Bruce Richardson wrote:
> On Thu, Jan 28, 2021 at 02:36:25PM +0100, David Marchand wrote:
> > On Thu, Jan 28, 2021 at 12:20 PM Bruce Richardson
> > wrote:
> > > > If the compiler has neither error or diagnose_if support, an internal
> > > > API can be call
Fix the vector mapping with queue by changing the recircle when
exceeds RX_VEC_START + nb_msix;
Fixes: d6bde6b5eae9 ("net/avf: enable Rx interrupt")
Signed-off-by: Jingjing Wu
---
v2:
- fix compile warning.
drivers/net/iavf/iavf_ethdev.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletion
On 1/28/2021 12:43 PM, Lijun Ou wrote:
Add TM(Traffic Management) feature with hns3 in release notes.
It includes:
1. configure port's peak rate with PF
2. configure TC's peak rate with PF
Fixes: c09c7847d892 ("net/hns3: support traffic management")
Cc: sta...@dpdk.org
Signed-off-by: Lijun Ou
> >
> > Hi Feifei,
> >
> > >
> > > The variable "wrk_cmd" is a signal to control threads from running and
> > > stopping. When worker lcores load "wrk_cmd == WRK_CMD_RUN", they
> > start
> > > running and when worker lcores load "wrk_cmd == WRK_CMD_STOP",
> > they
> > > stop.
> > >
> > > For the
>> The patch of device SF capability, but seems I misunderstood your suggestion.
>> Let me explain process to create a SF:
>> 1. SF can be created on the fly with scripts, unlike VF which is statically
>> pre-created.
>
>Is there a maximum index and maximum total number of SF's created? How to fi
On Thu, Jan 28, 2021 at 02:36:25PM +0100, David Marchand wrote:
> On Thu, Jan 28, 2021 at 12:20 PM Bruce Richardson
> wrote:
> > > If the compiler has neither error or diagnose_if support, an internal
> > > API can be called without ALLOW_INTERNAL_API.
> > > I prefer a build error complaining on a
28/01/2021 13:43, Lijun Ou:
> The hns3 PMD add FEC features implementation in 20.11.
> Therefore, need to update the hns3.ini for supporting.
>
> Fixes: 9bf2ea8dbc65 ("net/hns3: support FEC")
> Cc: sta...@dpdk.org
>
> Signed-off-by: Lijun Ou
> ---
> doc/guides/nics/features/hns3.ini | 1 +
> 1
On Tue, Jan 19, 2021 at 4:59 AM Lukasz Wojciechowski
wrote:
>
> The distributor library implementation uses a cyclic queue to store
> packets returned from workers. These packets can be later collected
> with rte_distributor_returned_pkts() call.
> However the queue has limited capacity. It is abl
> -Original Message-
> From: dev On Behalf Of Xing, Beilei
> Sent: Thursday, January 28, 2021 11:32 AM
> To: Wu, Jingjing ; dev@dpdk.org
> Cc: sta...@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH] net/iavf: fix vector mapping with queue
>
>
>
> > -Original Message-
> > From: Wu,
28/01/2021 12:38, Bruce Richardson:
> On Thu, Jan 28, 2021 at 12:10:41PM +0100, Thomas Monjalon wrote:
> > 27/01/2021 18:33, Bruce Richardson:
> > > +* The ``check-includes.sh`` script for checking DPDK header files has
> > > been + removed, being replaced by the ``check_includes`` build option
>
On 2021/1/28 0:45, Ferruh Yigit wrote:
On 1/27/2021 2:43 PM, 谢华伟(此时此刻) wrote:
On 2021/1/27 18:32, Ferruh Yigit wrote:
I was waiting for clarification if this can be solved in virtio,
which seems clarified and decided to go with this patch, I am OK to
proceed with patch 1 & 2.
But first pa
On Thu, Jan 28, 2021 at 12:20 PM Bruce Richardson
wrote:
> > If the compiler has neither error or diagnose_if support, an internal
> > API can be called without ALLOW_INTERNAL_API.
> > I prefer a build error complaining on an unknown attribute rather than
> > silence a check.
> >
> > I.e.
> >
> >
1 - 100 of 153 matches
Mail list logo