Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_flower.c328 u16 n_proto_mask = 0; in mlxsw_sp_flower_parse() local
368 n_proto_mask = ntohs(match.mask->n_proto); in mlxsw_sp_flower_parse()
372 n_proto_mask = 0; in mlxsw_sp_flower_parse()
376 n_proto_key, n_proto_mask); in mlxsw_sp_flower_parse()
446 err = mlxsw_sp_flower_parse_ip(mlxsw_sp, rulei, f, n_proto_key & n_proto_mask); in mlxsw_sp_flower_parse()
/Linux-v5.4/drivers/net/ethernet/intel/iavf/
Diavf_main.c2684 u16 n_proto_mask = 0; in iavf_parse_cls_flower() local
2719 n_proto_mask = ntohs(match.mask->n_proto); in iavf_parse_cls_flower()
2723 n_proto_mask = 0; in iavf_parse_cls_flower()
2725 n_proto = n_proto_key & n_proto_mask; in iavf_parse_cls_flower()
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_main.c7747 u16 n_proto_mask = 0, n_proto_key = 0, addr_type = 0; in i40e_parse_cls_flower() local
7780 n_proto_mask = ntohs(match.mask->n_proto); in i40e_parse_cls_flower()
7784 n_proto_mask = 0; in i40e_parse_cls_flower()
7786 filter->n_proto = n_proto_key & n_proto_mask; in i40e_parse_cls_flower()