Searched refs:tcf_sample_rate (Results 1 – 2 of 2) sorted by relevance
29 static inline __u32 tcf_sample_rate(const struct tc_action *a) in tcf_sample_rate() function
1298 if (tcf_sample_rate(a) > MLXSW_REG_MPSC_RATE_MAX) { in mlxsw_sp_port_add_cls_matchall_sample()1307 mlxsw_sp_port->sample->rate = tcf_sample_rate(a); in mlxsw_sp_port_add_cls_matchall_sample()1309 err = mlxsw_sp_port_sample_set(mlxsw_sp_port, true, tcf_sample_rate(a)); in mlxsw_sp_port_add_cls_matchall_sample()