On Thu, Mar 11, 2021 at 10:08 PM Tyler Retzlaff
wrote:
>
> Avoid expanding v and mul parameters multiple times in the macro. based
> on usage of the macro it seems like side effects were not intended.
>
> For example:
> ``return RTE_ALIGN_MUL_NEAR(rte_rdtsc() - start, CYC_PER_10MHZ);''
That's t
12/03/2021 02:44, Wang, Haiyue:
> From: Thomas Monjalon
> > -typedef int (*eth_filter_ctrl_t)(struct rte_eth_dev *dev,
> > -enum rte_filter_type filter_type,
> > -enum rte_filter_op filter_op,
> > -void *arg);
> >
On 3/12/21 11:22 AM, Thomas Monjalon wrote:
> 12/03/2021 02:44, Wang, Haiyue:
>> From: Thomas Monjalon
>>> -typedef int (*eth_filter_ctrl_t)(struct rte_eth_dev *dev,
>>> -enum rte_filter_type filter_type,
>>> -enum rte_filter_op filter_op,
>>
12/03/2021 08:09, Andrew Rybchenko:
> On 3/12/21 1:17 AM, Thomas Monjalon wrote:
> > Since rte_flow is the only API for filtering operations,
> > the legacy driver interface filter_ctrl was too much complicated
> > for the simple task of getting the struct rte_flow_ops.
> >
> > The filter type RTE
> -Original Message-
> From: Andrew Rybchenko
> Sent: Friday, March 12, 2021 16:26
> To: Thomas Monjalon ; Wang, Haiyue
>
> Cc: dev@dpdk.org; Ori Kam ; Ajit Khaparde
> ; Somnath
> Kotur ; Chas Williams ; Min Hu
> (Connor)
> ; Rahul Lakkireddy ; Hemant
> Agrawal
> ; Sachin Saxena ; Guo
On 2/26/2021 11:21 AM, Ferruh Yigit wrote:
On 2/26/2021 6:43 AM, Andrew Rybchenko wrote:
On 2/25/21 9:25 PM, Ferruh Yigit wrote:
On 2/22/2021 7:18 PM, Ajit Khaparde wrote:
Add support for forced ethernet speed setting.
Currently testpmd tries to configure the Ethernet port in autoneg mode.
It
A new feature requesting additional queues from PF is added in iavf, before
sending VIRTCHNL_OP_REQUEST_QUEUES op code, the offload capability flag
VIRTCHNL_VF_OFFLOAD_REQ_QUEUES will be checked. And due to DPDK PF is
still used by some cases, so add this offload capability flag in i40e pf.
Fixes:
timesync adjust and write_time APIs needed to account for the Rx and Tx
timestamp counters as well. Fix it since it was not done earlier.
Fixes: b11cceb83a3 ("net/bnxt: support timesync")
Cc: sta...@dpdk.org
Reviewed-by: Lance Richardson
Reviewed-by: Ajit Kumar Khaparde
Signed-off-by: Somnath K
Please apply the following fixes
Somnath Kotur (2):
net/bnxt: fix to return count in xstats get op in all cases
net/bnxt: fix Rx and Tx timestamp assignment
drivers/net/bnxt/bnxt_ethdev.c | 4
drivers/net/bnxt/bnxt_stats.c | 23 +--
2 files changed, 13 insertions(+
Driver was returning 0 if the 'xstats' parameter being passed to
xstats_get_op was NULL. This won't work on some applications that
rely on a valid count being passed even in this case so that it can
allocate memory accordingly followed by a reissue of the xstats_get_op
to get the actual stats popul
Acked-by: Jeff Guo
> -Original Message-
> From: Zhang, RobinX
> Sent: Friday, March 12, 2021 4:52 PM
> To: dev@dpdk.org
> Cc: Xing, Beilei ; Guo, Jia ; Zhang,
> RobinX
> Subject: [PATCH] net/i40e: fix Virtchnl Offload Caps missing
>
> A new feature requesting additional queues from PF
One ought to reuse existing header structs in flow items.
This particular item contains non-header fields, so it's
important to keep the header fields in a separate struct.
Signed-off-by: Ivan Malov
Reviewed-by: Andrew Rybchenko
Reviewed-by: Andy Moreton
---
lib/librte_ethdev/rte_flow.h | 44 +
One ought to reuse existing header structs in flow items.
This particular item contains non-header fields, so it's
important to keep the header fields in a separate struct.
Signed-off-by: Ivan Malov
Reviewed-by: Andrew Rybchenko
Reviewed-by: Andy Moreton
---
lib/librte_ethdev/rte_flow.h | 22 +
These fields have network byte order. Highlight it using dedicated type.
Signed-off-by: Ivan Malov
Reviewed-by: Andrew Rybchenko
Reviewed-by: Andy Moreton
---
lib/librte_net/rte_vxlan.h | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lib/librte_net/rte_vxlan.h b/lib/
One ought to reuse existing header structs in flow items.
Signed-off-by: Ivan Malov
Reviewed-by: Andrew Rybchenko
Reviewed-by: Andy Moreton
---
lib/librte_ethdev/rte_flow.h | 24 +++-
1 file changed, 19 insertions(+), 5 deletions(-)
diff --git a/lib/librte_ethdev/rte_flow.
Let the client allocate / free encap. headers.
Signed-off-by: Ivan Malov
Reviewed-by: Andrew Rybchenko
Reviewed-by: Andy Moreton
---
drivers/common/sfc_efx/base/efx.h | 21
drivers/common/sfc_efx/base/efx_mae.c | 155 ++
drivers/common/sfc_efx/version.map|
For convenience, there are two separate APIs provided, one for
adding the action and one for setting the encap. header ID.
This design allows the client driver to first build the action
set specification (which validates the order of the actions)
and, if everything is correct, proceed with allocati
From: Igor Romanov
Current API signature makes it hard to add other entities that
belong to a flow specification. Pass the flow specification
so that additional members can be accessed through the spec.
Signed-off-by: Igor Romanov
Signed-off-by: Andrew Rybchenko
Reviewed-by: Andy Moreton
Revi
Provide necessary facilities for handling this action.
Signed-off-by: Ivan Malov
Reviewed-by: Andrew Rybchenko
Reviewed-by: Andy Moreton
---
drivers/net/sfc/sfc_mae.c | 550 +-
drivers/net/sfc/sfc_mae.h | 29 ++
2 files changed, 572 insertions(+), 7 deletio
The action has no arguments.
Signed-off-by: Ivan Malov
Reviewed-by: Andrew Rybchenko
Reviewed-by: Andy Moreton
---
drivers/common/sfc_efx/base/efx.h | 5 +++
drivers/common/sfc_efx/base/efx_impl.h | 1 +
drivers/common/sfc_efx/base/efx_mae.c | 48 ++
drivers/com
If there is no VXLAN among pattern items, the action will be turned down.
Signed-off-by: Ivan Malov
Reviewed-by: Andrew Rybchenko
Reviewed-by: Andy Moreton
---
drivers/net/sfc/sfc_mae.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/drivers/net/sfc/sfc_mae.
Hi Jan,
> -Original Message-
> From: Jan Viktorin
> Sent: Friday, March 12, 2021 12:33 AM
> To: Jiawei(Jonny) Wang
> Cc: Slava Ovsiienko ; Asaf Penso
> ; dev@dpdk.org; Ori Kam
> Subject: Re: [dpdk-dev] Duplicating traffic with RTE Flow
>
> On Thu, 11 Mar 2021 02:11:07 +
> "Jiawei(J
Hi Thomas,
> -Original Message-
> From: Thomas Monjalon
> Sent: Tuesday, March 9, 2021 9:39 PM
> To: Jiawei(Jonny) Wang
> Cc: Slava Ovsiienko ; Matan Azrad
> ; Ori Kam ; dev@dpdk.org; Raslan
> Darawsheh
> Subject: Re: [PATCH] doc: update sample actions support in mlx5 guide
>
> 09/03/2
From: Kalesh AP
PMD should not set any flags to receive RoCE traffic while
configuring the vnic. Since the PMD does not support RoCE
some of the flags and code is unused. Clean it up.
Fixes: b7778e8a1c00 ("net/bnxt: refactor to properly allocate resources for
PF/VF")
Cc: sta...@dpdk.org
Signed
Update word list with VNIC and Thor to catch errors in patch title.
Suggested-by: Ferruh Yigit
Signed-off-by: Ajit Khaparde
---
devtools/words-case.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/devtools/words-case.txt b/devtools/words-case.txt
index 38084ec883..a0ff8eb5b9 100644
---
From: Kalesh AP
remove HWRM_SEQ_ID_INVALID macro.
Fixes: 804e746c7b73 ("net/bnxt: add hardware resource manager init code")
Cc: sta...@dpdk.org
Signed-off-by: Kalesh AP
Reviewed-by: Somnath Kotur
Reviewed-by: Ajit Khaparde
---
drivers/net/bnxt/bnxt_hwrm.h | 1 -
1 file changed, 1 deletion(-
This patchset contain bnxt bug fixes and enhancements.
Please apply.
v1->v2:
- Updated word list as per recommendation to include VNIC, Thor.
- Fixed checkpatch errors pointed in 2/11.
- Updated release notes to indicate HWRM API version change.
- Check and addressed warnings reported by chec
From: Kalesh AP
Removed an unnecessary extra blank line.
Signed-off-by: Kalesh AP
Reviewed-by: Somnath Kotur
---
drivers/net/bnxt/bnxt_hwrm.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/bnxt/bnxt_hwrm.c b/drivers/net/bnxt/bnxt_hwrm.c
index 5366fe72ca..e11502c706 100644
---
From: Venkat Duvvuru
Update queues per VNIC in single queue mode.
bp->rx_num_qs_per_vnic is not initialized in the single queue mode.
As a result of this when an interface is reconfigured to single
queue mode from an existing multiqueue mode, bp->rx_num_qs_per_vnic
is not updated to the value of
From: Kalesh AP
1. Used port id in async event logs.
2. Added a debug log in bnxt_hwrm_func_driver_unregister().
Signed-off-by: Kalesh AP
Reviewed-by: Somnath Kotur
Reviewed-by: Ajit Khaparde
---
drivers/net/bnxt/bnxt_cpr.c | 14 +-
drivers/net/bnxt/bnxt_hwrm.c | 2 ++
2 files
Update HWRM headers to version 1.10.2.15
which updates the backing store API for additional TQM rings.
Add support for 9th TQM ring using latest firmware interface.
Also make sure that we set only necessary bits in the enables
field in backing store request.
Signed-off-by: Ajit Khaparde
Reviewed
From: Kalesh AP
Moved fw readiness check to a new routine bnxt_check_fw_ready().
During error recovery, driver needs to wait for fw readiness.
For that, it uses bnxt_hwrm_ver_get() function now and that
function does parsing of the VER_GET response as well.
Added a new lightweight function bnxt
From: Kalesh AP
During some fatal firmware error conditions, the PCI config space
register 0x2e which normally contains the subsystem ID will become
0x. This register will revert back to the normal value after
the chip has completed core reset. If we detect this condition,
we can poll this co
From: Kalesh AP
This is a new async message that the firmware can send to check if it
can communicate with the driver. This is an added error detection
scheme that firmware can use if it suspects errors in the PCIe
interface. When the driver receives this async message, it will reply
back echoing
From: Kalesh AP
On Thor, Rx timestamp is present in the Rx completion record.
Only 32 bits of the timestamp is present in the completion.
The driver needs to periodically poll the current 48 bit
free running timer using the HWRM_PORT_TS_QUERY command.
It can combine the upper 16 bits from the HWR
On 3/12/2021 1:51 AM, Min Hu (Connor) wrote:
在 2021/3/12 2:25, Ferruh Yigit 写道:
On 3/10/2021 6:16 AM, Min Hu (Connor) wrote:
From: Hongbo Zheng
Adjust the format of hns3 RAS related structures to resolve
the static check warnings of reviewbot_c.This patch has no
impact on function.
The cor
在 2021/3/10 15:59, Thomas Monjalon 写道:
10/03/2021 02:48, oulijun:
Can we add an API such as rte_eth_get_device(pord_id)
for example:
struct rte_eth_dev *
rte_eth_get_device(uint16_t port_id)
{
return &rte_eth_devices[port_id];
}
An application is not supposed to access the struct r
在 2021/3/12 18:02, Ferruh Yigit 写道:
On 3/12/2021 1:51 AM, Min Hu (Connor) wrote:
在 2021/3/12 2:25, Ferruh Yigit 写道:
On 3/10/2021 6:16 AM, Min Hu (Connor) wrote:
From: Hongbo Zheng
Adjust the format of hns3 RAS related structures to resolve
the static check warnings of reviewbot_c.This p
On 11-Mar-21 12:13 PM, Bruce Richardson wrote:
On Wed, Mar 10, 2021 at 10:33:50AM -0800, Stephen Hemminger wrote:
On Wed, 10 Mar 2021 17:27:17 +
Bruce Richardson wrote:
On Wed, Mar 10, 2021 at 09:21:37AM -0800, Stephen Hemminger wrote:
There can be cases such as containers or other runti
在 2021/3/12 2:05, Ferruh Yigit 写道:
On 3/10/2021 6:16 AM, Min Hu (Connor) wrote:
From: Chengwen Feng
Kunpeng 930 support Tx push mode which could improve performance, It
works like below:
1. Add pcie bar45 which support driver direct write the Tx descriptor
or tail reg to it.
2. Support thre
One ought to reuse existing header structs in flow items.
This particular item contains non-header fields, so it's
important to keep the header fields in a separate struct.
Signed-off-by: Ivan Malov
Reviewed-by: Andrew Rybchenko
Reviewed-by: Andy Moreton
---
lib/librte_ethdev/rte_flow.h | 44 +
One ought to reuse existing header structs in flow items.
This particular item contains non-header fields, so it's
important to keep the header fields in a separate struct.
Signed-off-by: Ivan Malov
Reviewed-by: Andrew Rybchenko
Reviewed-by: Andy Moreton
---
lib/librte_ethdev/rte_flow.h | 22 +
These fields have network byte order. Highlight it using dedicated type.
Signed-off-by: Ivan Malov
Reviewed-by: Andrew Rybchenko
Reviewed-by: Andy Moreton
---
lib/librte_net/rte_vxlan.h | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lib/librte_net/rte_vxlan.h b/lib/
One ought to reuse existing header structs in flow items.
Signed-off-by: Ivan Malov
Reviewed-by: Andrew Rybchenko
Reviewed-by: Andy Moreton
---
lib/librte_ethdev/rte_flow.h | 21 -
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/lib/librte_ethdev/rte_flow.h b
Let the client allocate / free encap. headers.
Signed-off-by: Ivan Malov
Reviewed-by: Andrew Rybchenko
Reviewed-by: Andy Moreton
---
drivers/common/sfc_efx/base/efx.h | 21
drivers/common/sfc_efx/base/efx_mae.c | 155 ++
drivers/common/sfc_efx/version.map|
For convenience, there are two separate APIs provided, one for
adding the action and one for setting the encap. header ID.
This design allows the client driver to first build the action
set specification (which validates the order of the actions)
and, if everything is correct, proceed with allocati
From: Igor Romanov
Current API signature makes it hard to add other entities that
belong to a flow specification. Pass the flow specification
so that additional members can be accessed through the spec.
Signed-off-by: Igor Romanov
Signed-off-by: Andrew Rybchenko
Reviewed-by: Andy Moreton
Revi
Provide necessary facilities for handling this action.
Signed-off-by: Ivan Malov
Reviewed-by: Andrew Rybchenko
Reviewed-by: Andy Moreton
---
drivers/net/sfc/sfc_mae.c | 550 +-
drivers/net/sfc/sfc_mae.h | 29 ++
2 files changed, 572 insertions(+), 7 deletio
The action has no arguments.
Signed-off-by: Ivan Malov
Reviewed-by: Andrew Rybchenko
Reviewed-by: Andy Moreton
---
drivers/common/sfc_efx/base/efx.h | 5 +++
drivers/common/sfc_efx/base/efx_impl.h | 1 +
drivers/common/sfc_efx/base/efx_mae.c | 48 ++
drivers/com
If there is no VXLAN among pattern items, the action will be turned down.
Signed-off-by: Ivan Malov
Reviewed-by: Andrew Rybchenko
Reviewed-by: Andy Moreton
---
drivers/net/sfc/sfc_mae.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/drivers/net/sfc/sfc_mae.
12/03/2021 11:29, oulijun:
> 2021/3/10 15:59, Thomas Monjalon:
> > 10/03/2021 02:48, oulijun:
> >> Can we add an API such as rte_eth_get_device(pord_id)
> >>
> >> for example:
> >> struct rte_eth_dev *
> >> rte_eth_get_device(uint16_t port_id)
> >> {
> >> return &rte_eth_devices[port_id];
On 12/03/2021 07:34, Morten Brørup wrote:
> CC: ABI Policy maintainers. You might have an opinion. Or not. :-)
My 2c is that this is affecting inlined functions from include/rte_common.h.
Although not ideal, the practical effect on Binary Compatibility is therefore
likely to be _nil_.
Just a
This series add four features according to the 21.05 roadmap, and
also two cleanups added.
Chengchang Tang (1):
net/hns3: support for outer UDP cksum
Chengwen Feng (1):
net/hns3: support runtime config to select IO burst func
Hongbo Zheng (4):
net/hns3: adjust the format of RAS related str
From: Hongbo Zheng
Add support for query Tx descriptor status in hns3 driver. Check the
descriptor specified and provide the status information of the
corresponding descriptor.
Signed-off-by: Hongbo Zheng
Signed-off-by: Min Hu (Connor)
---
doc/guides/nics/features/hns3.ini | 1 +
doc/gu
This patch added oerrors stats for PF in kunpeng930.
Signed-off-by: Min Hu (Connor)
---
drivers/net/hns3/hns3_ethdev.h | 1 +
drivers/net/hns3/hns3_stats.c | 61 ++
2 files changed, 62 insertions(+)
diff --git a/drivers/net/hns3/hns3_ethdev.h b/drivers/
From: Hongbo Zheng
Add support for query Rx descriptor status in hns3 driver. Check the
descriptor specified and provide the status information of the
corresponding descriptor.
Signed-off-by: Hongbo Zheng
Signed-off-by: Min Hu (Connor)
---
doc/guides/nics/features/hns3.ini | 1 +
doc/gu
This patch added function level imissed stats for PF and VF. In kunpeng920,
imissed is supported, only including RPU drop stats in PF. In kunpeng930,
imissed is supported,including RPU drop stats and SSU drop stats in PF.
Signed-off-by: Min Hu (Connor)
---
drivers/net/hns3/hns3_cmd.h | 14
From: Hongbo Zheng
The current RAS code stores the reported RAS statistics in xstats.
This part of statistics is of little use in practice, and because
of the change of RAS scheme on Kunpeng930, the driver can not
obtain the RAS information any more, so this patch delete these
redundant RAS stati
From: Chengchang Tang
Kunpeng930 support outer UDP cksum, this patch add support for it.
Signed-off-by: Chengchang Tang
Signed-off-by: Min Hu (Connor)
---
doc/guides/rel_notes/release_21_05.rst | 1 +
drivers/net/hns3/hns3_cmd.c| 3 ++
drivers/net/hns3/hns3_ethdev.c | 3
From: Chengwen Feng
Currently, the driver support multiple IO burst function and auto
selection of the most appropriate function based on offload
configuration.
Most applications such as l2fwd/l3fwd don't provide the means to
change offload configuration, so it will use the auto selection's io
b
From: Hongbo Zheng
Adjust the format of hns3 RAS related structures to resolve
the static check warnings.
Signed-off-by: Hongbo Zheng
Signed-off-by: Min Hu (Connor)
---
drivers/net/hns3/hns3_intr.c | 2126 --
1 file changed, 1224 insertions(+), 902 dele
On Fri, Mar 12, 2021 at 10:56:20AM +, Burakov, Anatoly wrote:
> On 11-Mar-21 12:13 PM, Bruce Richardson wrote:
> > On Wed, Mar 10, 2021 at 10:33:50AM -0800, Stephen Hemminger wrote:
> > > On Wed, 10 Mar 2021 17:27:17 +
> > > Bruce Richardson wrote:
> > >
> > > > On Wed, Mar 10, 2021 at 09
PMDs use RTE_LIBRTE__DEBUG_RX|TX as compile option to wrap
data path debug code. As .config has been removed since the meson build,
It is not friendly for new DPDK users to notice those debug options.
Patch 1/8: introduces new compile options for specific Rx/Tx data path
debug in ether layer, so P
PMDs use RTE_LIBRTE__DEBUG_RX|TX as compile option to wrap
data path debug code. As .config has been removed since the meson build,
It is not friendly for new DPDK users to notice those debug options.
The patch introduces below compile options for specific Rx/Tx data path
debug, so PMD can choose
1. replace RTE_LIBRTE_FM10K_DEBUG_RX with RTE_LIBRTE_ETHDEV_DEBUG_RX.
2. replace RTE_LIBRTE_FM10K_DEBUG_TX whth RTE_LIBRTE_ETHDEV_DEBUG_TX.
3. merge RTE_LIBRTE_FM10K_DEBUG_TX_FREE and RTE_LIBRTE_ETHDEV_DEBUG
into RTE_LIBRTE_ETHDEV_DEBUG_TX
Signed-off-by: Qi Zhang
---
drivers/net/fm10k/fm10k_e
1. replace RTE_LIBRTE_E1000_DEBUG_RX with RTE_LIBRTE_ETHDEV_DEBUG_RX.
2. replace RTE_LIBRTE_E1000_DEBUG_TX whth RTE_LIBRTE_ETHDEV_DEBUG_TX.
3. merge RTE_LIBRTE_E1000_DEBUG_TX_FREE and RTE_LIBRTE_ETHDEV_DEBUG
into RTE_LIBRTE_ETHDEV_DEBUG_TX
Signed-off-by: Qi Zhang
---
drivers/net/e1000/e1000_l
1. replace RTE_LIBRTE_I40E_DEBUG_RX with RTE_LIBRTE_ETHDEV_DEBUG_RX.
2. replace RTE_LIBRTE_I40E_DEBUG_TX whth RTE_LIBRTE_ETHDEV_DEBUG_TX.
3. merge RTE_LIBRTE_I40E_DEBUG_TX_FREE and RTE_LIBRTE_ETHDEV_DEBUG
into RTE_LIBRTE_ETHDEV_DEBUG_TX
Signed-off-by: Qi Zhang
---
drivers/net/i40e/i40e_ethdev
1. replace RTE_LIBRTE_IAVF_DEBUG_RX with RTE_LIBRTE_ETHDEV_DEBUG_RX.
2. replace RTE_LIBRTE_IAVF_DEBUG_TX whth RTE_LIBRTE_ETHDEV_DEBUG_TX.
3. merge RTE_LIBRTE_IAVF_DEBUG_TX_FREE and RTE_LIBRTE_ETHDEV_DEBUG
into RTE_LIBRTE_ETHDEV_DEBUG_TX
Signed-off-by: Qi Zhang
---
drivers/net/iavf/iavf_ethdev
1. replace RTE_LIBRTE_ICE_DEBUG_RX with RTE_LIBRTE_ETHDEV_DEBUG_RX.
2. replace RTE_LIBRTE_ICE_DEBUG_TX whth RTE_LIBRTE_ETHDEV_DEBUG_TX.
3. merge RTE_LIBRTE_ICE_DEBUG_TX_FREE and RTE_LIBRTE_ETHDEV_DEBUG
into RTE_LIBRTE_ETHDEV_DEBUG_TX
Signed-off-by: Qi Zhang
---
drivers/net/ice/ice_ethdev.c |
1. replace RTE_LIBRTE_IXGBE_DEBUG_RX with RTE_LIBRTE_ETHDEV_DEBUG_RX.
2. replace RTE_LIBRTE_IXGBE_DEBUG_TX whth RTE_LIBRTE_ETHDEV_DEBUG_TX.
3. merge RTE_LIBRTE_IXGBE_DEBUG_TX_FREE and RTE_LIBRTE_ETHDEV_DEBUG
into RTE_LIBRTE_ETHDEV_DEBUG_TX
Signed-off-by: Qi Zhang
---
drivers/net/ixgbe/ixgbe_e
1. replace RTE_LIBRTE_IGC_DEBUG_RX with RTE_LIBRTE_ETHDEV_DEBUG_RX.
2. replace RTE_LIBRTE_IGC_DEBUG_TX whth RTE_LIBRTE_ETHDEV_DEBUG_TX.
3. merge RTE_LIBRTE_ETHDEV_DEBUG into RTE_LIBRTE_ETHDEV_DEBUG_TX
Signed-off-by: Qi Zhang
---
drivers/net/igc/igc_logs.h | 4 ++--
drivers/net/igc/igc_txrx.c | 2
On 12-Mar-21 12:05 PM, Bruce Richardson wrote:
On Fri, Mar 12, 2021 at 10:56:20AM +, Burakov, Anatoly wrote:
On 11-Mar-21 12:13 PM, Bruce Richardson wrote:
On Wed, Mar 10, 2021 at 10:33:50AM -0800, Stephen Hemminger wrote:
On Wed, 10 Mar 2021 17:27:17 +
Bruce Richardson wrote:
On We
On 09-Mar-21 11:44 PM, Tyler Retzlaff wrote:
use ~0ULL instead of -1ULL to avoid contridctory application of '-' sign
to integer literal where the desired type is unsigned.
Signed-off-by: Tyler Retzlaff
---
Not sure i agree. It's a very common pattern and is widely used and
understood. I mea
On 3/11/2021 8:53 AM, Devendra Singh Rawat wrote:
-Original Message-
From: Igor Russkikh
Sent: Wednesday, March 10, 2021 1:47 PM
To: dev@dpdk.org
Cc: Rasesh Mody ; Devendra Singh Rawat
; Jerin Jacob ; Igor
Russkikh
Subject: [PATCH] fix maintainers for qede driver
Removing Shahed, add
On 3/8/2021 6:51 AM, Ivan Malov wrote:
The comment got it wrong. The payload length field
does not include the fixed IPv6 header size.
Fixes: 7eca7f7fd09d ("net: add missing endianness annotations")
Fixes: af75078fece3 ("first public release")
Cc: sta...@dpdk.org
Signed-off-by: Ivan Malov
Revi
On Mon, Mar 8, 2021 at 7:44 PM Jerin Jacob wrote:
> Summary:
> 1) Ideal way of adding this feature is to add elements in the
> existing structure as mentioned
> in ("eventdev: introduce event vector Rx capability") in this series.
> 2) Since this breaking ABI, Introducing a new structure to fix
Hello,
On Thu, Mar 11, 2021 at 12:55 PM Wang, Yinan wrote:
>
> Tested-by: Wang, Yinan
>
> Tested PVP case with virtio PMD assumes legacy device, VM with below kernel
> LTS versions, all pass except vfio-pci test blocked with kernel v4.4.
> 5.10.0-051000-generic virtio-pmd te
On 3/12/2021 1:49 AM, Li, Xiaoyun wrote:
-Original Message-
From: Andrew Rybchenko
Sent: Thursday, March 11, 2021 18:49
To: Li, Xiaoyun
Cc: dev@dpdk.org
Subject: [PATCH] app/testpmd: log reason of port start failure
Provide a bit more diagnostics information when port start fails.
The meson.build files in each example directory is simply to support
building the example as part of the main SDK build, and these should not
be installed with the example's source code and makefile. The exclude of
"meson.build" only filters out the top-level examples/meson.build file,
not the file
On 3/11/2021 10:00 AM, Andrew Rybchenko wrote:
Bump copyright year to 2021.
Signed-off-by: Andrew Rybchenko
Series applied to dpdk-next-net/main, thanks.
Not really it is a trouble for me but do we really need these year updates,
what happens if we update the year only when we touch that fi
Hi Konstantin,
Comments inline.
BRs,
Xiao
> -Original Message-
> From: Ananyev, Konstantin
> Sent: Thursday, March 11, 2021 6:38 PM
> To: Wang, Xiao W ; Xia, Chenbo
> ; maxime.coque...@redhat.com
> Cc: Liu, Yong ; dev@dpdk.org; Wang, Xiao W
> ; sta...@dpdk.org
> Subject: RE: [dpdk-dev]
On 3/11/2021 7:27 PM, Tyler Retzlaff wrote:
Introduce a meson option enable_driver_sdk when true installs internal
driver headers for ethdev. this allows drivers that do not depend on
stable api/abi to be built external to the dpdk source tree.
Signed-off-by: Tyler Retzlaff
---
it's still uncl
On Fri, Mar 12, 2021 at 4:20 PM Ferruh Yigit wrote:
>
> On 3/11/2021 7:27 PM, Tyler Retzlaff wrote:
> > Introduce a meson option enable_driver_sdk when true installs internal
> > driver headers for ethdev. this allows drivers that do not depend on
> > stable api/abi to be built external to the dpd
Hi Shijith,
Some comments in-line:
> -Original Message-
> From: Shijith Thotton
> Sent: Monday, March 8, 2021 2:46 PM
> To: Carrillo, Erik G
> Cc: Shijith Thotton ; Pavan Nikhilesh
> ; Jerin Jacob ;
> dev@dpdk.org
> Subject: [PATCH 1/3] eventdev: introduce adapter flags for periodic mod
On Fri, Mar 12, 2021 at 04:25:09PM +0100, David Marchand wrote:
> On Fri, Mar 12, 2021 at 4:20 PM Ferruh Yigit wrote:
> >
> > On 3/11/2021 7:27 PM, Tyler Retzlaff wrote:
> > > Introduce a meson option enable_driver_sdk when true installs internal
> > > driver headers for ethdev. this allows driver
12/03/2021 10:44, Jiawei(Jonny) Wang:
> From: Thomas Monjalon
> > 09/03/2021 14:09, Jiawei Wang:
> > > + - Supports ``MARK``, ``COUNT``, ``QUEUE``, ``RSS`` as sample actions
> > > for
> > NIC Rx sampling/mirroring flow.
> >
> > "sample actions for NIC Rx sampling" is redundant.
> > I suggest "S
12/03/2021 16:34, Bruce Richardson:
> On Fri, Mar 12, 2021 at 04:25:09PM +0100, David Marchand wrote:
> > On Fri, Mar 12, 2021 at 4:20 PM Ferruh Yigit wrote:
> > >
> > > On 3/11/2021 7:27 PM, Tyler Retzlaff wrote:
> > > > Introduce a meson option enable_driver_sdk when true installs internal
> > >
12/03/2021 15:57, Ferruh Yigit:
> On 3/11/2021 10:00 AM, Andrew Rybchenko wrote:
> > Bump copyright year to 2021.
> >
> > Signed-off-by: Andrew Rybchenko
>
> Series applied to dpdk-next-net/main, thanks.
>
>
> Not really it is a trouble for me but do we really need these year updates,
> what h
On Fri, Mar 12, 2021 at 12:51:46PM +, Burakov, Anatoly wrote:
> On 09-Mar-21 11:44 PM, Tyler Retzlaff wrote:
> >use ~0ULL instead of -1ULL to avoid contridctory application of '-' sign
> >to integer literal where the desired type is unsigned.
> >
> >Signed-off-by: Tyler Retzlaff
> >---
>
> No
On Fri, Mar 12, 2021 at 09:05:58AM -0800, Tyler Retzlaff wrote:
> On Fri, Mar 12, 2021 at 12:51:46PM +, Burakov, Anatoly wrote:
> > On 09-Mar-21 11:44 PM, Tyler Retzlaff wrote:
> > >use ~0ULL instead of -1ULL to avoid contridctory application of '-' sign
> > >to integer literal where the desire
The ultimate goal is to remove all traces of the legacy filtering API
from ethdev_driver.h and rte_eth_ctrl.h (whole file).
This is just one more step of cleanup in progress.
The next steps will require the involvement of some driver maintainers.
v2:
- remove changes in release notes
- f
Since rte_flow is the only API for filtering operations,
the legacy driver interface filter_ctrl was too much complicated
for the simple task of getting the struct rte_flow_ops.
The filter type RTE_ETH_FILTER_GENERIC and
the filter operarion RTE_ETH_FILTER_GET are removed.
The new driver callback
The header file rte_eth_ctrl.h should not be needed because
this legacy filtering API is completely replaced with the rte_flow API.
However some definitions from this file are still used by some drivers,
but such usage is already covered by an implicit include via rte_ethdev.h.
Signed-off-by: Thom
On Fri, Mar 12, 2021 at 11:46:39AM +, Kinsella, Ray wrote:
>
>
> On 12/03/2021 07:34, Morten Brørup wrote:
> > CC: ABI Policy maintainers. You might have an opinion. Or not. :-)
>
> My 2c is that this is affecting inlined functions from include/rte_common.h.
> Although not ideal, the practic
The main intent of this series is to provide a nice help
for the --log-level option.
More patches are added to improve options help in general.
v3:
- fix use of RTE_LOG_MAX
- accept (with warning) log level higher than RTE_LOG_MAX
v2:
- fix use of the new macro RTE_LOG_MAX in level pa
After argument parsing done by rte_eal_init(),
the remaining arguments are to be parsed by the application
by progressing in the argv array.
In this context, the first string represented by argv[0] is still
the same program name as the original argv[0],
while the next strings are the application ar
The description of the EAL options was printed before the application
description provided via the hook.
It is better to let the application print the global syntax
and describes the detail of the EAL options below.
Also, some useless lines are removed,
and the alignment of few options is fixed.
The macros OPT_HELP and OPT_HELP_NUM were not used where appropriate.
Signed-off-by: Thomas Monjalon
---
lib/librte_eal/common/eal_common_options.c | 2 +-
lib/librte_eal/freebsd/eal.c | 2 +-
lib/librte_eal/linux/eal.c | 2 +-
lib/librte_eal/windows/eal.c
Some private log functions had a wrong "rte_" prefix.
All private log functions are moved from eal_private.h
to the new file eal_log.h:
rte_eal_log_init -> eal_log_init
rte_log_save_regexp -> eal_log_save_regexp
rte_log_save_pattern -> eal_log_save_pattern
eal_log_s
RTE_DIM(...) and RTE_LOG_DEBUG were used to get the highest log level.
For better clarity a new constant RTE_LOG_MAX is introduced
and mapped to RTE_LOG_DEBUG.
Signed-off-by: Thomas Monjalon
---
lib/librte_eal/common/eal_common_log.c | 8
lib/librte_eal/common/eal_common_options.c |
1 - 100 of 134 matches
Mail list logo