Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/netronome/nfp/abm/
H A Dcls.c25 unsigned int tos_off; in nfp_abm_u32_check_knode() local
69 tos_off = 16; in nfp_abm_u32_check_knode()
72 tos_off = 20; in nfp_abm_u32_check_knode()
92 if (be32_to_cpu(k->mask) >> tos_off & ~abm->dscp_mask) { in nfp_abm_u32_check_knode()
96 be32_to_cpu(k->mask) >> tos_off, abm->dscp_mask); in nfp_abm_u32_check_knode()
175 unsigned int tos_off; in nfp_abm_u32_knode_replace() local
182 tos_off = proto == htons(ETH_P_IP) ? 16 : 20; in nfp_abm_u32_knode_replace()
185 val = be32_to_cpu(knode->sel->keys[0].val) >> tos_off & 0xff; in nfp_abm_u32_knode_replace()
186 mask = be32_to_cpu(knode->sel->keys[0].mask) >> tos_off & 0xff; in nfp_abm_u32_knode_replace()