Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c4012 static const struct dpaa2_eth_dist_fields dist_fields[] = { variable
4172 for (i = 0; i < ARRAY_SIZE(dist_fields); i++) { in dpaa2_eth_cls_key_size()
4173 if (!(fields & dist_fields[i].id)) in dpaa2_eth_cls_key_size()
4175 size += dist_fields[i].size; in dpaa2_eth_cls_key_size()
4186 for (i = 0; i < ARRAY_SIZE(dist_fields); i++) { in dpaa2_eth_cls_fld_off()
4187 if (dist_fields[i].cls_prot == prot && in dpaa2_eth_cls_fld_off()
4188 dist_fields[i].cls_field == field) in dpaa2_eth_cls_fld_off()
4190 off += dist_fields[i].size; in dpaa2_eth_cls_fld_off()
4205 for (i = 0; i < ARRAY_SIZE(dist_fields); i++) { in dpaa2_eth_cls_trim_rule()
4206 size = dist_fields[i].size; in dpaa2_eth_cls_trim_rule()
[all …]