Searched refs:n_proto_key (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A 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()
|
/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 1477 n_proto_key = ntohs(match.key->n_proto); in ice_parse_cls_flower() 1480 if (n_proto_key == ETH_P_ALL || n_proto_key == 0 || in ice_parse_cls_flower() 1483 n_proto_key = 0; in ice_parse_cls_flower() 1489 headers->l2_key.n_proto = cpu_to_be16(n_proto_key); in ice_parse_cls_flower() 1593 n_proto_key = ice_tc_set_pppoe(&match, fltr, headers); in ice_parse_cls_flower() 1600 headers->l2_key.n_proto = cpu_to_be16(n_proto_key); in ice_parse_cls_flower()
|
/openbmc/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_main.c | 3737 u16 n_proto_key = 0; in iavf_parse_cls_flower() local 3770 n_proto_key = ntohs(match.key->n_proto); in iavf_parse_cls_flower() 3773 if (n_proto_key == ETH_P_ALL) { in iavf_parse_cls_flower() 3774 n_proto_key = 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 8609 n_proto_key = ntohs(match.key->n_proto); in i40e_parse_cls_flower() 8612 if (n_proto_key == ETH_P_ALL) { in i40e_parse_cls_flower() 8613 n_proto_key = 0; in i40e_parse_cls_flower() 8616 filter->n_proto = n_proto_key & n_proto_mask; in i40e_parse_cls_flower()
|