Searched refs:n_proto_key (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_flower.c | 474 u16 n_proto_key = 0; in mlxsw_sp_flower_parse() local 512 n_proto_key = ntohs(match.key->n_proto); in mlxsw_sp_flower_parse() 515 if (n_proto_key == ETH_P_ALL) { in mlxsw_sp_flower_parse() 516 n_proto_key = 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/ |
D | prestera_flower.c | 193 __be16 n_proto_key = 0; in prestera_flower_parse() local 232 n_proto_key = match.key->n_proto; in prestera_flower_parse() 236 n_proto_key = 0; in prestera_flower_parse() 240 rule_match_set(r_match->key, ETH_TYPE, n_proto_key); in prestera_flower_parse()
|
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_tc_lib.c | 1193 u16 n_proto_mask = 0, n_proto_key = 0, addr_type = 0; in ice_parse_cls_flower() local 1254 n_proto_key = ntohs(match.key->n_proto); in ice_parse_cls_flower() 1257 if (n_proto_key == ETH_P_ALL || n_proto_key == 0 || in ice_parse_cls_flower() 1260 n_proto_key = 0; in ice_parse_cls_flower() 1266 headers->l2_key.n_proto = cpu_to_be16(n_proto_key); in ice_parse_cls_flower() 1368 n_proto_key = ice_tc_set_pppoe(&match, fltr, headers); in ice_parse_cls_flower() 1375 headers->l2_key.n_proto = cpu_to_be16(n_proto_key); in ice_parse_cls_flower()
|
/linux-6.1.9/drivers/net/ethernet/intel/iavf/ |
D | iavf_main.c | 3710 u16 n_proto_key = 0; in iavf_parse_cls_flower() local 3743 n_proto_key = ntohs(match.key->n_proto); in iavf_parse_cls_flower() 3746 if (n_proto_key == ETH_P_ALL) { in iavf_parse_cls_flower() 3747 n_proto_key = 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/ |
D | i40e_main.c | 8520 u16 n_proto_mask = 0, n_proto_key = 0, addr_type = 0; in i40e_parse_cls_flower() local 8552 n_proto_key = ntohs(match.key->n_proto); in i40e_parse_cls_flower() 8555 if (n_proto_key == ETH_P_ALL) { in i40e_parse_cls_flower() 8556 n_proto_key = 0; in i40e_parse_cls_flower() 8559 filter->n_proto = n_proto_key & n_proto_mask; in i40e_parse_cls_flower()
|