Searched refs:n_proto_mask (Results 1 – 5 of 5) sorted by relevance
/linux-5.19.10/drivers/net/ethernet/marvell/prestera/ |
D | prestera_flower.c | 190 __be16 n_proto_mask = 0; in prestera_flower_parse() local 230 n_proto_mask = match.mask->n_proto; in prestera_flower_parse() 234 n_proto_mask = 0; in prestera_flower_parse() 238 rule_match_set(r_match->mask, ETH_TYPE, n_proto_mask); in prestera_flower_parse()
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_flower.c | 473 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-5.19.10/drivers/net/ethernet/intel/ice/ |
D | ice_tc_lib.c | 937 u16 n_proto_mask = 0, n_proto_key = 0, addr_type = 0; in ice_parse_cls_flower() local 995 n_proto_mask = ntohs(match.mask->n_proto); in ice_parse_cls_flower() 1001 n_proto_mask = 0; in ice_parse_cls_flower() 1007 headers->l2_mask.n_proto = cpu_to_be16(n_proto_mask); in ice_parse_cls_flower()
|
/linux-5.19.10/drivers/net/ethernet/intel/iavf/ |
D | iavf_main.c | 3539 u16 n_proto_mask = 0; in iavf_parse_cls_flower() local 3574 n_proto_mask = ntohs(match.mask->n_proto); in iavf_parse_cls_flower() 3578 n_proto_mask = 0; in iavf_parse_cls_flower() 3580 n_proto = n_proto_key & n_proto_mask; in iavf_parse_cls_flower()
|
/linux-5.19.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 8379 u16 n_proto_mask = 0, n_proto_key = 0, addr_type = 0; in i40e_parse_cls_flower() local 8412 n_proto_mask = ntohs(match.mask->n_proto); in i40e_parse_cls_flower() 8416 n_proto_mask = 0; in i40e_parse_cls_flower() 8418 filter->n_proto = n_proto_key & n_proto_mask; in i40e_parse_cls_flower()
|