History log of /dpdk/drivers/net/bnxt/tf_ulp/ulp_sc_mgr.c (Results 1 – 4 of 4)
Revision Date Author Comments
# ca827d42 18-Nov-2024 Peter Spreadborough <peter.spreadborough@broadcom.com>

net/bnxt/tf_ulp: tune performance for Thor2 stats cache

This change adds changes the act get API to expect a physical
address for the host memory rather than a pointer to a local
virtual address. Th

net/bnxt/tf_ulp: tune performance for Thor2 stats cache

This change adds changes the act get API to expect a physical
address for the host memory rather than a pointer to a local
virtual address. The change was made because the virt->phys
API call has a very high overhead. Also included in this change
to the mutex locks and delays within the main loop.

Fixes: 0513f0af034d ("net/bnxt/tf_ulp: add stats cache for Thor2")

Signed-off-by: Peter Spreadborough <peter.spreadborough@broadcom.com>
Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Reviewed-by: Farah Smith <farah.smith@broadcom.com>
Reviewed-by: Jay Ding <jay.ding@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>

show more ...


# 67ad4000 18-Nov-2024 Kishore Padmanabha <kishore.padmanabha@broadcom.com>

net/bnxt/tf_ulp: fix VFR cleanup and stats lockup

The representor flows were not being deleted as part of the
vfr clean up. Added code to delete flows related to vfr interface.
Also fixed the stats

net/bnxt/tf_ulp: fix VFR cleanup and stats lockup

The representor flows were not being deleted as part of the
vfr clean up. Added code to delete flows related to vfr interface.
Also fixed the stats counter thread lockup.

Fixes: 0513f0af034d ("net/bnxt/tf_ulp: add stats cache for Thor2")

Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com>
Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Reviewed-by: Peter Spreadborough <peter.spreadborough@broadcom.com>
Reviewed-by: Shuanglin Wang <shuanglin.wang@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>

show more ...


# a089734a 18-Nov-2024 Shuanglin Wang <shuanglin.wang@broadcom.com>

net/bnxt/tf_ulp: fix F1F2 VXLAN counter accumulation

Add code for Thor2 to support the counter accumulation for
F1F2 vxlan parent-child flows.
Also, add a check for device state in the TF tunnel fre

net/bnxt/tf_ulp: fix F1F2 VXLAN counter accumulation

Add code for Thor2 to support the counter accumulation for
F1F2 vxlan parent-child flows.
Also, add a check for device state in the TF tunnel free API,
if it is zero then TF will skip the resource free as it
was already done by bnxt_free_all_hwrm_resources.

Fixes: 0513f0af034d ("net/bnxt/tf_ulp: add stats cache for Thor2")

Signed-off-by: Shuanglin Wang <shuanglin.wang@broadcom.com>
Signed-off-by: Sangtani Parag Satishbhai <parag-satishbhai.sangtani@broadcom.com>
Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Reviewed-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>

show more ...


# 0513f0af 07-Nov-2024 Peter Spreadborough <peter.spreadborough@broadcom.com>

net/bnxt/tf_ulp: add stats cache for Thor2

This change adds a stats cache for Thor2 flows using counters.
Flow stats will be harvested periodically in the background
and stats reads by the applicati

net/bnxt/tf_ulp: add stats cache for Thor2

This change adds a stats cache for Thor2 flows using counters.
Flow stats will be harvested periodically in the background
and stats reads by the application will be returned stats from
the cache and not by initiating a read from HW.

This change also adds read-clear functionality for counter resets
and restructures the stats collection while loop to
guarantee full coverage of entries added or removed during the
collection period.

Signed-off-by: Peter Spreadborough <peter.spreadborough@broadcom.com>
Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Reviewed-by: Jay Ding <jay.ding@broadcom.com>
Reviewed-by: Shahaji Bhosle <sbhosle@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>

show more ...