Home
last modified time | relevance | path

Searched refs:prot_id (Results 1 – 13 of 13) sorted by relevance

/drivers/net/ethernet/intel/ice/
Dice_flow.c903 enum ice_prot_id prot_id = ICE_PROT_ID_INVAL; in ice_flow_xtract_fld() local
918 prot_id = seg == 0 ? ICE_PROT_MAC_OF_OR_S : ICE_PROT_MAC_IL; in ice_flow_xtract_fld()
921 prot_id = seg == 0 ? ICE_PROT_ETYPE_OL : ICE_PROT_ETYPE_IL; in ice_flow_xtract_fld()
924 prot_id = seg == 0 ? ICE_PROT_IPV4_OF_OR_S : ICE_PROT_IPV4_IL; in ice_flow_xtract_fld()
927 prot_id = seg == 0 ? ICE_PROT_IPV6_OF_OR_S : ICE_PROT_IPV6_IL; in ice_flow_xtract_fld()
931 prot_id = seg == 0 ? ICE_PROT_IPV4_OF_OR_S : ICE_PROT_IPV4_IL; in ice_flow_xtract_fld()
950 prot_id = seg == 0 ? ICE_PROT_IPV6_OF_OR_S : ICE_PROT_IPV6_IL; in ice_flow_xtract_fld()
969 prot_id = seg == 0 ? ICE_PROT_IPV4_OF_OR_S : ICE_PROT_IPV4_IL; in ice_flow_xtract_fld()
973 prot_id = seg == 0 ? ICE_PROT_IPV6_OF_OR_S : ICE_PROT_IPV6_IL; in ice_flow_xtract_fld()
978 prot_id = ICE_PROT_TCP_IL; in ice_flow_xtract_fld()
[all …]
Dice_dcb_nl.c718 app->prot_id == cfg->app[i].prot_id && in ice_dcbnl_find_app()
796 new_app.prot_id = app->protocol; in ice_dcbnl_setapp()
895 app->protocol == new_cfg->app[i].prot_id && in ice_dcbnl_delapp()
898 new_cfg->app[i].prot_id = 0; in ice_dcbnl_delapp()
914 new_cfg->app[j].prot_id = old_cfg->app[j + 1].prot_id; in ice_dcbnl_delapp()
1072 sapp.protocol = dcbxcfg->app[i].prot_id; in ice_dcbnl_set_all()
1096 sapp.protocol = app->prot_id; in ice_dcbnl_vsi_del_app()
1100 vsi->idx, err, app->selector, app->prot_id, app->priority); in ice_dcbnl_vsi_del_app()
Dice_dcb.c323 dcbcfg->app[i].prot_id = (buf[offset + 1] << 0x8) | in ice_parse_ieee_app_tlv()
501 dcbcfg->app[i].prot_id = ntohs(app->protocol); in ice_parse_cee_app_tlv()
858 u16 prot_id = cmp_dcbcfg->app[j].prot_id; in ice_cee_to_dcb_cfg() local
862 (prot_id == ISCSI_LISTEN_PORT || in ice_cee_to_dcb_cfg()
863 prot_id == ICE_APP_PROT_ID_ISCSI_860)) { in ice_cee_to_dcb_cfg()
864 ice_app_prot_id_type = prot_id; in ice_cee_to_dcb_cfg()
891 dcbcfg->app[app_index].prot_id = ice_app_prot_id_type; in ice_cee_to_dcb_cfg()
1270 buf[offset + 1] = (dcbcfg->app[i].prot_id >> 0x8) & 0xFF; in ice_add_ieee_app_pri_tlv()
1271 buf[offset + 2] = dcbcfg->app[i].prot_id & 0xFF; in ice_add_ieee_app_pri_tlv()
Dice_ddp.c396 if (fv->ew[j].prot_id != ICE_PROT_INVALID || in ice_get_prof_index_max()
743 if (fv->ew[i].prot_id == (u8)ICE_PROT_UDP_OF && in ice_get_sw_prof_type()
748 if (fv->ew[i].prot_id == (u8)ICE_PROT_GRE_OF) in ice_get_sw_prof_type()
843 if (fv->ew[j].prot_id == in ice_get_sw_fv_list()
844 lkups->fv_words[i].prot_id && in ice_get_sw_fv_list()
912 if (fv->ew[i].prot_id == ICE_PROT_INVALID && in ice_init_prof_result_bm()
Dice_ddp.h25 u8 prot_id; member
Dice_flex_pipe.c643 *prot = fv_ext[fv_idx].prot_id; in ice_find_prot_off()
2715 u8 prot_id; member
2780 if (first_free == ICE_FD_FV_NOT_FOUND && es[i].prot_id != in ice_update_fd_swap()
2785 if (es[i].prot_id == ice_fd_pairs[j].prot_id && in ice_update_fd_swap()
2814 es[first_free - k].prot_id = in ice_update_fd_swap()
2815 ice_fd_pairs[index].prot_id; in ice_update_fd_swap()
2847 if (es[si].prot_id == ice_fd_pairs[j].prot_id && in ice_update_fd_swap()
Dice_flow.h299 u8 prot_id; /* Protocol ID of extracted header field */ member
Dice_switch.c2260 lkup_exts->fv_words[fv_word_idx].prot_id = prot; in ice_get_recp_frm_fw()
4665 ar[qr].prot_id == be[pe].prot_id && in ice_find_recp()
4744 u8 j, word, prot_id, ret_val; in ice_fill_valid_words() local
4746 if (!ice_prot_type_to_id(rule->type, &prot_id)) in ice_fill_valid_words()
4759 lkup_exts->fv_words[word].prot_id = in ice_fill_valid_words()
4813 grp->pairs[grp->n_val_pairs].prot_id = in ice_create_first_fit_recp_def()
4814 lkup_exts->fv_words[j].prot_id; in ice_create_first_fit_recp_def()
4861 if (fv_ext[j].prot_id == pr->prot_id && in ice_fill_fv_word_index()
Dice_type.h650 u16 prot_id; member
Dice_dcb_lib.c665 dcbcfg->app[0].prot_id = ETH_P_FCOE; in ice_dcb_sw_dflt_cfg()
/drivers/firmware/arm_scmi/
Ddriver.c267 int prot_id, const char *name) in scmi_create_protocol_devices() argument
272 sdev = scmi_device_create(np, info->dev, prot_id, name); in scmi_create_protocol_devices()
276 prot_id, name); in scmi_create_protocol_devices()
281 int prot_id, const char *name) in scmi_destroy_protocol_devices() argument
284 scmi_device_destroy(info->dev, prot_id, name); in scmi_destroy_protocol_devices()
1991 scmi_is_protocol_implemented(const struct scmi_handle *handle, u8 prot_id) in scmi_is_protocol_implemented() argument
2001 if (info->protocols_imp[i] == prot_id) in scmi_is_protocol_implemented()
2328 int prot_id, bool tx) in scmi_chan_setup() argument
2355 idx ? "rx" : "tx", prot_id); in scmi_chan_setup()
2357 tdev = scmi_device_create(of_node, info->dev, prot_id, name); in scmi_chan_setup()
[all …]
Dbus.c231 int prot_id, const char *name) in scmi_child_dev_find() argument
236 id_table.protocol_id = prot_id; in scmi_child_dev_find()
/drivers/infiniband/hw/irdma/
Dtype.h680 u16 prot_id; member