Searched refs:n_proto_key (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_flower.c | 565 u16 n_proto_key = 0; in mlxsw_sp_flower_parse() local 604 n_proto_key = ntohs(match.key->n_proto); in mlxsw_sp_flower_parse() 607 if (n_proto_key == ETH_P_ALL) { in mlxsw_sp_flower_parse() 608 n_proto_key = 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-6.6.21/drivers/net/ethernet/marvell/prestera/ |
D | prestera_flower.c | 199 __be16 n_proto_key = 0; in prestera_flower_parse() local 238 n_proto_key = match.key->n_proto; in prestera_flower_parse() 242 n_proto_key = 0; in prestera_flower_parse() 246 rule_match_set(r_match->key, ETH_TYPE, n_proto_key); in prestera_flower_parse()
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ |
D | ice_tc_lib.c | 1394 u16 n_proto_mask = 0, n_proto_key = 0, addr_type = 0; in ice_parse_cls_flower() local 1455 n_proto_key = ntohs(match.key->n_proto); in ice_parse_cls_flower() 1458 if (n_proto_key == ETH_P_ALL || n_proto_key == 0 || in ice_parse_cls_flower() 1461 n_proto_key = 0; in ice_parse_cls_flower() 1467 headers->l2_key.n_proto = cpu_to_be16(n_proto_key); in ice_parse_cls_flower() 1571 n_proto_key = ice_tc_set_pppoe(&match, fltr, headers); in ice_parse_cls_flower() 1578 headers->l2_key.n_proto = cpu_to_be16(n_proto_key); in ice_parse_cls_flower()
|
/linux-6.6.21/drivers/net/ethernet/intel/iavf/ |
D | iavf_main.c | 3709 u16 n_proto_key = 0; in iavf_parse_cls_flower() local 3742 n_proto_key = ntohs(match.key->n_proto); in iavf_parse_cls_flower() 3745 if (n_proto_key == ETH_P_ALL) { in iavf_parse_cls_flower() 3746 n_proto_key = 0; in iavf_parse_cls_flower() 3749 n_proto = n_proto_key & n_proto_mask; in iavf_parse_cls_flower()
|
/linux-6.6.21/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 8545 u16 n_proto_mask = 0, n_proto_key = 0, addr_type = 0; in i40e_parse_cls_flower() local 8577 n_proto_key = ntohs(match.key->n_proto); in i40e_parse_cls_flower() 8580 if (n_proto_key == ETH_P_ALL) { in i40e_parse_cls_flower() 8581 n_proto_key = 0; in i40e_parse_cls_flower() 8584 filter->n_proto = n_proto_key & n_proto_mask; in i40e_parse_cls_flower()
|