Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/marvell/prestera/
Dprestera_flower.c94 u16 n_proto_key = 0; in prestera_flower_parse() local
132 n_proto_key = ntohs(match.key->n_proto); in prestera_flower_parse()
135 if (n_proto_key == ETH_P_ALL) { in prestera_flower_parse()
136 n_proto_key = 0; in prestera_flower_parse()
143 m_entry.keymask.u16.key = n_proto_key; in prestera_flower_parse()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_flower.c429 u16 n_proto_key = 0; in mlxsw_sp_flower_parse() local
467 n_proto_key = ntohs(match.key->n_proto); in mlxsw_sp_flower_parse()
470 if (n_proto_key == ETH_P_ALL) { in mlxsw_sp_flower_parse()
471 n_proto_key = 0; in mlxsw_sp_flower_parse()
476 n_proto_key, n_proto_mask); in mlxsw_sp_flower_parse()
546 err = mlxsw_sp_flower_parse_ip(mlxsw_sp, rulei, f, n_proto_key & n_proto_mask); in mlxsw_sp_flower_parse()
/Linux-v5.15/drivers/net/ethernet/intel/iavf/
Diavf_main.c2763 u16 n_proto_key = 0; in iavf_parse_cls_flower() local
2796 n_proto_key = ntohs(match.key->n_proto); in iavf_parse_cls_flower()
2799 if (n_proto_key == ETH_P_ALL) { in iavf_parse_cls_flower()
2800 n_proto_key = 0; in iavf_parse_cls_flower()
2803 n_proto = n_proto_key & n_proto_mask; in iavf_parse_cls_flower()
/Linux-v5.15/drivers/net/ethernet/intel/i40e/
Di40e_main.c8198 u16 n_proto_mask = 0, n_proto_key = 0, addr_type = 0; in i40e_parse_cls_flower() local
8230 n_proto_key = ntohs(match.key->n_proto); in i40e_parse_cls_flower()
8233 if (n_proto_key == ETH_P_ALL) { in i40e_parse_cls_flower()
8234 n_proto_key = 0; in i40e_parse_cls_flower()
8237 filter->n_proto = n_proto_key & n_proto_mask; in i40e_parse_cls_flower()