Home
last modified time | relevance | path

Searched refs:proto_id (Results 1 – 23 of 23) sorted by relevance

/dpdk/drivers/net/ice/base/
H A Dice_parser.c333 rslt->po[i].proto_id, rslt->po[i].offset); in ice_parser_result_dump()
445 u8 *proto_id, u16 *proto_off) in _nearest_proto_id() argument
455 p = rslt->po[i].proto_id; in _nearest_proto_id()
463 *proto_id = p; in _nearest_proto_id()
493 u8 proto_id = 0xff; in ice_parser_profile_init() local
518 if (!_nearest_proto_id(rslt, off, &proto_id, &proto_off)) in ice_parser_profile_init()
523 prof->fv[prof->fv_num].proto_id = proto_id; in ice_parser_profile_init()
549 prof->fv[i].proto_id, prof->fv[i].offset, in ice_parser_profile_dump()
H A Dice_parser.h69 u8 proto_id; /* hardware protocol ID */ member
91 u8 proto_id; /* hardware protocol ID */ member
H A Dice_proto_grp.c15 ice_info(hw, "\tproto_id = %d\n", po->proto_id); in _proto_off_dump()
43 po->proto_id = (u8)((data >> 1) & 0xff); in _proto_off_parse()
H A Dice_parser_rt.c660 &psr->proto_grp_table[rt->action->proto_id]; in _proto_off_update()
666 if (entry->proto_id == 0xff) in _proto_off_update()
674 rt->protocols[entry->proto_id] = true; in _proto_off_update()
675 rt->offsets[entry->proto_id] = po; in _proto_off_update()
678 entry->proto_id, po); in _proto_off_update()
681 rt->protocols[rt->action->proto_id] = true; in _proto_off_update()
682 rt->offsets[rt->action->proto_id] = rt->po; in _proto_off_update()
684 rt->action->proto_id, rt->po); in _proto_off_update()
742 rslt->po[rslt->po_num].proto_id = (u8)i; in _proto_off_resolve()
H A Dice_proto_grp.h12 u8 proto_id; member
H A Dice_pg_cam.h40 u8 proto_id; member
H A Dice_pg_cam.c43 ice_info(hw, "\tproto_id = %d\n", action->proto_id); in _pg_cam_action_dump()
93 action->proto_id = ((data >> 23) & 0xff); in _pg_cam_action_init()
H A Dice_flow.c2570 params->es[idx].prot_id = prof->fv[i].proto_id; in ice_flow_set_hw_prof()
4087 u8 src_idx, dst_idx, proto_id; in ice_rss_cfg_raw_symm() local
4091 proto_id = prof->fv[i].proto_id; in ice_rss_cfg_raw_symm()
4093 switch (proto_id) { in ice_rss_cfg_raw_symm()
4099 prof->fv[i + len].proto_id == proto_id && in ice_rss_cfg_raw_symm()
4114 prof->fv[i + len].proto_id == proto_id && in ice_rss_cfg_raw_symm()
4131 prof->fv[i + len].proto_id == proto_id && in ice_rss_cfg_raw_symm()
/dpdk/lib/net/
H A Drte_ppp.h27 rte_be16_t proto_id; /**< PPP protocol identifier(16) */ member
/dpdk/drivers/net/qede/base/
H A Decore_dcbx.c61 static bool ecore_dcbx_default_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee) in ecore_dcbx_default_tlv() argument
70 return !!(ethtype && (proto_id == ECORE_ETH_TYPE_DEFAULT)); in ecore_dcbx_default_tlv()
74 u16 proto_id, bool ieee) in ecore_dcbx_iwarp_tlv() argument
87 return !!(port && (proto_id == p_hwfn->p_dcbx_info->iwarp_port)); in ecore_dcbx_iwarp_tlv()
488 entry->proto_id = GET_MFW_FIELD(p_tbl[i].entry, in ecore_dcbx_get_app_data()
491 entry->proto_id, in ecore_dcbx_get_app_data()
1147 *entry |= ((u32)p_params->app_entry[i].proto_id << in ecore_dcbx_set_app_data()
H A Decore_dcbx_api.h91 u16 proto_id; member
/dpdk/drivers/net/iavf/
H A Diavf_fdir.c649 uint8_t proto_id; in iavf_fdir_refine_input_set() local
662 proto_id = 6; in iavf_fdir_refine_input_set()
664 proto_id = 17; in iavf_fdir_refine_input_set()
673 ipv4_spec.hdr.next_proto_id = proto_id; in iavf_fdir_refine_input_set()
680 ipv6_spec.hdr.proto = proto_id; in iavf_fdir_refine_input_set()
/dpdk/drivers/net/ice/
H A Dice_switch_filter.c1172 if (pppoe_proto_mask->proto_id) { in ice_switch_parse_pattern()
1174 pppoe_proto_spec->proto_id; in ice_switch_parse_pattern()
1176 pppoe_proto_mask->proto_id; in ice_switch_parse_pattern()
1181 if ((pppoe_proto_mask->proto_id & in ice_switch_parse_pattern()
1182 pppoe_proto_spec->proto_id) != in ice_switch_parse_pattern()
1184 (pppoe_proto_mask->proto_id & in ice_switch_parse_pattern()
1185 pppoe_proto_spec->proto_id) != in ice_switch_parse_pattern()
H A Dice_fdir_filter.c1337 if (pi->prof.fv[i].proto_id != in ice_fdir_create_filter()
1338 filter->prof->fv[i].proto_id || in ice_fdir_create_filter()
1363 pi->prof.fv[i].proto_id = in ice_fdir_create_filter()
1364 filter->prof->fv[i].proto_id; in ice_fdir_create_filter()
H A Dice_hash.c1226 if (rss_prof->prof.fv[i].proto_id != in ice_hash_add_raw_cfg()
1227 prof->fv[i].proto_id || in ice_hash_add_raw_cfg()
/dpdk/lib/ethdev/
H A Drte_flow.h1608 rte_be16_t proto_id; /**< PPP protocol identifier. */ member
1615 .proto_id = RTE_BE16(0xffff),
1988 .proto_id = RTE_BE16(0xffff),
/dpdk/drivers/net/i40e/
H A Drte_pmd_i40e.h159 uint8_t proto_id; member
H A Di40e_ethdev.c11562 uint8_t proto_id; in i40e_update_customized_pctype() local
11607 proto_id = pctype[i].protocols[j]; in i40e_update_customized_pctype()
11608 if (proto_id == RTE_PMD_I40E_PROTO_UNUSED) in i40e_update_customized_pctype()
11611 if (proto[n].proto_id != proto_id) in i40e_update_customized_pctype()
11694 uint8_t proto_id; in i40e_update_customized_ptype() local
11755 proto_id = ptype[i].protocols[j]; in i40e_update_customized_ptype()
11756 if (proto_id == RTE_PMD_I40E_PROTO_UNUSED) in i40e_update_customized_ptype()
11759 if (proto[n].proto_id != proto_id) in i40e_update_customized_ptype()
H A Drte_pmd_i40e.c1971 pinfo[i].proto_id = RTE_PMD_I40E_PROTO_UNUSED; in rte_pmd_i40e_get_ddp_info()
1988 pinfo[j].proto_id = tlv->data[0]; in rte_pmd_i40e_get_ddp_info()
/dpdk/app/test-pmd/
H A Dcmdline.c14656 uint8_t proto_id; in cmd_ddp_info_parsed() local
14749 printf(" %2u: %s\n", proto[i].proto_id, in cmd_ddp_info_parsed()
14776 proto_id = pctype[i].protocols[j]; in cmd_ddp_info_parsed()
14777 if (proto_id != RTE_PMD_I40E_PROTO_UNUSED) { in cmd_ddp_info_parsed()
14779 if (proto[n].proto_id == proto_id) { in cmd_ddp_info_parsed()
14815 proto_id = ptype[i].protocols[j]; in cmd_ddp_info_parsed()
14816 if (proto_id != RTE_PMD_I40E_PROTO_UNUSED) { in cmd_ddp_info_parsed()
14818 if (proto[n].proto_id == proto_id) { in cmd_ddp_info_parsed()
H A Dcmdline_flow.c4485 (struct rte_flow_item_pppoe_proto_id, proto_id)),
5064 hdr.proto_id)),
/dpdk/doc/guides/prog_guide/
H A Drte_flow.rst1385 - ``proto_id``: PPP protocol identifier.
1386 - Default ``mask`` matches proto_id only.
1651 - ``proto_id``: PPP protocol identifier.
1652 - Default ``mask`` matches addr, ctrl, proto_id.
/dpdk/doc/guides/testpmd_app_ug/
H A Dtestpmd_funcs.rst4119 - ``proto_id {unsigned}``: PPP protocol identifier.
4165 - ``proto_id {unsigned}``: PPP protocol identifier.