[PATCH 3/5] net/virtio: add set config callback

2024-10-07 Thread skoteshwar
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

[PATCH 5/5] net/virtio-user: support vDPA configuration callback

2024-10-07 Thread skoteshwar
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

[PATCH 4/5] net/virtio: implement update link state API

2024-10-07 Thread skoteshwar
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

[PATCH 2/5] net/virtio-user: get link duplex and speed

2024-10-07 Thread skoteshwar
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

[PATCH 1/5] interrupts: fix number of bytes read for vdev

2024-10-07 Thread skoteshwar
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

[PATCH] net/virtio: fix MAC table update

2024-05-30 Thread skoteshwar
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

[PATCH v6] net/cnxk: support Tx queue descriptor count

2024-03-04 Thread skoteshwar
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

[PATCH v5] net/cnxk: support Tx queue descriptor count

2024-03-04 Thread skoteshwar
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

[PATCH v4] net/cnxk: support Tx queue descriptor count

2024-03-01 Thread skoteshwar
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 |

[PATCH v3] net/cnxk: support Tx queue descriptor count

2024-02-29 Thread skoteshwar
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 |

[PATCH v2] net/cnxk: support Tx queue descriptor count

2024-02-23 Thread skoteshwar
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

[PATCH v3] app/testpmd: command to get descriptor used count

2024-02-07 Thread skoteshwar
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_

[PATCH v2] app/testpmd: command to get descriptor used count

2024-02-01 Thread skoteshwar
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_

[PATCH] net/cnxk: support Tx queue descriptor count

2024-01-24 Thread skoteshwar
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

[PATCH] app/testpmd: add command to get Tx queue used count

2024-01-24 Thread skoteshwar
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

[PATCH] common/cnxk: removed stale condition

2023-06-14 Thread skoteshwar
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

[PATCH] net/cnxk: flush SQ before configuring MTU

2023-06-14 Thread skoteshwar
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

[PATCH v3] ethdev: queue rate parameter changed from 16b to 32b

2022-09-27 Thread skoteshwar
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

[PATCH v2] ethdev: queue rate parameter changed from 16b to 32b

2022-09-23 Thread skoteshwar
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

[PATCH] ethdev: queue rate parameter changed from 16b to 32b

2022-09-23 Thread skoteshwar
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

[PATCH v3] doc: announce changes to rte_eth_set_queue_rate_limit API

2022-07-15 Thread skoteshwar
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

[PATCH v2] doc: announce changes to rte_eth_set_queue_rate_limit api

2022-07-12 Thread skoteshwar
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

[PATCH] doc: announce changes to rte_eth_set_queue_rate_limit api

2022-07-01 Thread skoteshwar
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

[PATCH v2 3/3] common/cnxk: check SQ node before setting bp config

2022-02-24 Thread skoteshwar
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

[PATCH v2 2/3] net/cnxk: event/cnxk: enable packet marking callbacks

2022-02-24 Thread skoteshwar
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

[PATCH v2 1/3] common/cnxk: enable packet marking

2022-02-24 Thread skoteshwar
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

[PATCH 3/3] common/cnxk: check SQ node before setting bp config

2022-02-24 Thread skoteshwar
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

[PATCH 2/3] net/cnxk: event/cnxk: enable packet marking callbacks

2022-02-24 Thread skoteshwar
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

[PATCH 1/3] common/cnxk: enable packet marking

2022-02-24 Thread skoteshwar
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

[dpdk-dev] [PATCH] common/cnxk: consider adjust value for tm burst calculation

2021-11-01 Thread skoteshwar
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_

[dpdk-dev] [PATCH v3 5/8] common/cnxk: support TM error type get

2021-09-21 Thread skoteshwar
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

[dpdk-dev] [PATCH v3 8/8] net/cnxk: TM shaper and node operations

2021-09-21 Thread skoteshwar
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

[dpdk-dev] [PATCH v3 7/8] net/cnxk: TM capabilities and queue rate limit handlers

