MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mlx5_l3t_get_entry

Function mlx5_l3t_get_entry

dpdk/drivers/net/mlx5/mlx5_utils.c:972–982  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

970}
971
972int32_t
973mlx5_l3t_get_entry(struct mlx5_l3t_tbl *tbl, uint32_t idx,
974 union mlx5_l3t_data *data)
975{
976 int ret;
977
978 rte_spinlock_lock(&tbl->sl);
979 ret = __l3t_get_entry(tbl, idx, data);
980 rte_spinlock_unlock(&tbl->sl);
981 return ret;
982}
983
984int32_t
985mlx5_l3t_clear_entry(struct mlx5_l3t_tbl *tbl, uint32_t idx)

Callers 3

mlx5_flow_meter_findFunction · 0.85

Calls 3

__l3t_get_entryFunction · 0.85
rte_spinlock_lockFunction · 0.50
rte_spinlock_unlockFunction · 0.50

Tested by

no test coverage detected