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

/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_abi.h92 * @threshold_type: one of enum devlink_sb_threshold_type
97 __le32 threshold_type; member in struct:nfp_shared_buf_pool_info_get
104 * @threshold_type: one of enum devlink_sb_threshold_type
109 __le32 threshold_type; member in struct:nfp_shared_buf_pool_info_set
H A Dnfp_shared_buf.c49 pool_info->threshold_type = le32_to_cpu(get_data.threshold_type);
58 enum devlink_sb_threshold_type threshold_type)
65 .threshold_type = cpu_to_le32(threshold_type),
56 nfp_shared_buf_pool_set(struct nfp_pf *pf, unsigned int sb, u16 pool_index, u32 size, enum devlink_sb_threshold_type threshold_type) argument
H A Dnfp_main.h190 enum devlink_sb_threshold_type threshold_type);
H A Dnfp_devlink.c131 u32 size, enum devlink_sb_threshold_type threshold_type,
137 size, threshold_type);
129 nfp_devlink_sb_pool_set(struct devlink *devlink, unsigned int sb_index, u16 pool_index, u32 size, enum devlink_sb_threshold_type threshold_type, struct netlink_ext_ack *extack) argument
/linux-master/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,
579 if (threshold_type != DEVLINK_SB_THRESHOLD_TYPE_STATIC) {
561 ocelot_sb_pool_set(struct ocelot *ocelot, unsigned int sb_index, u16 pool_index, u32 size, enum devlink_sb_threshold_type threshold_type, struct netlink_ext_ack *extack) argument
H A Docelot_net.c55 enum devlink_sb_threshold_type threshold_type,
61 threshold_type, extack);
53 ocelot_devlink_sb_pool_set(struct devlink *dl, unsigned int sb_index, u16 pool_index, u32 size, enum devlink_sb_threshold_type threshold_type, struct netlink_ext_ack *extack) argument
/linux-master/net/devlink/
H A Dsb.c293 pool_info.threshold_type))
404 enum devlink_sb_threshold_type threshold_type,
412 size, threshold_type, extack);
419 enum devlink_sb_threshold_type threshold_type; local
434 err = devlink_sb_th_type_get_from_info(info, &threshold_type);
443 pool_index, size, threshold_type,
402 devlink_sb_pool_set(struct devlink *devlink, unsigned int sb_index, u16 pool_index, u32 size, enum devlink_sb_threshold_type threshold_type, struct netlink_ext_ack *extack) argument
/linux-master/net/dsa/
H A Ddevlink.c38 enum devlink_sb_threshold_type threshold_type,
47 threshold_type, extack);
36 dsa_devlink_sb_pool_set(struct devlink *dl, unsigned int sb_index, u16 pool_index, u32 size, enum devlink_sb_threshold_type threshold_type, struct netlink_ext_ack *extack) argument
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_buffers.c1366 pool_info->threshold_type = (enum devlink_sb_threshold_type) pr->mode;
1373 enum devlink_sb_threshold_type threshold_type,
1381 mode = (enum mlxsw_reg_sbpr_mode) threshold_type;
1371 mlxsw_sp_sb_pool_set(struct mlxsw_core *mlxsw_core, unsigned int sb_index, u16 pool_index, u32 size, enum devlink_sb_threshold_type threshold_type, struct netlink_ext_ack *extack) argument
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,
1411 pool_index, size, threshold_type,
1400 mlxsw_devlink_sb_pool_set(struct devlink *devlink, unsigned int sb_index, u16 pool_index, u32 size, enum devlink_sb_threshold_type threshold_type, struct netlink_ext_ack *extack) argument
/linux-master/include/net/
H A Ddevlink.h204 enum devlink_sb_threshold_type threshold_type; member in struct:devlink_sb_pool_info
1287 enum devlink_sb_threshold_type threshold_type,
H A Ddsa.h1156 enum devlink_sb_threshold_type threshold_type,
/linux-master/include/soc/mscc/
H A Docelot.h1099 enum devlink_sb_threshold_type threshold_type,
/linux-master/drivers/net/dsa/ocelot/
H A Dfelix.c1898 enum devlink_sb_threshold_type threshold_type,
1904 threshold_type, extack);
1896 felix_sb_pool_set(struct dsa_switch *ds, unsigned int sb_index, u16 pool_index, u32 size, enum devlink_sb_threshold_type threshold_type, struct netlink_ext_ack *extack) argument
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c2445 char *threshold_type; local
2451 threshold_type = "warning";
2454 threshold_type = "critical";
2457 threshold_type = "fatal";
2460 threshold_type = "shutdown";
2473 dir_str, threshold_type);

Completed in 331 milliseconds