Home
last modified time | relevance | path

Searched refs:tcfp_keys (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/net/tc_act/
H A Dtc_pedit.h15 struct tc_pedit_key *tcfp_keys; member
88 mask = parms->tcfp_keys[index].mask; in tcf_pedit_mask()
101 val = parms->tcfp_keys[index].val; in tcf_pedit_val()
114 off = parms->tcfp_keys[index].off; in tcf_pedit_offset()
/openbmc/linux/net/sched/
H A Dact_pedit.c151 kfree(parms->tcfp_keys); in tcf_pedit_cleanup_rcu()
249 nparms->tcfp_keys = kmemdup(parm->keys, ksize, GFP_KERNEL); in tcf_pedit_init()
250 if (!nparms->tcfp_keys) { in tcf_pedit_init()
256 u32 offmask = nparms->tcfp_keys[i].offmask; in tcf_pedit_init()
257 u32 cur = nparms->tcfp_keys[i].off; in tcf_pedit_init()
267 nparms->tcfp_keys[i].shift = min_t(size_t, in tcf_pedit_init()
269 nparms->tcfp_keys[i].shift); in tcf_pedit_init()
274 cur += (0xff & offmask) >> nparms->tcfp_keys[i].shift; in tcf_pedit_init()
297 kfree(nparms->tcfp_keys); in tcf_pedit_init()
411 tkey = parms->tcfp_keys; in tcf_pedit_act()
[all …]