Home
last modified time | relevance | path

Searched refs:n_proto_key (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_flower.c406 u16 n_proto_key = 0; in mlxsw_sp_flower_parse() local
444 n_proto_key = ntohs(match.key->n_proto); in mlxsw_sp_flower_parse()
447 if (n_proto_key == ETH_P_ALL) { in mlxsw_sp_flower_parse()
448 n_proto_key = 0; in mlxsw_sp_flower_parse()
453 n_proto_key, n_proto_mask); in mlxsw_sp_flower_parse()
523 err = mlxsw_sp_flower_parse_ip(mlxsw_sp, rulei, f, n_proto_key & n_proto_mask); in mlxsw_sp_flower_parse()
/drivers/net/ethernet/intel/iavf/
Diavf_main.c2756 u16 n_proto_key = 0; in iavf_parse_cls_flower() local
2789 n_proto_key = ntohs(match.key->n_proto); in iavf_parse_cls_flower()
2792 if (n_proto_key == ETH_P_ALL) { in iavf_parse_cls_flower()
2793 n_proto_key = 0; in iavf_parse_cls_flower()
2796 n_proto = n_proto_key & n_proto_mask; in iavf_parse_cls_flower()
/drivers/net/ethernet/intel/i40e/
Di40e_main.c8016 u16 n_proto_mask = 0, n_proto_key = 0, addr_type = 0; in i40e_parse_cls_flower() local
8048 n_proto_key = ntohs(match.key->n_proto); in i40e_parse_cls_flower()
8051 if (n_proto_key == ETH_P_ALL) { in i40e_parse_cls_flower()
8052 n_proto_key = 0; in i40e_parse_cls_flower()
8055 filter->n_proto = n_proto_key & n_proto_mask; in i40e_parse_cls_flower()