> -Original Message-
> From: dev On Behalf Of Slava Ovsiienko
> Sent: Wednesday, October 2, 2019 9:15
> To: Stephen Hemminger
> Cc: dev@dpdk.org; Matan Azrad ; Raslan
> Darawsheh ; ferruh.yi...@intel.com
> Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix compilation issue with gcc
> pragma
>
> -Original Message-
> From: Stephen Hemminger
> Sent: Wednesday, October 2, 2019 2:41
> To: Slava Ovsiienko
> Cc: dev@dpdk.org; Matan Azrad ; Raslan
> Darawsheh ; ferruh.yi...@intel.com
> Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix compilation issue with gcc
> pragma
>
> On Tue, 1 Oct
The GCC compiler might generate warning or error if
format parameter of fscanf is not literal. This was
suppressed with GCC specific pragms. Some compilers
(i.e Intel icc) do not recognize GCC diagnostic
pragma. The code was refactored with stringification,
pragmas are not needed anymore.
Fixes: a
From: Kalesh AP
Minor code cleanup. BNXT_GET_DEFAULT_VNIC macro returns the default VNIC
of the function and fixed code to use the macro.
Signed-off-by: Kalesh AP
Reviewed-by: Somnath Kotur
Reviewed-by: Ajit Khaparde
---
drivers/net/bnxt/bnxt_ethdev.c | 10 +-
1 file changed, 5 inser
From: Somnath Kotur
Driver will accelerate only outer/S-VLAN insertion by turning on
the appropriate bits in the Tx Buffer Descriptor when the packet
arrives for transmission.
The TPID to be used for this S-VLAN is conveyed by the vlan_tpid_set
dev_op which will terminate in the driver.
In the Rx
From: Kalesh AP
PKT_RX_IEEE1588_PTP and PKT_RX_IEEE1588_TMST flags need to be set
in the offload flags for the received pkt in case of PTP offload.
Fixes: bc4a000f2f53c ("net/bnxt: implement SSE vector mode")
Cc: sta...@dpdk.org
Signed-off-by: Kalesh AP
Reviewed-by: Somnath Kotur
Reviewed-by:
From: Kalesh AP
Check input argument "rxq" in bnxt_rx_queue_release_mbufs(), to be sure
variable is not NULL before accessing it.
Fixes: 9b63c6fd70e3 ("net/bnxt: support Rx/Tx queue start/stop")
Cc: sta...@dpdk.org
Signed-off-by: Kalesh AP
Reviewed-by: Santoshkumar Karanappa Rastapur
Reviewed-
From: Kalesh AP
HWRM_CHECK_RESULT_SILENT() returns if the HWRM command fails.
There is no need to check the return value after this call.
Signed-off-by: Kalesh AP
Reviewed-by: Lance Richardson
Signed-off-by: Ajit Khaparde
---
drivers/net/bnxt/bnxt_hwrm.c | 119 +--
From: Kalesh AP
Since bnxt_enable_int() is called at start time, invoke bnxt_disable_int()
during stop only. Remove it from device uninit function.
Signed-off-by: Kalesh AP
Reviewed-by: Lance Richardson
Reviewed-by: Ajit Khaparde
Signed-off-by: Ajit Khaparde
---
drivers/net/bnxt/bnxt_ethdev
From: Kalesh AP
remove MAX_NUM_MAC_ADDR macro
Signed-off-by: Kalesh AP
Reviewed-by: Lance Richardson
Reviewed-by: Ajit Khaparde
Signed-off-by: Ajit Khaparde
---
drivers/net/bnxt/bnxt.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/bnxt/bnxt.h b/drivers/net/bnxt/bnxt.h
index
From: Rahul Gupta
Fix Computing of number of used descriptors in an Rx queue.
Fixes: 1b7ceba3e375 ("net/bnxt: support Rx queue count")
Cc: sta...@dpdk.org
Signed-off-by: Rahul Gupta
Reviewed-by: Ajit Khaparde
Reviewed-by: Somnath Kotur
Signed-off-by: Ajit Khaparde
---
drivers/net/bnxt/bnxt_
From: Stephen Hemminger
The secondary process should not modify device state when
init is called. The pci device information pointed to by
dev_private pointer is not correct in secondary process.
Fixes: b7778e8a1c00 ("net/bnxt: refactor to properly allocate resources for
PF/VF")
Cc: sta...@dpdk
From: Kalesh AP
Driver should not change "deferred_start" state of the tx queues.
It should get the state in queue_setup_op() and use that value.
Since the deferred start state was being used in the packet transmit
functions to determine whether the queue has been stopped already,
introduced a p
From: Kalesh AP
On Wh+, number of L2 context supported by FW is the sum of number of
EM flow count and number of L2 context count returned in HWRM_FUNC_QCFG.
This is not true for Thor. Restrict this only for Whitney for now.
Fixes: ff9c0ca47e81176 ("net/bnxt: save the number of EM flow count")
bnxt patchset against dpdk-next-net.
This patchset has been rebased and is dependent on
"bnxt patchset to support device error recovery"
https://patchwork.dpdk.org/project/dpdk/list/?series=6660
Please apply.
--
v1->v2: Rebased to the newer dpdk-next-net code base.
Ajit Khaparde (2):
net/bnxt:
From: Santoshkumar Karanappa Rastapur
Link autonegotiation for 40G is not supported by Thor.
Hence speed needs to be forced and autoneg disabled to configure 40G speed.
Fixes: f8168ca0e690 ("net/bnxt: support thor controller")
Reviewed-by: Ajit Khaparde
Signed-off-by: Santoshkumar Karanappa Ras
From: Santoshkumar Karanappa Rastapur
Maximum frame length supported by hw is 9600 bytes.
When user launches testpmd with --mbuf-size=9729,
we are posting buffer descriptors of size 9601 to the ring.
This was causing packets getting discarded.
Fixes: daef48efe5e5 ("net/bnxt: support set MTU")
Cc
From: Kalesh AP
Driver should not change "deferred_start" state of the rx queues.
It should get the state in queue_setup_op() and use that value.
Since the deferred start state was being used in the packet receive
functions to determine whether a stopped rx ring should be polled,
introduced a pe
When updating the link because of an async link notification
there is no need to set wait_for_completion. At this point
the link related information should be available without need to poll.
Use rte_eth_linkstatus_set instead of memcpy to ensure atomicity
while updating the link status.
We force th
We are not subscribing to link speed change notification.
This patch addresses that.
Signed-off-by: Ajit Khaparde
Reviewed-by: Rahul Gupta
Reviewed-by: Santoshkumar Karanappa Rastapur
Reviewed-by: Kalesh Anakkur Purayil
---
drivers/net/bnxt/bnxt_hwrm.c | 1 +
drivers/net/bnxt/bnxt_hwrm.h | 2
From: Santoshkumar Karanappa Rastapur
When user creates a flow similar to an existing flow with just the
destination queue change, we delete the old filter and allocate a new one
with this destination queue change. We were also allocating a new L2
filter matching the same destination mac resultin
Friday, September 27, 2019 5:46 PM, Jerin Jacob Kollanukkaran:
> subsystem
>
> > -Original Message-
> > From: Jerin Jacob Kollanukkaran
> > Sent: Tuesday, September 10, 2019 4:33 PM
> > To: Shahaf Shuler ; Thomas Monjalon
> > ; dev@dpdk.org
> > Cc: Pavan Nikhilesh Bhagavatula ; Hemant
> >
Hi David,
Tuesday, October 1, 2019 6:20 PM, David Marchand:
> Cc: dev@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v4 6/6] doc: deprecation notice for VFIO
> DMA map APIs
>
> Hello Shahaf,
>
> On 10/03/2019 09:28, Shahaf Shuler wrote:
> > As those should be replaced by rte_dev_dma_map and
> rte_dev
Wednesday, October 2, 2019 1:20 AM, Flavio Leitner:
> Subject: [dpdk-dev] [PATCH] vhost: add support to large linear mbufs
>
> The rte_vhost_dequeue_burst supports two ways of dequeuing data. If the
> data fits into a buffer, then all data is copied and a single linear buffer is
> returned. Otherw
> > Add templates to support creating ring APIs with different ring
> > element sizes.
> >
> > Signed-off-by: Honnappa Nagarahalli
> > Reviewed-by: Dharmik Thakkar
> > Reviewed-by: Gavin Hu
> > Reviewed-by: Ruifeng Wang
> > ---
> > lib/librte_ring/Makefile| 4 +-
> > lib/librte_r
From: Pavan Nikhilesh
Disable packet type parsing in examples that don't use
`rte_mbuf::packet_type` by setting ptype_mask as 0 in
`rte_eth_dev_set_supported_ptypes`
Signed-off-by: Pavan Nikhilesh
---
examples/bbdev_app/main.c | 1 +
examples/bond/main.c
From: Pavan Nikhilesh
Since pipeline_generic uses `rte_mbuf::hash::rss` add the new Rx offload
flag `DEV_RX_OFFLOAD_RSS_HASH` to inform PMD to copy the RSS hash result
into the mbuf.
Signed-off-by: Pavan Nikhilesh
---
examples/eventdev_pipeline/main.c | 113 -
.../p
From: Pavan Nikhilesh
Add DEV_RX_OFFLOAD_RSS_HASH flag for all PMDs that support RSS hash
delivery.
Signed-off-by: Pavan Nikhilesh
Reviewed-by: Andrew Rybchenko
Reviewed-by: Hemant Agrawal
Acked-by: Jerin Jacob
Acked-by: Ajit Khaparde
---
drivers/net/bnxt/bnxt_ethdev.c | 3 ++-
driv
From: Pavan Nikhilesh
Add DEV_RX_OFFLOAD_FLOW_MARK flag for all PMDs that support flow action
flag and mark.
Signed-off-by: Pavan Nikhilesh
Reviewed-by: Andrew Rybchenko
---
drivers/net/bnxt/bnxt_ethdev.c | 3 ++-
drivers/net/enic/enic_res.c | 3 ++-
drivers/net/i40e/i40e
From: Pavan Nikhilesh
Add `rte_eth_dev_set_supported_ptypes` function that will allow the
application to inform the PMD the packet types it is interested in.
Based on the ptypes set PMDs can optimize their Rx path.
-If application doesn’t want any ptype information it can call
`rte_eth_dev_set_s
From: Pavan Nikhilesh
Add new Rx offload flags `DEV_RX_OFFLOAD_RSS_HASH` and
`DEV_RX_OFFLOAD_FLOW_MARK`. These flags can be used to
enable/disable PMD writes to rte_mbuf fields `hash.rss` and `hash.fdir.hi`
and also `ol_flags:PKT_RX_RSS` and `ol_flags:PKT_RX_FDIR`.
Add new packet type set functi
From: Pavan Nikhilesh
Add new Rx offload flag `DEV_RX_OFFLOAD_FLOW_MARK` that can be used to
enable/disable PMDs write to `rte_mbuf::hash::fdir::hi` and
`rte_mbuf::ol_flags` when flow actions `RTE_FLOW_ACTION_MARK` and
`RTE_FLOW_ACTION_FLAG` are enabled.
PMDs notify the validity of `rte_mbuf::ha
From: Pavan Nikhilesh
Add new Rx offload flag `DEV_RX_OFFLOAD_RSS_HASH` which can be used to
enable/disable PMDs write to `rte_mbuf::hash::rss`.
PMDs notify the validity of `rte_mbuf::hash:rss` to the applcation
by enabling `PKT_RX_RSS_HASH ` flag in `rte_mbuf::ol_flags`.
Signed-off-by: Pavan Ni
Hi Jerin,
> On Tue, Oct 1, 2019 at 8:36 PM Nipun Gupta wrote:
> >
> >
> >
> > > -Original Message-
> > > From: Jerin Jacob
> > > Sent: Tuesday, October 1, 2019 7:50 PM
> > > To: Nipun Gupta
> > > Cc: Jerin Jacob ; dpdk-dev ; Pavan
> > > Nikhilesh ; Sunil Kumar Kori
> > > ; Hemant Agrawal
Hi Konstantin,
> > >>> This patch introduce new RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO
> > >>> action type to security library. The type represents performing
> > >>> crypto operation with CPU cycles. The patch also includes a new
> > >>> API to process crypto operations in bulk and the function poin
On Tue, Oct 1, 2019 at 6:04 AM Kevin Traynor wrote:
> If rc contains a non-zero return code from bnxt_hwrm_send_message(),
> HWRM_CHECK_RESULT_SILENT() will return.
>
> Just after that code, there is an 'if (!rc) {...} else {...}'.
> Coverity is complaining that this if else statement is dead cod
From: Kalesh AP
On Thor, direct access to PTP registers (via GRC) is not supported.
Driver must use HWRM to access the timestamp information.
Vectorized Rx/Tx cannot be enabled if RTE_LIBRTE_IEEE1588=y.
Remove the PTP flags handling code from the vector Rx path.
Add support to read tx timestamp
From: Kalesh AP
use BIT macro instead of bit fields.
Signed-off-by: Kalesh AP
Reviewed-by: Somnath Kotur
Signed-off-by: Ajit Khaparde
---
drivers/net/bnxt/bnxt.h | 79 ++--
drivers/net/bnxt/bnxt_util.h | 4 ++
2 files changed, 44 insertions(+), 39 deleti
From: Kalesh AP
Added code to perform FW_RESET. When the driver detects error in FW,
it has to initiate the recovery by resetting the cores. FW advertise
the method to do a core reset, reset register offsets and values
to perform reset in response of HWRM_ERROR_RECOVERY_QCFG command.
There are 2
From: Kalesh AP
Commit "bd0a14c99f65" enables the creation of a dedicated completion
ring for asynchronous event handling instead of handling these
events on a receive completion ring on non Stingray Platforms.
This causes a segfault due to NULL pointer defreference in
bnxt_alloc_async_cp_ring()
From: Kalesh AP
Periodically poll the FW heartbeat register and FW recovery counter
registers to check the FW health. Polling frequency will be
advertised by the FW in HWRM_ERROR_RECOVERY_QCFG response.
Schedule the task upon receiving the async event from FW.
Signed-off-by: Kalesh AP
Reviewed-
From: Kalesh AP
FW sets HWRM_FUNC_QCAPS_OUTPUT_FLAGS_ERR_RECOVER_RELOAD
in HWRM_FUNC_QCAPS command, if device requires to invoke
fastboot FW during FW reset.
Driver has to poll for shutdown bit in fw_status register:
1. in case of hot fw upgrade, this bit will be set after all
function driver
From: Kalesh AP
In Driver initiated error recovery process, driver has to know about
the registers offset and values to initiate FW reset. The HWRM command
HWRM_ERROR_RECOVERY_QCFG is used to obtain all the registers and values
required to initiate FW reset. This command response includes
FW hear
From: Kalesh AP
When IOMMU is available, EAL picks IOVA as VA as the default IOVA mode.
This causes the bnxt driver to log warning messages saying
"Memzone physical address same as virtual." and "Using rte_mem_virt2iova()"
during load.
Reduce the verbosity of logs to DEBUG. Reduced couple of oth
From: Kalesh AP
When firmware hit some unrecoverable error conditions, firmware initiate
the recovery by sending an async event EVENT_CMPL_EVENT_ID_RESET_NOTIFY
with data1 set to RESET_NOTIFY_EVENT_DATA1_REASON_CODE_FW_EXCEPTION_FATAL
to all host drivers and will reset the chip.
The recovery pro
From: Kalesh AP
1. Advertise HWRM_FUNC_DRV_RGTR_INPUT_FLAGS_ERROR_RECOVERY_SUPPORT flag
in the FUNC_DRV_RGTR command.
2. request for the async event ASYNC_EVENT_CMPL_EVENT_ID_ERROR_RECOVERY
in the FUNC_DRV_RGTR command.
3. handle the async event EVENT_ID_ERROR_RECOVERY from FW.
Error recov
From: Kalesh AP
Refactor init and uninit functions so that the driver can fail
the eth_dev_ops callbacks and accessing Tx and Rx queues
when device is in reset or in error state.
Transmit and receive queues are freed during reset cleanup and
reallocated during recovery. So we block all data path
From: Kalesh AP
HWRM_ERROR_RECOVERY_QCFG command returns the FW status registers offset
for periodic firmware health check monitoring. Map them to GRC window 2.
Signed-off-by: Kalesh AP
Reviewed-by: Somnath Kotur
Signed-off-by: Ajit Khaparde
---
drivers/net/bnxt/bnxt.h| 22 ++
From: Kalesh AP
This patch adds new FW reset HWRM command.
Code using this command will be added in future patch.
Signed-off-by: Kalesh AP
Reviewed-by: Somnath Kotur
Reviewed-by: Ajit Khaparde
---
drivers/net/bnxt/hsi_struct_def_dpdk.h | 137 +
1 file changed, 137 ins
From: Kalesh AP
When the FW upgrade is initiated the current instance
of FW issues a HWRM_ASYNC_EVENT_CMPL_EVENT_ID_RESET_NOTIFY
async notification to the driver. On receiving this notification,
the PMD shall quiesce itself and poll on the HWRM_VER_GET FW
command at regular intervals.
Once the V
From: Kalesh AP
Use latest firmware API to inform firmware about IF state changes.
Firmware has the option to clean up resources during IF down and
to require the driver to reserve resources again during IF up.
During port start, HWRM_FUNC_DRV_IF_CHANGE command response
flags indicates that firm
This patchset adds support to monitor the health of the firmware and the
underlying device and recover to an operational state in case of error.
We can also detect if a FW upgrade is in progress and quiesce all
access to the device and recover once FW indicates everything is ready.
Patchset agains
On Tue, 1 Oct 2019 17:15:46 +
Slava Ovsiienko wrote:
> > -Original Message-
> > From: Stephen Hemminger
> > Sent: Tuesday, October 1, 2019 17:54
> > To: Slava Ovsiienko
> > Cc: dev@dpdk.org; Matan Azrad ; Raslan
> > Darawsheh ; ferruh.yi...@intel.com
> > Subject: Re: [dpdk-dev] [PAT
On Tue, 1 Oct 2019 11:43:37 -0700
Geetha Anandakrishnan wrote:
> Hi All,
>
> I am experimenting DPDK with VMXNET3. I see that the vmxnet3 driver code
> does not set vlan filtering if port is in promiscuous mode.
> I modified the vmxnet3 code to skip the check for promiscuous port, code
> below.
On Tue, 1 Oct 2019 17:36:10 +
Slava Ovsiienko wrote:
> Hi, Stephen
>
> > -Original Message-
> > From: dev On Behalf Of Stephen Hemminger
> > Sent: Monday, September 30, 2019 22:21
> > To: dev@dpdk.org
> > Cc: Stephen Hemminger
> > Subject: [dpdk-dev] [PATCH v3 4/6] mbuf: add a pktm
On Tue, 1 Oct 2019 19:19:35 -0300
Flavio Leitner wrote:
> The rte_vhost_dequeue_burst supports two ways of dequeuing data. If
> the data fits into a buffer, then all data is copied and a single
> linear buffer is returned. Otherwise it allocates additional mbufs
> and chains them together to ret
The rte_vhost_dequeue_burst supports two ways of dequeuing data. If
the data fits into a buffer, then all data is copied and a single
linear buffer is returned. Otherwise it allocates additional mbufs
and chains them together to return a multiple segments mbuf.
While that covers most use cases, it
From: Pavan Nikhilesh
Disable packet type parsing in examples that don't use
`rte_mbuf::packet_type` by setting ptype_mask as 0 in
`rte_eth_dev_set_supported_ptypes`
Signed-off-by: Pavan Nikhilesh
---
examples/bbdev_app/main.c | 1 +
examples/bond/main.c
From: Pavan Nikhilesh
Add DEV_RX_OFFLOAD_FLOW_MARK flag for all PMDs that support flow action
flag and mark.
Signed-off-by: Pavan Nikhilesh
Reviewed-by: Andrew Rybchenko
---
drivers/net/bnxt/bnxt_ethdev.c | 3 ++-
drivers/net/enic/enic_res.c | 3 ++-
drivers/net/i40e/i40e
From: Pavan Nikhilesh
Since pipeline_generic uses `rte_mbuf::hash::rss` add the new Rx offload
flag `DEV_RX_OFFLOAD_RSS_HASH` to inform PMD to copy the RSS hash result
into the mbuf.
Signed-off-by: Pavan Nikhilesh
---
examples/eventdev_pipeline/main.c | 113 -
.../p
From: Pavan Nikhilesh
Add new Rx offload flag `DEV_RX_OFFLOAD_RSS_HASH` which can be used to
enable/disable PMDs write to `rte_mbuf::hash::rss`.
PMDs notify the validity of `rte_mbuf::hash:rss` to the applcation
by enabling `PKT_RX_RSS_HASH ` flag in `rte_mbuf::ol_flags`.
Signed-off-by: Pavan Ni
From: Pavan Nikhilesh
Add DEV_RX_OFFLOAD_RSS_HASH flag for all PMDs that support RSS hash
delivery.
Signed-off-by: Pavan Nikhilesh
Reviewed-by: Andrew Rybchenko
Reviewed-by: Hemant Agrawal
Acked-by: Jerin Jacob
Acked-by: Ajit Khaparde
---
drivers/net/bnxt/bnxt_ethdev.c | 3 ++-
driv
From: Pavan Nikhilesh
Add new Rx offload flag `DEV_RX_OFFLOAD_FLOW_MARK` that can be used to
enable/disable PMDs write to `rte_mbuf::hash::fdir::hi` and
`rte_mbuf::ol_flags` when flow actions `RTE_FLOW_ACTION_MARK` and
`RTE_FLOW_ACTION_FLAG` are enabled.
PMDs notify the validity of `rte_mbuf::ha
From: Pavan Nikhilesh
Add new Rx offload flags `DEV_RX_OFFLOAD_RSS_HASH` and
`DEV_RX_OFFLOAD_FLOW_MARK`. These flags can be used to
enable/disable PMD writes to rte_mbuf fields `hash.rss` and `hash.fdir.hi`
and also `ol_flags:PKT_RX_RSS` and `ol_flags:PKT_RX_FDIR`.
Add new packet type set functi
From: Pavan Nikhilesh
Add `rte_eth_dev_set_supported_ptypes` function that will allow the
application to inform the PMD the packet types it is interested in.
Based on the ptypes set PMDs can optimize their Rx path.
-If application doesn’t want any ptype information it can call
`rte_eth_dev_set_s
Hi All,
I am experimenting DPDK with VMXNET3. I see that the vmxnet3 driver code
does not set vlan filtering if port is in promiscuous mode.
I modified the vmxnet3 code to skip the check for promiscuous port, code
below. But it does not seem like filtering works with this change, when
port is in
This patch set is dependent on https://patches.dpdk.org/cover/60270/
This patchset integrates RCU QSBR support with LPM library.
Please refer to RCU documentation in the above mentioned patch series.
This patch set follows the suggested design of integrating RCU
library with other libraries in DP
From: Ruifeng Wang
Add positive and negative tests for API rte_lpm_rcu_qsbr_add.
Also test LPM library behavior when RCU QSBR is enabled.
Signed-off-by: Ruifeng Wang
Reviewed-by: Gavin Hu
Reviewed-by: Honnappa Nagarahalli
---
app/test/test_lpm.c | 152
Add performance tests for RCU integration. The performance
difference with and without RCU integration is very small
(~1% to ~2%) on both Arm and x86 platforms.
Signed-off-by: Honnappa Nagarahalli
Reviewed-by: Gavin Hu
Reviewed-by: Ruifeng Wang
---
app/test/test_lpm_perf.c | 487 ++
From: Ruifeng Wang
Currently, the tbl8 group is freed even though the readers might be
using the tbl8 group entries. The freed tbl8 group can be reallocated
quickly. This results in incorrect lookup results.
RCU QSBR process is integrated for safe tbl8 group reclaim.
Refer to RCU documentation t
Hi, Stephen
> -Original Message-
> From: dev On Behalf Of Stephen Hemminger
> Sent: Monday, September 30, 2019 22:21
> To: dev@dpdk.org
> Cc: Stephen Hemminger
> Subject: [dpdk-dev] [PATCH v3 4/6] mbuf: add a pktmbuf copy routine
>
> This is a commonly used operation that surprisingly t
Ferruh. Yes. We are working on that already. Thanks
On Tue, Oct 1, 2019 at 10:02 AM Ferruh Yigit wrote:
> On 9/3/2019 3:18 AM, Ajit Khaparde wrote:
> > Among other changes, this patchset adds support to:
> > - create filters with RSS action.
> > - create source MAC filters.
> > - use user provid
Hi Bernard,
>
> This patch set, sets the default code path in the ipsec-secgw
> application to use the librte_ipsec.
> The *_old test scripts have been modified to use the legacy code
> path.
>
> Changes in v2:
> -
> The error messages for the -l option have been updated.
> The pkt
> -Original Message-
> From: Iremonger, Bernard
> Sent: Tuesday, October 1, 2019 4:18 PM
> To: dev@dpdk.org; Ananyev, Konstantin ;
> akhil.go...@nxp.com
> Cc: Iremonger, Bernard
> Subject: [PATCH v2 3/3] examples/ipsec-secgw: update pktest.sh script
>
> Drop SGW_CMD_XPRM=l, as default
> -Original Message-
> From: Iremonger, Bernard
> Sent: Tuesday, October 1, 2019 4:18 PM
> To: dev@dpdk.org; Ananyev, Konstantin ;
> akhil.go...@nxp.com
> Cc: Iremonger, Bernard
> Subject: [PATCH v2 2/3] examples/ipsec-secgw: add -l 0 parameter to old
> scripts
>
> enable legacy mode
> -Original Message-
> From: Iremonger, Bernard
> Sent: Tuesday, October 1, 2019 5:27 PM
> To: Ananyev, Konstantin ; dev@dpdk.org
> Subject: RE: [dpdk-dev] [PATCH] doc: fix list of unsupported features for
> IPsec lib
>
> Hi Konstantin,
>
> > -Original Message-
> > From: dev [
Usage example and performance evaluation for the ipsec SAD library
Signed-off-by: Vladimir Medvedkin
---
app/Makefile | 1 +
app/meson.build | 3 +-
app/test-sad/Makefile| 18 ++
app/test-sad/main.c | 662 +++
app/tes
Signed-off-by: Vladimir Medvedkin
---
app/test/Makefile | 1 +
app/test/autotest_data.py | 6 +
app/test/meson.build | 1 +
app/test/test_ipsec_sad.c | 856 ++
4 files changed, 864 insertions(+)
create mode 100644 app/test/test_ipsec
Replace rte_ipsec_sad_add(), rte_ipsec_sad_del() and
rte_ipsec_sad_lookup() stubs with actual implementation.
It uses three librte_hash tables each of which contains
an entries for a specific SA type (either it is addressed by SPI only
or SPI+DIP or SPI+DIP+SIP)
Signed-off-by: Vladimir Medvedkin
Add inbound security association database (SAD) API
and stub implementation.
Signed-off-by: Vladimir Medvedkin
---
lib/librte_ipsec/Makefile | 2 +
lib/librte_ipsec/ipsec_sad.c | 50 ++
lib/librte_ipsec/meson.build | 4 +-
lib/librte_ipsec/rte_ipsec_
Replace rte_ipsec_sad_create(), rte_ipsec_sad_destroy() and
rte_ipsec_sad_find_existing() API stubs with actual
implementation.
Signed-off-by: Vladimir Medvedkin
---
lib/librte_ipsec/Makefile| 2 +-
lib/librte_ipsec/ipsec_sad.c | 233 +--
lib/librte_
According to RFC 4301 IPSec implementation needs an inbound SA database (SAD).
For each incoming inbound IPSec-protected packet (ESP or AH) it has to
perform a lookup within it’s SAD.
Lookup should be performed by:
Security Parameters Index (SPI) + destination IP (DIP) + source IP (SIP)
or SPI +
Hi Konstantin,
On 12/09/2019 18:58, Ananyev, Konstantin wrote:
Hi Vladimir,
Replace rte_ipsec_sad_add(), rte_ipsec_sad_del() and
rte_ipsec_sad_lookup() stubs with actual implementation.
It uses three librte_hash tables each of which contains
an entries for a specific SA type (either it is add
> -Original Message-
> From: Stephen Hemminger
> Sent: Tuesday, October 1, 2019 17:54
> To: Slava Ovsiienko
> Cc: dev@dpdk.org; Matan Azrad ; Raslan
> Darawsheh ; ferruh.yi...@intel.com
> Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix compilation issue with gcc
> pragma
>
> On Tue, 1 Oct
Hi Aaron,
On 12/09/2019 15:07, Aaron Conole wrote:
Vladimir Medvedkin writes:
Functional tests for the new FIB library.
Signed-off-by: Vladimir Medvedkin
---
app/test/Makefile | 1 +
app/test/autotest_data.py | 6 +
app/test/meson.build | 3 +
app/test/test_fib.c
On 9/3/2019 3:18 AM, Ajit Khaparde wrote:
> Among other changes, this patchset adds support to:
> - create filters with RSS action.
> - create source MAC filters.
> - use user provided priority to place rule appropriately in HW.
>
> This series is dependent on the series "bnxt patchset" submitted
On Tue, Oct 01, 2019 at 03:23:47PM +0200, Andrzej Ostruszka wrote:
> Thanks Bruce for the patch. I like the idea of splitting versioning out
> of rte_compat.h, but I have some comments.
>
> On 9/27/19 10:59 PM, Bruce Richardson wrote:
> [...]
> > --- a/config/common_base
> > +++ b/config/common_b
On 10/1/2019 5:02 PM, Iremonger, Bernard wrote:
> Hi Simei,
>
>> -Original Message-
>> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Andrew Rybchenko
>> Sent: Tuesday, October 1, 2019 3:49 PM
>> To: Su, Simei ; Zhang, Qi Z ; Ye,
>> Xiaolong ; Yigit, Ferruh
>> Cc: dev@dpdk.org
>> Su
Hi Kevin,
On 10/1/19 7:29 PM, Kevin Traynor wrote:
Hi,
On 01/10/2019 16:44, Andrew Rybchenko wrote:
From: Dilshod Urazov
Deferred start Rx queue is not supported by the driver.
Fixes: 0748be2cf9a2 ("ethdev: queue start and stop")
Cc: sta...@dpdk.org
Signed-off-by: Dilshod Urazov
Signed-of
Hi,
On 01/10/2019 16:44, Andrew Rybchenko wrote:
> From: Dilshod Urazov
>
> Deferred start Rx queue is not supported by the driver.
>
> Fixes: 0748be2cf9a2 ("ethdev: queue start and stop")
> Cc: sta...@dpdk.org
>
> Signed-off-by: Dilshod Urazov
> Signed-off-by: Andrew Rybchenko
> ---
> driv
Hi Konstantin,
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Konstantin
> Ananyev
> Sent: Friday, September 27, 2019 3:21 PM
> To: dev@dpdk.org
> Cc: Ananyev, Konstantin
> Subject: [dpdk-dev] [PATCH] doc: fix list of unsupported features for IPsec
> lib
>
>
On 10/1/2019 5:00 PM, Ferruh Yigit wrote:
> On 9/29/2019 3:41 AM, Yasufumi Ogawa wrote:
>> Packet processing in secondary process cannot work because rx_pkt_burst
>> and tx_pkt_burst in eth_dev are not initialized while probing device.
>> This patch is to the initialization.
>>
>> Signed-off-by: Ya
Hi Simei,
> -Original Message-
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Andrew Rybchenko
> Sent: Tuesday, October 1, 2019 3:49 PM
> To: Su, Simei ; Zhang, Qi Z ; Ye,
> Xiaolong ; Yigit, Ferruh
> Cc: dev@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v8 2/3] ethdev: extend RSS off
On 9/29/2019 3:41 AM, Yasufumi Ogawa wrote:
> Packet processing in secondary process cannot work because rx_pkt_burst
> and tx_pkt_burst in eth_dev are not initialized while probing device.
> This patch is to the initialization.
>
> Signed-off-by: Yasufumi Ogawa
> ---
> drivers/net/null/rte_eth_
From: Dilshod Urazov
Deferred start Tx queue is not supported by the driver.
Fixes: 0748be2cf9a2 ("ethdev: queue start and stop")
Cc: sta...@dpdk.org
Signed-off-by: Dilshod Urazov
Signed-off-by: Andrew Rybchenko
---
drivers/net/virtio/virtio_rxtx.c | 5 +
1 file changed, 5 insertions(+)
From: Dilshod Urazov
This driver supports none of DCB, RSS or VMDQ modes,
therefore must check and return error if configured incorrectly.
Fixes: c1f86306a026 ("virtio: add new driver")
Cc: sta...@dpdk.org
Signed-off-by: Dilshod Urazov
Signed-off-by: Andrew Rybchenko
---
drivers/net/virtio/v
From: Dilshod Urazov
Deferred start Rx queue is not supported by the driver.
Fixes: 0748be2cf9a2 ("ethdev: queue start and stop")
Cc: sta...@dpdk.org
Signed-off-by: Dilshod Urazov
Signed-off-by: Andrew Rybchenko
---
drivers/net/virtio/virtio_rxtx.c | 5 +
1 file changed, 5 insertions(+)
On Tue, Oct 1, 2019 at 6:04 AM Kevin Traynor wrote:
> This commented out todo and code is old. Remove it.
>
> Fixes: b7435d660a8c ("net/bnxt: add ntuple filtering support")
> Cc: ajit.khapa...@broadcom.com
> Cc: sta...@dpdk.org
>
> Signed-off-by: Kevin Traynor
>
Acked-by: Ajit Khaparde
---
>
On Wed, Aug 21, 2019 at 1:48 PM wrote:
> From: Pavan Nikhilesh
>
> Add DEV_RX_OFFLOAD_RSS_HASH flag for all PMDs that support RSS hash
> delivery.
>
> Signed-off-by: Pavan Nikhilesh
>
For net/bnxt:
Acked-by: Ajit Khaparde
> ---
> drivers/net/bnxt/bnxt_ethdev.c | 3 ++-
> drivers/net/
On Tue, Oct 1, 2019 at 8:36 PM Nipun Gupta wrote:
>
>
>
> > -Original Message-
> > From: Jerin Jacob
> > Sent: Tuesday, October 1, 2019 7:50 PM
> > To: Nipun Gupta
> > Cc: Jerin Jacob ; dpdk-dev ; Pavan
> > Nikhilesh ; Sunil Kumar Kori
> > ; Hemant Agrawal ;
> > Richardson, Bruce ; Marko
1 - 100 of 208 matches
Mail list logo