2021-09-21 Thread skoteshwar
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

[dpdk-dev] [PATCH v3 6/8] common/cnxk: set of handlers to get TM hierarchy internals

2021-09-21 Thread skoteshwar
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/

[dpdk-dev] [PATCH v3 2/8] common/cnxk: support SMQ flush

2021-09-21 Thread skoteshwar
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

[dpdk-dev] [PATCH v3 4/8] common/cnxk: handle packet mode shaper limits

2021-09-21 Thread skoteshwar
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

[dpdk-dev] [PATCH v3 1/8] common/cnxk: set appropriate max frame size for SDP and LBK

2021-09-21 Thread skoteshwar
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(+

[dpdk-dev] [PATCH v3 3/8] common/cnxk: increase sched weight and shaper burst limit

2021-09-21 Thread skoteshwar
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

[dpdk-dev] [PATCH v3 0/8] Add TM Support for CN9K and CN10K

2021-09-21 Thread skoteshwar
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

[dpdk-dev] [PATCH v2 8/8] net/cnxk: tm shaper and node operations

2021-09-18 Thread skoteshwar
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 |

[dpdk-dev] [PATCH v2 7/8] net/cnxk: tm capabilities and queue rate limit handlers

2021-09-18 Thread skoteshwar
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

[dpdk-dev] [PATCH v2 6/8] common/cnxk: set of handlers to get tm hierarchy internals

2021-09-18 Thread skoteshwar
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

[dpdk-dev] [PATCH v2 5/8] common/cnxk: handler to get rte tm error type

2021-09-18 Thread skoteshwar
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 |

[dpdk-dev] [PATCH v2 4/8] common/cnxk: handle packet mode shaper limits

2021-09-18 Thread skoteshwar
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

[dpdk-dev] [PATCH v2 2/8] common/cnxk: flush smq

2021-09-18 Thread skoteshwar
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

[dpdk-dev] [PATCH v2 3/8] common/cnxk: increase sched weight and shaper burst limit

2021-09-18 Thread skoteshwar
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 ++

[dpdk-dev] [PATCH v2 1/8] common/cnxk: use different macros for sdp and lbk max frames

2021-09-18 Thread skoteshwar
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

[dpdk-dev] [PATCH v2 0/8] Add TM Support for CN9K and CN10K

2021-09-18 Thread skoteshwar
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

[dpdk-dev] [PATCH 8/8] net/cnxk: tm shaper and node operations

2021-09-01 Thread skoteshwar
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/

[dpdk-dev] [PATCH 7/8] net/cnxk: tm capabilities and queue rate limit handlers

2021-09-01 Thread skoteshwar
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

[dpdk-dev] [PATCH 6/8] common/cnxk: set of handlers to get tm hierarchy internals

2021-09-01 Thread skoteshwar
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

[dpdk-dev] [PATCH 5/8] common/cnxk: handler to get rte tm error type

2021-09-01 Thread skoteshwar
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 |

[dpdk-dev] [PATCH 4/8] common/cnxk: handle packet mode shaper limits

2021-09-01 Thread skoteshwar
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

[dpdk-dev] [PATCH 3/8] common/cnxk: increase sched weight and shaper burst limit

2021-09-01 Thread skoteshwar
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/

[dpdk-dev] [PATCH 2/8] common/cnxk: flush smq

2021-09-01 Thread skoteshwar
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

[dpdk-dev] [PATCH 1/8] common/cnxk: use different macros for sdp and lbk max frames

2021-09-01 Thread skoteshwar
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

[dpdk-dev] [PATCH 3/3] net/cnxk: update link status when device stopped

2021-07-07 Thread skoteshwar
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/

[dpdk-dev] [PATCH 2/3] net/octeontx2: get tm node stats after resource allocated

2021-07-07 Thread skoteshwar
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

[dpdk-dev] [PATCH 1/3] net/octeontx2: handle link status when device stopped

2021-07-07 Thread skoteshwar
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