Home
last modified time | relevance | path

Searched refs:threshold_type (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_shared_buf.c49 pool_info->threshold_type = le32_to_cpu(get_data.threshold_type); in nfp_shared_buf_pool_get()
58 enum devlink_sb_threshold_type threshold_type) in nfp_shared_buf_pool_set() argument
65 .threshold_type = cpu_to_le32(threshold_type), in nfp_shared_buf_pool_set()
H A Dnfp_abi.h97 __le32 threshold_type; member
109 __le32 threshold_type; member
H A Dnfp_devlink.c131 u32 size, enum devlink_sb_threshold_type threshold_type, in nfp_devlink_sb_pool_set() argument
137 size, threshold_type); in nfp_devlink_sb_pool_set()
H A Dnfp_main.h190 enum devlink_sb_threshold_type threshold_type);
/linux/drivers/net/ethernet/mscc/
H A Docelot_devlink.c527 .threshold_type = DEVLINK_SB_THRESHOLD_TYPE_STATIC,
531 .threshold_type = DEVLINK_SB_THRESHOLD_TYPE_STATIC,
563 enum devlink_sb_threshold_type threshold_type, in ocelot_sb_pool_set() argument
579 if (threshold_type != DEVLINK_SB_THRESHOLD_TYPE_STATIC) { in ocelot_sb_pool_set()
H A Docelot_net.c55 enum devlink_sb_threshold_type threshold_type, in ocelot_devlink_sb_pool_set() argument
61 threshold_type, extack); in ocelot_devlink_sb_pool_set()
/linux/net/devlink/
H A Dsb.c293 pool_info.threshold_type)) in devlink_nl_sb_pool_fill()
404 enum devlink_sb_threshold_type threshold_type, in devlink_sb_pool_set() argument
412 size, threshold_type, extack); in devlink_sb_pool_set()
419 enum devlink_sb_threshold_type threshold_type; in devlink_nl_sb_pool_set_doit() local
434 err = devlink_sb_th_type_get_from_info(info, &threshold_type); in devlink_nl_sb_pool_set_doit()
443 pool_index, size, threshold_type, in devlink_nl_sb_pool_set_doit()
/linux/net/dsa/
H A Ddevlink.c38 enum devlink_sb_threshold_type threshold_type, in dsa_devlink_sb_pool_set() argument
47 threshold_type, extack); in dsa_devlink_sb_pool_set()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_buffers.c1366 pool_info->threshold_type = (enum devlink_sb_threshold_type) pr->mode; in mlxsw_sp_sb_pool_get()
1373 enum devlink_sb_threshold_type threshold_type, in mlxsw_sp_sb_pool_set() argument
1381 mode = (enum mlxsw_reg_sbpr_mode) threshold_type; in mlxsw_sp_sb_pool_set()
H A Dcore.h375 enum devlink_sb_threshold_type threshold_type,
H A Dspectrum.h590 enum devlink_sb_threshold_type threshold_type,
H A Dcore.c1402 enum devlink_sb_threshold_type threshold_type, in mlxsw_devlink_sb_pool_set() argument
1411 pool_index, size, threshold_type, in mlxsw_devlink_sb_pool_set()
/linux/include/net/
H A Ddevlink.h204 enum devlink_sb_threshold_type threshold_type; member
1290 enum devlink_sb_threshold_type threshold_type,
H A Ddsa.h1169 enum devlink_sb_threshold_type threshold_type,
/linux/drivers/net/dsa/ocelot/
H A Dfelix.c1898 enum devlink_sb_threshold_type threshold_type, in felix_sb_pool_set() argument
1904 threshold_type, extack); in felix_sb_pool_set()
/linux/include/soc/mscc/
H A Docelot.h1099 enum devlink_sb_threshold_type threshold_type,
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c2483 char *threshold_type; in bnxt_event_error_report() local
2489 threshold_type = "warning"; in bnxt_event_error_report()
2492 threshold_type = "critical"; in bnxt_event_error_report()
2495 threshold_type = "fatal"; in bnxt_event_error_report()
2498 threshold_type = "shutdown"; in bnxt_event_error_report()
2511 dir_str, threshold_type); in bnxt_event_error_report()