Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_flower.c329 u16 n_proto_key = 0; in mlxsw_sp_flower_parse() local
367 n_proto_key = ntohs(match.key->n_proto); in mlxsw_sp_flower_parse()
370 if (n_proto_key == ETH_P_ALL) { in mlxsw_sp_flower_parse()
371 n_proto_key = 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.c2685 u16 n_proto_key = 0; in iavf_parse_cls_flower() local
2718 n_proto_key = ntohs(match.key->n_proto); in iavf_parse_cls_flower()
2721 if (n_proto_key == ETH_P_ALL) { in iavf_parse_cls_flower()
2722 n_proto_key = 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
7779 n_proto_key = ntohs(match.key->n_proto); in i40e_parse_cls_flower()
7782 if (n_proto_key == ETH_P_ALL) { in i40e_parse_cls_flower()
7783 n_proto_key = 0; in i40e_parse_cls_flower()
7786 filter->n_proto = n_proto_key & n_proto_mask; in i40e_parse_cls_flower()