Searched refs:n_proto_mask (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_flower.c | 198 __be16 n_proto_mask = 0; in prestera_flower_parse() local 239 n_proto_mask = match.mask->n_proto; in prestera_flower_parse() 243 n_proto_mask = 0; in prestera_flower_parse() 247 rule_match_set(r_match->mask, ETH_TYPE, n_proto_mask); in prestera_flower_parse()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_flower.c | 564 u16 n_proto_mask = 0; in mlxsw_sp_flower_parse() local 605 n_proto_mask = ntohs(match.mask->n_proto); in mlxsw_sp_flower_parse() 609 n_proto_mask = 0; in mlxsw_sp_flower_parse() 613 n_proto_key, n_proto_mask); in mlxsw_sp_flower_parse() 689 err = mlxsw_sp_flower_parse_ip(mlxsw_sp, rulei, f, n_proto_key & n_proto_mask); in mlxsw_sp_flower_parse()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_tc_lib.c | 1413 u16 n_proto_mask = 0, n_proto_key = 0, addr_type = 0; in ice_parse_cls_flower() local 1478 n_proto_mask = ntohs(match.mask->n_proto); in ice_parse_cls_flower() 1484 n_proto_mask = 0; in ice_parse_cls_flower() 1490 headers->l2_mask.n_proto = cpu_to_be16(n_proto_mask); in ice_parse_cls_flower()
|
/openbmc/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_main.c | 3736 u16 n_proto_mask = 0; in iavf_parse_cls_flower() local 3771 n_proto_mask = ntohs(match.mask->n_proto); in iavf_parse_cls_flower() 3775 n_proto_mask = 0; in iavf_parse_cls_flower() 3777 n_proto = n_proto_key & n_proto_mask; in iavf_parse_cls_flower()
|
/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_main.c | 8577 u16 n_proto_mask = 0, n_proto_key = 0, addr_type = 0; in i40e_parse_cls_flower() local 8610 n_proto_mask = ntohs(match.mask->n_proto); in i40e_parse_cls_flower() 8614 n_proto_mask = 0; in i40e_parse_cls_flower() 8616 filter->n_proto = n_proto_key & n_proto_mask; in i40e_parse_cls_flower()
|