Searched refs:n_proto_mask (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/marvell/prestera/ |
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()
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/ |
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()
|
/Linux-v6.6/drivers/net/ethernet/intel/ice/ |
D | ice_tc_lib.c | 1339 u16 n_proto_mask = 0, n_proto_key = 0, addr_type = 0; in ice_parse_cls_flower() local 1401 n_proto_mask = ntohs(match.mask->n_proto); in ice_parse_cls_flower() 1407 n_proto_mask = 0; in ice_parse_cls_flower() 1413 headers->l2_mask.n_proto = cpu_to_be16(n_proto_mask); in ice_parse_cls_flower()
|
/Linux-v6.6/drivers/net/ethernet/intel/iavf/ |
D | iavf_main.c | 3737 u16 n_proto_mask = 0; in iavf_parse_cls_flower() local 3772 n_proto_mask = ntohs(match.mask->n_proto); in iavf_parse_cls_flower() 3776 n_proto_mask = 0; in iavf_parse_cls_flower() 3778 n_proto = n_proto_key & n_proto_mask; in iavf_parse_cls_flower()
|
/Linux-v6.6/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 8524 u16 n_proto_mask = 0, n_proto_key = 0, addr_type = 0; in i40e_parse_cls_flower() local 8557 n_proto_mask = ntohs(match.mask->n_proto); in i40e_parse_cls_flower() 8561 n_proto_mask = 0; in i40e_parse_cls_flower() 8563 filter->n_proto = n_proto_key & n_proto_mask; in i40e_parse_cls_flower()
|