Home
last modified time | relevance | path

Searched refs:threshold_type (Results 1 – 10 of 10) 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/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/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()
/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()
/linux/include/net/
H A Ddevlink.h212 enum devlink_sb_threshold_type threshold_type; member
1393 enum devlink_sb_threshold_type threshold_type,
H A Ddsa.h1182 enum devlink_sb_threshold_type threshold_type,
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c2700 char *threshold_type; in bnxt_event_error_report()
2706 threshold_type = "warning"; in bnxt_event_error_report()
2709 threshold_type = "critical"; in bnxt_event_error_report()
2712 threshold_type = "fatal"; in bnxt_event_error_report()
2715 threshold_type = "shutdown"; in bnxt_event_error_report()
2728 dir_str, threshold_type); in bnxt_event_error_report()
2701 char *threshold_type; bnxt_event_error_report() local