Signed-off-by: Subrahmanyam Nilla
Signed-off-by: Nithin Dabilpuram
---
drivers/net/thunderx/nicvf_rxtx.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/drivers/net/thunderx/nicvf_rxtx.c
b/drivers/net/thunderx/nicvf_rxtx.c
index 247c356..1c42874 100644
--- a/d
From: Nithin Dabilpuram
Tx VLAN & QinQ insert enable need not depend on
Rx VLAN offload ETH_VLAN_EXTEND_OFFLOAD. For Tx VLAN
insert enable, error check is now to see if QinQ was enabled
but only single VLAN id is set.
Fixes: 6a34f91690d0 ("app/testpmd: fix error message when settin
From: Nithin Dabilpuram
Enable DEV_TX_OFFLOAD_VLAN_INSERT also along with
DEV_TX_OFFLOAD_VLAN_QINQ in tx_qinq_set() as it takes
both vlan id's as arguments.
Fixes: 597f9fafe13b ("app/testpmd: convert to new Tx offloads API")
Cc: shah...@mellanox.com
Signed-off-by: Nithin Dabil
Free the buffer allocated for shared_shaper_id array in
case of configuration without shared shapers.
Signed-off-by: Nithin Dabilpuram
---
app/test-pmd/cmdline_tm.c | 16 ++--
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/app/test-pmd/cmdline_tm.c b/app/test-pmd
Free the buffer allocated for shared_shaper_id array in
case of configuration without shared shapers.
Signed-off-by: Nithin Dabilpuram
Acked-by: Jasvinder Singh
---
v2 changes:
- Modify subject to use proper keyword for test-pmd
- Change author email address
app/test-pmd/cmdline_tm.c | 16
From: Satha Rao
When FC enable requested for CPT, mbox returns allocated BPID.
While configuring CQ consider this value to enable late back pressure.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/roc_nix_fc.c| 2 ++
drivers/common/cnxk/roc_nix_priv.h | 1 +
drivers/common/cnxk/roc_ni
Take mbox lock before NDC sync to be thread safe.
Also release the lock only after access to response
is complete.
Fixes: 7a978bc4be6b ("common/cnxk: support mailbox locking")
Cc: rkuduruma...@marvell.com
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_nix_tm.c | 10 +++
From: Satha Rao
New parameter added inside SQ structure to control the fc_hyst_bits.
Instead of count on all updates each SQ can tune his own hysteresis
level.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/roc_nix.h | 1 +
drivers/common/cnxk/roc_nix_queue.c | 5 ++---
2 files changed
From: Rakesh Kudurumalla
reset pfc and flow control if pfc mode and flow
control are set respectively during unintilization
of pf or vf
Signed-off-by: Rakesh Kudurumalla
---
drivers/net/cnxk/cnxk_ethdev.c | 38 --
1 file changed, 23 insertions(+), 15 deletions(-
Dump inline device RQ context along with ethdev's RQ context.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_nix_debug.c | 20
1 file changed, 20 insertions(+)
diff --git a/drivers/common/cnxk/roc_nix_debug.c
b/drivers/common/cnxk/roc_nix_debug.c
Now that kernel is clearing parent info that is needed for flush,
free the resources in order from leaf to root so that when SMQ flush
is called there is always hierarchy present from SMQ till TL1.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_nix_tm.c | 32
From: Srujana Challa
Updates CPT inbound inline configuration mailbox message
format to set CPT credit threshold and bpid, which are
introduced for CN10KB.
This patch also fixes inline inbound config read API.
Fixes: 37da58509579 ("common/cnxk: update inbound inline IPsec config mailbox")
Cc: sc
From: Rakesh Kudurumalla
no action is taken when application calls
rte_eth_dev_flow_ctrl_get(), for sdp port
which is inline with rte_eth_dev_flow_ctrl_set()
for sdp port
Signed-off-by: Rakesh Kudurumalla
---
drivers/net/cnxk/cnxk_ethdev_ops.c | 3 +++
1 file changed, 3 insertions(+)
diff --g
Skip L4 checks on inline IPsec traffic as even first fragment
is set as valid ESP packet in order to send it via CPT.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_nix_inl_dev.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/common/cnxk
Use computed value for WQE skip instead of a hardcoded value.
WQE skip needs to be number of 128B lines to accommodate rte_mbuf.
Signed-off-by: Nithin Dabilpuram
---
Depends-on: series=23500 ("common/cnxk: add cnf10kb support")
drivers/common/cnxk/roc_nix_inl.h| 2 +-
driv
From: Harman Kalra
User may want to configure same TC value across multiple queues, but
for that all queues should have a common TL3 where this TC value will
get configured.
Changed the pfc_tc_cq_map/pfc_tc_sq_map array indexing to qid and store
TC values in the array. As multiple queues may hav
Avoid enabling CPT backpressure due to errata where
backpressure would block requests from even other
CPT LF's. Also allow CQ size >=16K.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_errata.h | 7 +++
drivers/common/cnxk/roc_nix.h| 2 +-
drivers/common/cnxk/roc_
From: Harman Kalra
Disabling a specific pfc class on a SQ is resulting in disabling PFC
on the entire port.
Signed-off-by: Harman Kalra
Signed-off-by: Nithin Dabilpuram
---
drivers/net/cnxk/cnxk_ethdev.c | 25 -
drivers/net/cnxk/cnxk_ethdev.h | 1 -
drivers
Resize CQ for Rx security offload in case of HW errata.
ci: skip_checkpatch skip_klocwork
Signed-off-by: Nithin Dabilpuram
---
drivers/net/cnxk/cnxk_ethdev.c | 43 +-
drivers/net/cnxk/cnxk_ethdev.h | 2 +-
2 files changed, 43 insertions(+), 2 deletions
Enhance CPT parse header dump to dump fragment info
and swap pointers before printing.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_cpt_debug.c | 33 +++--
1 file changed, 31 insertions(+), 2 deletions(-)
diff --git a/drivers/common/cnxk
Fix mbox structs to avoid unaligned access as mbox memory
is from BAR space.
Fixes: 503b82de2cbf ("common/cnxk: add mbox request and response definitions")
Fixes: e746aec161cc ("common/cnxk: fix SQ flush sequence")
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnx
From: Satananda Burla
Add SDP link status reporting
Signed-off-by: Satananda Burla
---
drivers/net/cnxk/cnxk_link.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/cnxk/cnxk_link.c b/drivers/net/cnxk/cnxk_link.c
index b1d59e3..127c9e7 100644
--- a/drivers/
From: Sunil Kumar Kori
Currently PFC configuration is not allowed on VFs.
Patch enables PFC configuration on VFs
Signed-off-by: Sunil Kumar Kori
---
drivers/net/cnxk/cnxk_ethdev.c | 9 +-
drivers/net/cnxk/cnxk_ethdev.h | 13 +--
drivers/net/cnxk/cnxk_ethdev_ops.c | 219 +
From: Radha Mohan Chintakuntla
Add SDP VF device ID in the table for probe matching.
Signed-off-by: Radha Mohan Chintakuntla
---
drivers/net/cnxk/cn10k_ethdev.c | 5 +
drivers/net/cnxk/cn9k_ethdev.c | 6 ++
2 files changed, 11 insertions(+)
diff --git a/drivers/net/cnxk/cn10k_ethdev.
Offset timestamp data only when enabled on the port instead of
just checking for offload flags.
Signed-off-by: Nithin Dabilpuram
---
drivers/event/cnxk/cn10k_worker.h | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/event/cnxk/cn10k_worker.h
b/drivers/event
From: Sunil Kumar Kori
Current PFC implementation does not support VFs.
Patch enables PFC on VFs too.
Also fix the config of aura.bp to be based on number
of buffers(aura.limit) and corresponding shift
value(aura.shift).
Fixes: cb4bfd6e7bdf ("event/cnxk: support Rx adapter")
Signed-off-by: Suni
Use computed value for WQE skip instead of a hardcoded value.
WQE skip needs to be number of 128B lines to accommodate rte_mbuf.
Signed-off-by: Nithin Dabilpuram
---
Depends-on: series=23500 ("common/cnxk: add cnf10kb support")
v2:
- Fixed commit message in 10/12, 1/12 patches
driv
Avoid enabling CPT backpressure due to errata where
backpressure would block requests from even other
CPT LF's. Also allow CQ size >=16K.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_errata.h | 7 +++
drivers/common/cnxk/roc_nix.h| 2 +-
drivers/common/cnxk/roc_
From: Harman Kalra
User may want to configure same TC value across multiple queues, but
for that all queues should have a common TL3 where this TC value will
get configured.
Changed the pfc_tc_cq_map/pfc_tc_sq_map array indexing to qid and store
TC values in the array. As multiple queues may hav
Enhance CPT parse header dump to dump fragment info
and swap pointers before printing.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_cpt_debug.c | 33 +++--
1 file changed, 31 insertions(+), 2 deletions(-)
diff --git a/drivers/common/cnxk
Fix mbox structs to avoid unaligned access as mbox memory
is from BAR space.
Fixes: 503b82de2cbf ("common/cnxk: add mbox request and response definitions")
Fixes: e746aec161cc ("common/cnxk: fix SQ flush sequence")
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnx
From: Satananda Burla
Add SDP link status reporting
Signed-off-by: Satananda Burla
---
drivers/net/cnxk/cnxk_link.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/cnxk/cnxk_link.c b/drivers/net/cnxk/cnxk_link.c
index b1d59e3..127c9e7 100644
--- a/drivers/
From: Sunil Kumar Kori
Currently PFC configuration is not allowed on VFs.
Patch enables PFC configuration on VFs
Signed-off-by: Sunil Kumar Kori
---
drivers/net/cnxk/cnxk_ethdev.c | 9 +-
drivers/net/cnxk/cnxk_ethdev.h | 13 +--
drivers/net/cnxk/cnxk_ethdev_ops.c | 219 +
From: Harman Kalra
Disabling a specific pfc class on a SQ is resulting in disabling PFC
on the entire port.
Signed-off-by: Harman Kalra
Signed-off-by: Nithin Dabilpuram
---
drivers/net/cnxk/cnxk_ethdev.c | 25 -
drivers/net/cnxk/cnxk_ethdev.h | 1 -
drivers
Resize CQ for Rx security offload in case of HW errata.
Signed-off-by: Nithin Dabilpuram
---
drivers/net/cnxk/cnxk_ethdev.c | 43 +-
drivers/net/cnxk/cnxk_ethdev.h | 2 +-
2 files changed, 43 insertions(+), 2 deletions(-)
diff --git a/drivers/net/cnxk
From: Radha Mohan Chintakuntla
Add SDP VF device ID in the table for probe matching.
Signed-off-by: Radha Mohan Chintakuntla
---
drivers/net/cnxk/cn10k_ethdev.c | 5 +
drivers/net/cnxk/cn9k_ethdev.c | 6 ++
2 files changed, 11 insertions(+)
diff --git a/drivers/net/cnxk/cn10k_ethdev.
Offset timestamp data only when enabled on the port instead of
just checking for offload flags.
Signed-off-by: Nithin Dabilpuram
---
drivers/event/cnxk/cn10k_worker.h | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/event/cnxk/cn10k_worker.h
b/drivers/event
From: Sunil Kumar Kori
Current PFC implementation does not support VFs.
Patch enables PFC on VFs too.
Also fix the config of aura.bp to be based on number
of buffers(aura.limit) and corresponding shift
value(aura.shift).
Fixes: cb4bfd6e7bdf ("event/cnxk: support Rx adapter")
Signed-off-by: Suni
Fix shift offset for length disable flag in NIXX_AF_TL3X_SHAPE
register to be 24 instead of zero similar to other level SHAPE
registers. Also mask unused bits in adjust value.
Fixes: 0885429c3028 ("common/cnxk: add NIX TM hierarchy enable/disable")
Cc: sta...@dpdk.org
Signed-off-
From: Gowrishankar Muthukrishnan
In shaper profiles cleanup, Klockwork static analyzer tool reports
infinite loop although existing loop condition is alright.
False positive may be due to tqh_first not checked in loop,
hence switching to FOREACH_SAFE to make Klockwork happy.
Signed-off-by: Gowri
Change the byte order of frag sizes and infos to match HW
implementation.
Fixes: 64a73ebd87bd ("common/cnxk: add CPT hardware definitions")
Cc: sta...@dpdk.org
Signed-off-by: Nithin Dabilpuram
Signed-off-by: Vidya Sagar Velumuri
---
drivers/common/cnxk/hw/cpt.h | 14
From: Harman Kalra
LF's error debug registers like NIX_LF_SQ_OP_ERR_DBG,
NIX_LF_MNQ_ERR_DBG, NIX_LF_SEND_ERR_DBG captures debug
info for an error detected during LMT operation or meta
enqueue or after meta enqueue granted respectively. HW
sets a valid bit when info is captured and SW is expected
From: Harman Kalra
An errata exists whereby, in certain cases NIX may use an
incorrect QINT_IDX for SQ interrupts. As a result, the
interrupt may not be delivered to software, or may not be
associated with the correct SQ.
When NIX uses an incorrect QINT_IDX :
1. NIX_LF_QINT(0..63)_CNT[COUNT] will
Cc: sta...@dpdk.org
Signed-off-by: Gowrishankar Muthukrishnan
Signed-off-by: Nithin Dabilpuram
Acked-by: Jerin Jacob
---
drivers/common/cnxk/roc_cpt.c | 3 ++
drivers/common/cnxk/roc_dev.c | 19
drivers/common/cnxk/roc_nix_debug.c | 6
drivers/common/cnxk/r
on Rx pause frames")
Cc: sta...@dpdk.org
Signed-off-by: Gowrishankar Muthukrishnan
Signed-off-by: Nithin Dabilpuram
Acked-by: Jerin Jacob
---
drivers/common/cnxk/roc_cpt.c| 4 ++--
drivers/common/cnxk/roc_dev.c| 2 +-
drivers/common/cnxk/roc_nix_tm.c | 2 +-
3 files changed, 4 inser
Improve inbound inline error handling for CN9K in terms of
packet delivered to application for different kinds of errors.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_ie_on.h | 16 -
drivers/net/cnxk/cn9k_rx.h | 50 +++--
2
Set UDP ports for IPsec UDP encapsulation feature in
outbound inline.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/cnxk_security.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/common/cnxk/cnxk_security.c
b/drivers/common/cnxk/cnxk_security.c
index 30562b4
Synchronize inline session create and destroy using spinlock.
Also move security related error prints outside the spinlock.
Signed-off-by: Nithin Dabilpuram
---
drivers/net/cnxk/cn10k_ethdev_sec.c | 35 ---
drivers/net/cnxk/cn9k_ethdev_sec.c | 32
Update error prints in data path to RTE_LOG_DP().
Error prints in fast path are not good for performance
as they slow down the application when few bad packets are
received.
Signed-off-by: Nithin Dabilpuram
---
examples/ipsec-secgw/ipsec_worker.c | 6 --
1 file changed, 4 insertions(+), 2
-by: Nithin Dabilpuram
---
examples/ipsec-secgw/ipsec-secgw.c | 3 ---
examples/ipsec-secgw/sa.c | 9 +
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/examples/ipsec-secgw/ipsec-secgw.c
b/examples/ipsec-secgw/ipsec-secgw.c
index 21abc0d..d8a9bfa 100644
--- a
@marvell.com
Cc: sta...@dpdk.org
Signed-off-by: Nithin Dabilpuram
---
examples/ipsec-secgw/ipsec_worker.c | 15 ---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/examples/ipsec-secgw/ipsec_worker.c
b/examples/ipsec-secgw/ipsec_worker.c
index e9493c5..8639426 100644
--- a
Add support to enable per port packet pool and also override
vector pool size from command line args. This is useful
on some HW to tune performance based on usecase.
Signed-off-by: Nithin Dabilpuram
---
examples/ipsec-secgw/event_helper.c | 17 ++--
examples/ipsec-secgw/event_helper.h | 2
Update error prints in data path to RTE_LOG_DP().
Error prints in fast path are not good for performance
as they slow down the application when few bad packets are
received.
Signed-off-by: Nithin Dabilpuram
---
v2:
- Fixed issue with warning in patch 4/4 by checking for session pool
@marvell.com
Cc: sta...@dpdk.org
Signed-off-by: Nithin Dabilpuram
---
examples/ipsec-secgw/ipsec_worker.c | 15 ---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/examples/ipsec-secgw/ipsec_worker.c
b/examples/ipsec-secgw/ipsec_worker.c
index e9493c5..8639426 100644
--- a
-by: Nithin Dabilpuram
---
examples/ipsec-secgw/ipsec-secgw.c | 3 ---
examples/ipsec-secgw/sa.c | 9 +
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/examples/ipsec-secgw/ipsec-secgw.c
b/examples/ipsec-secgw/ipsec-secgw.c
index 21abc0d..d8a9bfa 100644
--- a
Add support to enable per port packet pool and also override
vector pool size from command line args. This is useful
on some HW to tune performance based on usecase.
Signed-off-by: Nithin Dabilpuram
---
examples/ipsec-secgw/event_helper.c | 17 ++--
examples/ipsec-secgw/event_helper.h | 2
From: Satha Rao
CN10K supports up to 832 resources at SMQ level, so increase
bitmap count to 1024.
Signed-off-by: Satha Rao
---
Depends-on: Series-20935 ("common/cnxk: use XAQ create API for inline device")
Depends-on: Series-20934 ("common/cnxk: add workaround for vWQE flush")
drivers/common
From: Satha Rao
New api to get floor values for a requested shaper rate, which can assure
packets should never be transmitted at a rate higher than configured.
Keep the old api to get HW suggested values.
And introduce new parameter to select appropriate api.
Signed-off-by: Satha Rao
---
driv
Add support to realloc inline device XAQ AURA with more
buffers of new packet pool AURA.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_nix_inl.h | 1 +
drivers/common/cnxk/roc_nix_inl_dev.c | 110 +-
drivers/common/cnxk
From: Vidya Sagar Velumuri
Enable the field in SA to write back l2, l3 hdrs in case of errors
during inline processing.
Signed-off-by: Vidya Sagar Velumuri
---
drivers/common/cnxk/roc_ie_ot.c | 1 +
drivers/common/cnxk/roc_ie_ot.h | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff
Enable time counter based threshold for raising SSO
EXE_INT instead of IAQ threshold.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_nix_inl_dev_irq.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/drivers/common/cnxk/roc_nix_inl_dev_irq.c
b
From: Vidya Sagar Velumuri
Update the inline device functions to work when roc_nix is NULL.
This is required, as IPsec driver have to use these APIs to work
with inline IPsec device, but the IPsec driver might not have roc_nix
information.
Signed-off-by: Vidya Sagar Velumuri
---
drivers/common
Allow force use of SSO pffunc even when inline dev is available
so that in case driver needs events directly delivered to
event device.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_nix.h | 1 +
drivers/common/cnxk/roc_nix_inl.c | 7 ++-
2 files changed, 7 insertions
From: Vidya Sagar Velumuri
Use common SA init API before doing initialization based on
params. This is better so that all HW specific default values
are at single place for lookaside and inline.
Signed-off-by: Vidya Sagar Velumuri
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk
Add support to enable aura tail drop via RQ specifically
for inline device RQ's pkt pool. This is better than RQ
red drop as it can be applied to all RQ's that are not
having security enabled but using same packet pool.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk
From: Satha Rao
Added rx_metadata_negotiate api to enable mark update RX offload.
Removed software logic to enable/disable mark update inside flow
create/destroy apis.
Signed-off-by: Satha Rao
---
drivers/net/cnxk/cn10k_ethdev.c | 26 ++
drivers/net/cnxk/cn10k_rte_flo
;)
Cc: sta...@dpdk.org
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_nix_inl.c | 2 +-
drivers/net/cnxk/cnxk_ethdev.c| 9 +
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/drivers/common/cnxk/roc_nix_inl.c
b/drivers/common/cnxk/roc_nix_inl.c
index 003f97
From: Satha Rao
Removed roc npc apis which tracks addition and deletion of
mark actions.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/roc_npc.c | 21 -
drivers/common/cnxk/roc_npc.h | 3 ---
drivers/common/cnxk/roc_npc_priv.h | 1 -
drivers/common/cnxk/versi
Register callback early to handle initial error packets from
inline device.
Fixes: 69daa9e5022b ("net/cnxk: support inline security setup for cn10k")
Cc: sta...@dpdk.org
Signed-off-by: Nithin Dabilpuram
---
drivers/net/cnxk/cn10k_ethdev.c | 6 ++
drivers/net/cnxk/cn10k_ethdev
Realloc inline dev XAQ when Rx/Tx security ie enabled with
new packet pool as XAQ should be large enough to hold all
mbufs if inline outbound reports error or all mbufs.
Signed-off-by: Nithin Dabilpuram
---
drivers/net/cnxk/cnxk_ethdev.c | 5 +
1 file changed, 5 insertions(+)
diff --git a
Use raw mbuf free on inline sec error to simulate
HW NPA free instead of doing rte_pktmbuf_free(). This
is needed as the callback will not be called from
DPDK lcore.
Fixes: 69daa9e5022b ("net/cnxk: support inline security setup for cn10k")
Cc: sta...@dpdk.org
Signed-off-by: Nithin
Currently meta buffers are freed in bursts of one LMT line
i.e 15 pointers. Instead free them in bursts of 16 LMTlines
which is 240 ptrs for better perf.
Also mark mempool objects as get and put in missing places.
Signed-off-by: Nithin Dabilpuram
---
drivers/event/cnxk/cn10k_worker.h | 13
Enable packet pool tail drop on RQ when inbound security is not
enabled. This is only part of the config. It is a NOP if
tail drop is not enabled on NPA_AURA_CTX_S. And tail drop
on packet pool AURA is enabled only when that packet pool aura
is used by inline device RQ.
Signed-off-by: Nithin
Enable flow control by default on device configuration
instead of basing it on Kernel behaviour.
Signed-off-by: Nithin Dabilpuram
---
drivers/net/cnxk/cnxk_ethdev.c | 24 +++-
1 file changed, 7 insertions(+), 17 deletions(-)
diff --git a/drivers/net/cnxk/cnxk_ethdev.c b
Add option to override outbound inline sa iv for debug
purposes via environment variable. User can set env variable as:
export CN10K_ETH_SEC_IV_OVR="0x0, 0x0,..."
Signed-off-by: Nithin Dabilpuram
---
drivers/net/cnxk/cn10k_ethdev_sec.c | 62 +
1 fi
Add support for inline inbound SPI range via devargs
instead of just max SPI value and range being 0..max.
Signed-off-by: Nithin Dabilpuram
---
doc/guides/nics/cnxk.rst | 28 +-
drivers/common/cnxk/roc_nix.h | 5 ++-
drivers/common/cnxk/roc_nix_inl.c
From: Sathesh Edara
Set maximum frame size on SDP NIX side to 16KB for T93 A0-B0,
F95N A0 and F95O A0 SOC type. Rest of the SoCs SDP NIX to 64KB.
Signed-off-by: Sathesh Edara
---
drivers/common/cnxk/hw/nix.h | 1 +
drivers/common/cnxk/roc_errata.h | 8
drivers/common/cnxk/roc_mo
Fix later skip to include mbuf priv data as mbuf->buf_addr
is populated based on calculation including per-mbuf priv area.
Fixes: 706eeae60757 ("net/cnxk: add multi-segment Rx for CN10K")
cc: sta...@dpdk.org
Signed-off-by: Nithin Dabilpuram
---
drivers/net/cnxk/cn10k_rx.h| 4
In outbound inline case, use NIX Tx offset instead of
NIX Tx address for CN103XX as per new instruction format.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_constants.h | 1 +
drivers/event/cnxk/cn10k_worker.h | 3 +++
drivers/net/cnxk/cn10k_ethdev.c | 6 ++
drivers
IX flow control")
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_nix_fc.c | 4 ++-
drivers/common/cnxk/roc_nix_inl.c | 43 +--
2 files changed, 26 insertions(+), 21 deletions(-)
diff --git a/drivers/common/cnxk/roc_nix_fc.c b/drivers/common/cnx
From: Satha Rao
Each TX schedule config mail box supports maximum 20 register updates.
This patch will send node weight updates in multiple mailbox when
TM created with more than 20 scheduler nodes.
Fixes: 464c9f919321 ("common/cnxk: support NIX TM dynamic update")
Cc: ndabilpu...@marvell.com
S
From: Satha Rao
Sync nix_hw_info structure with kernel.
Maintain default RR_QUANTUM for VF TL2 same as kernel to make
equal distribution among all VFs.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/roc_mbox.h | 8 +-
drivers/common/cnxk/roc_nix.c | 9 ++-
drivers
From: Satha Rao
With kernel RR_QUANTUM some of the DPDK perf test (ipsec reassembly)
was failing, so reverting this change.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/roc_nix_tm.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/common/cnxk/roc_nix_tm.c b/
From: Satha Rao
Setting non zero FC_HYST_BITS to reduce mesh traffic on HW.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/roc_nix_queue.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/common/cnxk/roc_nix_queue.c
b/drivers/common/cnxk/roc_nix_queue.c
index 7f00
From: Sunil Kumar Kori
As per recent change in Linux-5.4.x, mailbox is updated to configure
mapping between channel and BPID. Due to mbox mismatch, PFC was broken.
Patch syncs mailbox definition for the same. Also fixes the PFC
configuration issues.
Signed-off-by: Sunil Kumar Kori
---
drivers/
From: Vamsi Attunuru
Handle SA soft packet and byte expiry event for Inline outbound SA.
Signed-off-by: Nithin Dabilpuram
---
drivers/net/cnxk/cn10k_ethdev_sec.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/net/cnxk/cn10k_ethdev_sec.c
b/drivers/net/cnxk
Also remove ESN update from ucode command word 0 based on
latest ucode.
Signed-off-by: Nithin Dabilpuram
Signed-off-by: Vidya Sagar Velumuri
---
drivers/event/cnxk/cn9k_worker.h | 1 -
drivers/net/cnxk/cn10k_tx.h | 4
2 files changed, 5 deletions(-)
diff --git a/drivers/event/cnxk
Remove duplicate mempool debug checks for mbufs received.
Fixes: 592642c494b1 ("net/cnxk: align prefetches to CN10K cache model")
Signed-off-by: Nithin Dabilpuram
---
drivers/net/cnxk/cn10k_rx.h | 6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/net/cnxk/cn10k_rx.h b/d
Add support to override soft expiry poll frequency via devargs.
Also provide helper API to indicate reassembly support on a chip
and documentation for devargs that are already present.
Signed-off-by: Nithin Dabilpuram
---
doc/guides/nics/cnxk.rst | 39
Add support to override soft expiry poll frequency via devargs.
Also provide helper API to indicate reassembly support on a chip
and documentation for devargs that are already present.
Fixes: 780b9c89241b ("net/cnxk: support zero AURA for inline meta")
Signed-off-by: Nithin Dabilpuram
From: Sathesh Edara
Set maximum frame size on SDP NIX side to 16KB for T93 A0-B0,
F95N A0 and F95O A0 SOC type. Rest of the SoCs SDP NIX to 64KB.
Signed-off-by: Sathesh Edara
---
v2:
- Add fixes line in patch 1/13
- Squash patch 8/13 to 7/13 as 7/13 is the patch that introduced the bug
- Add an
Fix later skip to include mbuf priv data as mbuf->buf_addr
is populated based on calculation including per-mbuf priv area.
Fixes: 706eeae60757 ("net/cnxk: add multi-segment Rx for CN10K")
cc: sta...@dpdk.org
Signed-off-by: Nithin Dabilpuram
---
drivers/net/cnxk/cn10k_rx.h| 4
In outbound inline case, use NIX Tx offset instead of
NIX Tx address for CN103XX as per new instruction format.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_constants.h | 1 +
drivers/event/cnxk/cn10k_worker.h | 3 +++
drivers/net/cnxk/cn10k_ethdev.c | 6 ++
drivers
IX flow control")
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_nix_fc.c | 4 ++-
drivers/common/cnxk/roc_nix_inl.c | 43 +--
2 files changed, 26 insertions(+), 21 deletions(-)
diff --git a/drivers/common/cnxk/roc_nix_fc.c b/drivers/common/cnx
From: Satha Rao
Each TX schedule config mail box supports maximum 20 register updates.
This patch will send node weight updates in multiple mailbox when
TM created with more than 20 scheduler nodes.
Fixes: 464c9f919321 ("common/cnxk: support NIX TM dynamic update")
Cc: ndabilpu...@marvell.com
S
From: Satha Rao
Sync nix_hw_info structure with kernel.
Maintain default RR_QUANTUM for VF TL2 same as kernel to make
equal distribution among all VFs.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/roc_mbox.h | 8 +-
drivers/common/cnxk/roc_nix.c | 9 ++-
drivers
From: Satha Rao
Setting non zero FC_HYST_BITS to reduce mesh traffic on HW.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/roc_nix_queue.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/common/cnxk/roc_nix_queue.c
b/drivers/common/cnxk/roc_nix_queue.c
index 7318
From: Vamsi Attunuru
Handle SA soft packet and byte expiry event for Inline outbound SA.
Signed-off-by: Nithin Dabilpuram
---
drivers/net/cnxk/cn10k_ethdev_sec.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/net/cnxk/cn10k_ethdev_sec.c
b/drivers/net/cnxk
From: Sunil Kumar Kori
As per recent change in Linux-5.4.x, mailbox is updated to configure
mapping between channel and BPID. Due to mbox mismatch, PFC was broken.
Patch syncs mailbox definition for the same. Also fixes the PFC
configuration issues.
Signed-off-by: Sunil Kumar Kori
---
drivers/
Also remove ESN update from ucode command word 0 based on
latest ucode.
Signed-off-by: Nithin Dabilpuram
Signed-off-by: Vidya Sagar Velumuri
---
drivers/event/cnxk/cn9k_worker.h | 1 -
drivers/net/cnxk/cn10k_tx.h | 4
2 files changed, 5 deletions(-)
diff --git a/drivers/event/cnxk
1 - 100 of 1600 matches
Mail list logo