Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_flower.c473 u16 n_proto_mask = 0; in mlxsw_sp_flower_parse() local
513 n_proto_mask = ntohs(match.mask->n_proto); in mlxsw_sp_flower_parse()
517 n_proto_mask = 0; in mlxsw_sp_flower_parse()
521 n_proto_key, n_proto_mask); in mlxsw_sp_flower_parse()
592 err = mlxsw_sp_flower_parse_ip(mlxsw_sp, rulei, f, n_proto_key & n_proto_mask); in mlxsw_sp_flower_parse()
/linux-6.1.9/drivers/net/ethernet/marvell/prestera/
Dprestera_flower.c192 __be16 n_proto_mask = 0; in prestera_flower_parse() local
233 n_proto_mask = match.mask->n_proto; in prestera_flower_parse()
237 n_proto_mask = 0; in prestera_flower_parse()
241 rule_match_set(r_match->mask, ETH_TYPE, n_proto_mask); in prestera_flower_parse()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_tc_lib.c1193 u16 n_proto_mask = 0, n_proto_key = 0, addr_type = 0; in ice_parse_cls_flower() local
1255 n_proto_mask = ntohs(match.mask->n_proto); in ice_parse_cls_flower()
1261 n_proto_mask = 0; in ice_parse_cls_flower()
1267 headers->l2_mask.n_proto = cpu_to_be16(n_proto_mask); in ice_parse_cls_flower()
/linux-6.1.9/drivers/net/ethernet/intel/iavf/
Diavf_main.c3709 u16 n_proto_mask = 0; in iavf_parse_cls_flower() local
3744 n_proto_mask = ntohs(match.mask->n_proto); in iavf_parse_cls_flower()
3748 n_proto_mask = 0; in iavf_parse_cls_flower()
3750 n_proto = n_proto_key & n_proto_mask; in iavf_parse_cls_flower()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_main.c8520 u16 n_proto_mask = 0, n_proto_key = 0, addr_type = 0; in i40e_parse_cls_flower() local
8553 n_proto_mask = ntohs(match.mask->n_proto); in i40e_parse_cls_flower()
8557 n_proto_mask = 0; in i40e_parse_cls_flower()
8559 filter->n_proto = n_proto_key & n_proto_mask; in i40e_parse_cls_flower()