From: Satha Rao
This patch enables the set config callback handler.
Signed-off-by: Satha Rao
---
drivers/net/virtio/virtio_user/vhost.h | 1 +
drivers/net/virtio/virtio_user/vhost_vdpa.c | 10 ++
2 files changed, 11 insertions(+)
diff --git a/drivers/net/virtio/virtio_user/vhost
From: Satha Rao
Extended the vhost_vdpa_get_intr_fd API to create an event and
register for configuration callbacks with the vDPA backend. This
enhancement allows the virtio-user driver to handle configuration
changes more effectively.
Signed-off-by: Satha Rao
---
drivers/net/virtio/virtio_use
From: Satha Rao
This patch introduces the vhost_vdpa_update_link_state API to manage the
link state updates.
Signed-off-by: Satha Rao
---
drivers/net/virtio/virtio_user/vhost_vdpa.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/drivers/net/virtio/virtio_user
From: Satha Rao
This patch extends the virtio_user_read_dev_config API to retrieve link
speed and duplex settings if the device features support
VIRTIO_NET_F_SPEED_DUPLEX.
Signed-off-by: Satha Rao
---
.../net/virtio/virtio_user/virtio_user_dev.c | 22 ++-
.../net/virtio/virtio
From: Satha Rao
Correct the number of bytes to read during vdev interrupt processing.
The driver sets this value, and the rxtx interrupt handling already
performs this correctly.
Fixes: 8feec90 ("eal/linux: add interrupt type for vdev")
Cc: sta...@dpdk.org
Signed-off-by: Satha Rao
---
lib
From: Satha Rao
Don't send NULL MAC addresses in MAC table update.
Fixes: 1b306359e58 ("virtio: suport multiple MAC addresses")
Cc: step...@networkplumber.org
Cc: sta...@dpdk.org
Signed-off-by: Satha Rao
---
drivers/net/virtio/virtio_ethdev.c | 2 ++
1 file changed, 2 insertions(+)
diff --gi
From: Satha Rao
Added CNXK APIs to get used txq descriptor count.
Signed-off-by: Satha Rao
---
Depends-on: series-30833 ("ethdev: support Tx queue used count")
v2:
Updated release notes and fixed API for CPT queues.
v3:
Addressed review comments
v5:
Fixed compilation errors
v6:
Fixed
From: Satha Rao
Added CNXK APIs to get used txq descriptor count.
Signed-off-by: Satha Rao
---
doc/guides/nics/features/cnxk.ini | 1 +
doc/guides/rel_notes/release_24_03.rst | 1 +
drivers/net/cnxk/cn10k_tx_select.c | 22 ++
drivers/net/cnxk/cn9k_tx_select.c
From: Satha Rao
Added CNXK APIs to get used txq descriptor count.
Signed-off-by: Satha Rao
---
Depends-on: series-30833 ("ethdev: support Tx queue used count")
v2:
Updated release notes and fixed API for CPT queues.
v3:
Addressed review comments
doc/guides/nics/features/cnxk.ini |
From: Satha Rao
Added CNXK APIs to get used txq descriptor count.
Signed-off-by: Satha Rao
---
Depends-on: series-30833 ("ethdev: support Tx queue used count")
v2:
Updated release notes and fixed API for CPT queues.
v3:
Addressed review comments
doc/guides/nics/features/cnxk.ini |
From: Satha Rao
Added CNXK APIs to get used txq descriptor count.
Signed-off-by: Satha Rao
---
Depends-on: series-30833 ("ethdev: support Tx queue used count")
v2:
Updated release notes and fixed API for CPT queues.
doc/guides/nics/features/cnxk.ini | 1 +
doc/guides/rel_notes/relea
From: Satha Rao
Existing Rx desc used count command extended to get Tx queue
used count.
testpmd> show port 0 rxq 0 desc used count
testpmd> show port 0 txq 0 desc used count
Signed-off-by: Satha Rao
---
Depends-on: series-30833 ("ethdev: support Tx queue used count")
v2:
extended rx_
From: Satha Rao
Existing Rx desc used count command extended to get Tx queue
used count.
testpmd> show port 0 rxq 0 desc used count
testpmd> show port 0 txq 0 desc used count
Signed-off-by: Satha Rao
---
Depends-on: series-30833 ("ethdev: support Tx queue used count")
v2:
extended rx_
From: Satha Rao
Added cnxk APIs to get used txq descriptor count.
Signed-off-by: Satha Rao
---
doc/guides/nics/features/cnxk.ini | 1 +
drivers/net/cnxk/cn10k_ethdev.c | 10 ++
drivers/net/cnxk/cn9k_ethdev.c| 10 ++
drivers/net/cnxk/cnxk_ethdev.h| 11 +++
4 f
From: Satha Rao
Fastpath API to get txq used count.
testpmd> show port 0 txq 0 desc count
Signed-off-by: Satha Rao
---
app/test-pmd/cmdline.c | 78 ++
1 file changed, 78 insertions(+)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdlin
From: Satha Rao
Removed condition that doesn't have any effect on code flow.
Coverity issue: 385405
Fixes: 4d00b8c6a331 ("common/cnxk: allocate dynamic BPIDs")
Signed-off-by: Satha Rao
---
drivers/common/cnxk/roc_nix_fc.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/common/cnx
From: Satha Rao
When try to configure MTU for lower value causes run time failure
due to old bigger packets enqueued. To avoid error interrupts better
to flush the all SQs of this port before configuring new MTU.
Signed-off-by: Satha Rao
---
drivers/net/cnxk/cnxk_ethdev.h | 1 +
drivers/n
From: Satha Rao
The rate parameter modified to uint32_t, so that it can work
for more than 64 Gbps.
Signed-off-by: Satha Rao
---
v2: Fixed checkpatch warnings
v3: updated release notes, cleanup deprecation, addressed review comments
app/test-pmd/cmdline.c | 8
app/t
From: Satha Rao
The rate parameter modified to uint32_t, so that it can work
for more than 64 Gbps.
Signed-off-by: Satha Rao
---
v2: Fixed checkpatch warnings
app/test-pmd/cmdline.c| 8
app/test-pmd/config.c | 4 ++--
app/test-pmd/testpmd.h| 4
From: Satha Rao
The rate parameter modified to uint32_t, so that it can work
for more than 64 Gbps.
Change-Id: I7115c22a4dfdda84d820b221bf33839a7b57f2cd
Signed-off-by: Satha Rao
---
app/test-pmd/cmdline.c| 8
app/test-pmd/config.c | 4 ++--
app/test-pmd/testp
From: Satha Rao
rte_eth_set_queue_rate_limit argument rate modified to uint32_t
to support more than 64Gbps.
Signed-off-by: Satha Rao
Acked-by: Jerin Jacob
---
v2: Modified rate to uint32_t as per review comments
v3: api in subject line changed to API
---
doc/guides/rel_notes/deprecation.r
From: Satha Rao
rte_eth_set_queue_rate_limit argument rate modified to uint32_t
to support more than 64Gbps.
Signed-off-by: Satha Rao
---
doc/guides/rel_notes/deprecation.rst | 5 +
1 file changed, 5 insertions(+)
diff --git a/doc/guides/rel_notes/deprecation.rst
b/doc/guides/rel_notes/d
From: Satha Rao
rte_eth_set_queue_rate_limit argument rate modified to uint64_t
to support more than 64Gbps.
Signed-off-by: Satha Rao
---
doc/guides/rel_notes/deprecation.rst | 5 +
1 file changed, 5 insertions(+)
diff --git a/doc/guides/rel_notes/deprecation.rst
b/doc/guides/rel_notes/d
From: Satha Rao
Validate sq_node and parent before accessing their fields.
SQ was created without any associated TM node, this is valid negative
case, so return success while stopping TM without SQ node.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/roc_nix_tm.c | 8 ++--
drivers/co
From: Satha Rao
cnxk platform supports red/yellow packet marking based on TM
configuration. This patch set hooks to enable/disable packet
marking for VLAN DEI, IP DSCP and IP ECN. Marking enabled only
in scalar mode.
Signed-off-by: Satha Rao
---
drivers/event/cnxk/cn10k_worker.h | 3 +-
dri
From: Satha Rao
cnxk platforms supports packet marking when TM enabled with
valid shaper rates. VLAN DEI, IP ECN, or IP DSCP inside
packet will be updated based on mark flags selected.
Signed-off-by: Satha Rao
---
v2:
- rebased to master, fixed conflicts
drivers/common/cnxk/meson.build
From: Satha Rao
Validate sq_node and parent before accessing their fields.
SQ was created without any associated TM node, this is valid negative
case, so return success while stopping TM without SQ node.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/roc_nix_tm.c | 8 ++--
drivers/co
From: Satha Rao
cnxk platform supports red/yellow packet marking based on TM
configuration. This patch set hooks to enable/disable packet
marking for VLAN DEI, IP DSCP and IP ECN. Marking enabled only
in scalar mode.
Signed-off-by: Satha Rao
---
drivers/event/cnxk/cn10k_worker.h | 3 +-
dri
From: Satha Rao
cnxk platforms supports packet marking when TM enabled with
valid shaper rates. VLAN DEI, IP ECN, or IP DSCP inside
packet will be updated based on mark flags selected.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/meson.build | 1 +
drivers/common/cnxk/roc_nix.h
From: Satha Rao
To support lower pps in packet mode we are changing adjust value,
same needs to be consider for burst size calculations.
When both peak and committed rates requested, then peak rate should
be larger than committed rate.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/roc_nix_
From: Satha Rao
Different TM handlers returns various platform specific errors,
this patch introduces new API to convert these internal error
types to RTE_TM* error types.
Also updated error message API with missed TM error types.
Signed-off-by: Satha Rao
Acked-by: Nithin Dabilpuram
---
drive
From: Satha Rao
Implemented TM node, shaper profile, hierarchy_commit and
statistic operations.
Signed-off-by: Satha Rao
Acked-by: Nithin Dabilpuram
---
doc/guides/rel_notes/release_21_11.rst | 1 +
drivers/net/cnxk/cnxk_tm.c | 353 +
drivers/net/cnxk/cnx
From: Satha Rao
Initial version of TM implementation added basic infrastructure,
TM node_get, capabilities operations and rate limit queue operation.
Signed-off-by: Satha Rao
Acked-by: Nithin Dabilpuram
---
drivers/net/cnxk/cnxk_ethdev.c | 2 +
drivers/net/cnxk/cnxk_ethdev.h | 3 +
driver
From: Satha Rao
Platform specific TM tree hierarchy details are part of common cnxk
driver. This patch introduces missing HAL apis to return state of
TM hierarchy required to support ethdev TM operations inside cnxk PMD.
Signed-off-by: Satha Rao
Acked-by: Nithin Dabilpuram
---
drivers/common/
From: Satha Rao
Each NIX interface had one or more SMQs connected to SQs to send
packets. When flush enabled on SMQ, hardware will push all packets
from SMQ to physical link. This API will enable flush on all SMQs
of an interface.
Signed-off-by: Satha Rao
Acked-by: Nithin Dabilpuram
---
drive
From: Satha Rao
Add new macros to reflect HW shaper PPS limits. New API to validate
input rates for packet mode. Increase adjust value to support lesser
PPS (<61).
Signed-off-by: Satha Rao
Acked-by: Nithin Dabilpuram
---
drivers/common/cnxk/hw/nix.h | 3 +
drivers/common/cnxk/roc_n
From: Satha Rao
For SDP interface all platforms supports up to 65535 frame size.
Updated api with new check for SDP interface.
Signed-off-by: Satha Rao
Acked-by: Nithin Dabilpuram
---
drivers/common/cnxk/hw/nix.h | 1 +
drivers/common/cnxk/roc_nix.c | 5 -
2 files changed, 5 insertions(+
From: Nithin Dabilpuram
Increase sched weight and shaper burst limit for cn10k.
Signed-off-by: Nithin Dabilpuram
Acked-by: Nithin Dabilpuram
---
drivers/common/cnxk/hw/nix.h | 13 ++---
drivers/common/cnxk/roc_nix.h | 23 ++-
drivers/common/cnxk/roc_nix_priv
From: Satha Rao
Initial implementation of traffic management for CN9K and CN10K
platforms.
Nithin Dabilpuram (1):
common/cnxk: increase sched weight and shaper burst limit
Satha Rao (7):
common/cnxk: set appropriate max frame size for SDP and LBK
common/cnxk: support SMQ flush
common/cn
From: Satha Rao
Implemented TM node, shaper profile, hierarchy_commit and
statistic operations.
Signed-off-by: Satha Rao
---
doc/guides/rel_notes/release_21_11.rst | 1 +
drivers/net/cnxk/cnxk_tm.c | 353 +
drivers/net/cnxk/cnxk_tm.h |
From: Satha Rao
Initial version of TM implementation added basic infrastructure,
tm node_get, capabilities operations and rate limit queue operation.
Signed-off-by: Satha Rao
---
drivers/net/cnxk/cnxk_ethdev.c | 2 +
drivers/net/cnxk/cnxk_ethdev.h | 3 +
drivers/net/cnxk/cnxk_tm.c | 32
From: Satha Rao
Platform specific TM tree hierarchy details are part of common cnxk
driver. This patch introduces missing HAL apis to return state of
TM hierarchy required to support ethdev TM operations inside cnxk PMD.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/roc_model.h| 6
From: Satha Rao
Different TM handlers returns various platform specific errors,
this patch introduces new API to convert these internal error
types to RTE_TM* error types.
Also updated error message API with missed TM error types.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/cnxk_utils.c |
From: Satha Rao
Add new macros to reflect HW shaper PPS limits. New API to validate
input rates for packet mode. Increase adjust value to support lesser
PPS (<61).
Signed-off-by: Satha Rao
---
drivers/common/cnxk/hw/nix.h | 3 ++
drivers/common/cnxk/roc_nix_priv.h | 1 +
driver
From: Satha Rao
Added new API to flush all SMQs related nix interface
Signed-off-by: Satha Rao
---
drivers/common/cnxk/hw/nix.h | 6 +
drivers/common/cnxk/roc_nix.h| 1 +
drivers/common/cnxk/roc_nix_tm_ops.c | 50
drivers/common/cnxk/v
From: Nithin Dabilpuram
Increase sched weight and shaper burst limit for cn10k.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/hw/nix.h | 13 +++
drivers/common/cnxk/roc_nix.h | 23 ++-
drivers/common/cnxk/roc_nix_priv.h | 11 ++
From: Satha Rao
For SDP interface all platforms supports up to 65535 frame size.
Updated api with new check for SDP interface.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/hw/nix.h | 1 +
drivers/common/cnxk/roc_nix.c | 5 -
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git
From: Satha Rao
Initial implementation of traffic management for CN9K and CN10K
platforms.
Nithin Dabilpuram (1):
common/cnxk: increase sched weight and shaper burst limit
Satha Rao (7):
common/cnxk: use different macros for sdp and lbk max frames
common/cnxk: flush smq
common/cnxk: han
From: Satha Rao
Implemented TM node, shaper profile, hierarchy_commit and
statistic operations.
Signed-off-by: Satha Rao
---
drivers/net/cnxk/cnxk_tm.c | 353 +
drivers/net/cnxk/cnxk_tm.h | 5 +
2 files changed, 358 insertions(+)
diff --git a/drivers/net/
From: Satha Rao
Initial version of TM implementation added basic infrastructure,
tm node_get, capabilities operations and rate limit queue operation.
Signed-off-by: Satha Rao
---
drivers/net/cnxk/cnxk_ethdev.c | 2 +
drivers/net/cnxk/cnxk_ethdev.h | 3 +
drivers/net/cnxk/cnxk_tm.c | 32
From: Satha Rao
Platform specific TM tree hierarchy details are part of common cnxk
driver. This patch introduces missing HAL apis to return state of
TM hierarchy required to support ethdev TM operations inside cnxk PMD.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/roc_model.h| 6
From: Satha Rao
Different TM handlers returns various platform specific errors,
this patch introduces new API to convert these internal error
types to RTE_TM* error types.
Also updated error message API with missed TM error types.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/cnxk_utils.c |
From: Satha Rao
Add new macros to reflect HW shaper PPS limits. New API to validate
input rates for packet mode. Increase adjust value to support lesser
PPS (<61).
Signed-off-by: Satha Rao
---
drivers/common/cnxk/hw/nix.h | 3 +
drivers/common/cnxk/roc_nix_priv.h | 1 +
drivers
From: Nithin Dabilpuram
Increase sched weight and shaper burst limit for cn10k.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/hw/nix.h | 13 ++---
drivers/common/cnxk/roc_nix.h | 23 ++-
drivers/common/cnxk/roc_nix_priv.h | 11 ---
drivers/
From: Satha Rao
Added new API to flush all SMQs related nix interface
Signed-off-by: Satha Rao
---
drivers/common/cnxk/hw/nix.h | 6
drivers/common/cnxk/roc_nix.h| 1 +
drivers/common/cnxk/roc_nix_tm_ops.c | 50
drivers/common/cnxk/version.ma
From: Satha Rao
For SDP interface all platforms supports up to 65535 frame size.
Updated api with new check for SDP interface.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/hw/nix.h | 1 +
drivers/common/cnxk/roc_nix.c | 5 -
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git
From: Satha Rao
Set link status to down and don't fetch link status from kernel
when device in stopped state.
Signed-off-by: Satha Rao
---
drivers/net/cnxk/cnxk_ethdev.c | 5 +
drivers/net/cnxk/cnxk_link.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/net/
From: Satha Rao
We are getting kernel crash while reading tm node stats when tm
hierarchy is not committed. Until hierarchy committed hardware
resources are not allocated for node, this causes mbox timeout.
This patch check for status of HW resources before reading statistics.
Signed-off-by: Sat
From: Satha Rao
Set link status to down and don't fetch link status from kernel
when device in stopped state.
Signed-off-by: Satha Rao
---
drivers/net/octeontx2/otx2_ethdev.c | 5 +
drivers/net/octeontx2/otx2_link.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/dr
59 matches
Mail list logo