Home
last modified time | relevance | path

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

/linux-6.1.9/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.c683 app->prot_id == cfg->app[i].prot_id && in ice_dcbnl_find_app()
756 new_app.prot_id = app->protocol; in ice_dcbnl_setapp()
850 app->protocol == new_cfg->app[i].prot_id && in ice_dcbnl_delapp()
853 new_cfg->app[i].prot_id = 0; in ice_dcbnl_delapp()
869 new_cfg->app[j].prot_id = old_cfg->app[j + 1].prot_id; in ice_dcbnl_delapp()
1022 sapp.protocol = dcbxcfg->app[i].prot_id; in ice_dcbnl_set_all()
1046 sapp.protocol = app->prot_id; in ice_dcbnl_vsi_del_app()
1050 vsi->idx, err, app->selector, app->prot_id, app->priority); in ice_dcbnl_vsi_del_app()
Dice_dcb.c320 dcbcfg->app[i].prot_id = (buf[offset + 1] << 0x8) | in ice_parse_ieee_app_tlv()
498 dcbcfg->app[i].prot_id = ntohs(app->protocol); in ice_parse_cee_app_tlv()
855 u16 prot_id = cmp_dcbcfg->app[j].prot_id; in ice_cee_to_dcb_cfg() local
859 (prot_id == ISCSI_LISTEN_PORT || in ice_cee_to_dcb_cfg()
860 prot_id == ICE_APP_PROT_ID_ISCSI_860)) { in ice_cee_to_dcb_cfg()
861 ice_app_prot_id_type = prot_id; in ice_cee_to_dcb_cfg()
888 dcbcfg->app[app_index].prot_id = ice_app_prot_id_type; in ice_cee_to_dcb_cfg()
1231 buf[offset + 1] = (dcbcfg->app[i].prot_id >> 0x8) & 0xFF; in ice_add_ieee_app_pri_tlv()
1232 buf[offset + 2] = dcbcfg->app[i].prot_id & 0xFF; in ice_add_ieee_app_pri_tlv()
Dice_flex_pipe.c1590 if (fv->ew[j].prot_id != ICE_PROT_INVALID || in ice_get_prof_index_max()
1847 if (fv->ew[i].prot_id == (u8)ICE_PROT_UDP_OF && in ice_get_sw_prof_type()
1852 if (fv->ew[i].prot_id == (u8)ICE_PROT_GRE_OF) in ice_get_sw_prof_type()
1949 if (fv->ew[j].prot_id == in ice_get_sw_fv_list()
1950 lkups->fv_words[i].prot_id && in ice_get_sw_fv_list()
2017 if (fv->ew[i].prot_id == ICE_PROT_INVALID && in ice_init_prof_result_bm()
2548 *prot = fv_ext[fv_idx].prot_id; in ice_find_prot_off()
4621 u8 prot_id; member
4686 if (first_free == ICE_FD_FV_NOT_FOUND && es[i].prot_id != in ice_update_fd_swap()
4691 if (es[i].prot_id == ice_fd_pairs[j].prot_id && in ice_update_fd_swap()
[all …]
Dice_switch.c2248 lkup_exts->fv_words[fv_word_idx].prot_id = prot; in ice_get_recp_frm_fw()
4635 ar[qr].prot_id == be[pe].prot_id && in ice_find_recp()
4711 u8 j, word, prot_id, ret_val; in ice_fill_valid_words() local
4713 if (!ice_prot_type_to_id(rule->type, &prot_id)) in ice_fill_valid_words()
4726 lkup_exts->fv_words[word].prot_id = in ice_fill_valid_words()
4780 grp->pairs[grp->n_val_pairs].prot_id = in ice_create_first_fit_recp_def()
4781 lkup_exts->fv_words[j].prot_id; in ice_create_first_fit_recp_def()
4828 if (fv_ext[j].prot_id == pr->prot_id && in ice_fill_fv_word_index()
5281 lkup_exts->fv_words[word].prot_id = ICE_META_DATA_ID_HW; in ice_add_special_words()
5293 lkup_exts->fv_words[word].prot_id = ICE_META_DATA_ID_HW; in ice_add_special_words()
Dice_flow.h299 u8 prot_id; /* Protocol ID of extracted header field */ member
Dice_flex_type.h11 u8 prot_id; member
Dice_type.h641 u16 prot_id; member
Dice_dcb_lib.c658 dcbcfg->app[0].prot_id = ETH_P_FCOE; in ice_dcb_sw_dflt_cfg()
/linux-6.1.9/drivers/firmware/arm_scmi/
Ddriver.c1664 scmi_is_protocol_implemented(const struct scmi_handle *handle, u8 prot_id) in scmi_is_protocol_implemented() argument
1674 if (info->protocols_imp[i] == prot_id) in scmi_is_protocol_implemented()
1989 int prot_id, bool tx) in scmi_chan_setup() argument
2000 cinfo = idr_find(idr, prot_id); in scmi_chan_setup()
2026 prot_id); in scmi_chan_setup()
2033 ret = idr_alloc(idr, cinfo, prot_id, prot_id + 1, GFP_KERNEL); in scmi_chan_setup()
2034 if (ret != prot_id) { in scmi_chan_setup()
2044 scmi_txrx_setup(struct scmi_info *info, struct device *dev, int prot_id) in scmi_txrx_setup() argument
2046 int ret = scmi_chan_setup(info, dev, prot_id, true); in scmi_txrx_setup()
2050 ret = scmi_chan_setup(info, dev, prot_id, false); in scmi_txrx_setup()
[all …]
Dbus.c64 int prot_id, const char *name) in scmi_child_dev_find() argument
69 id_table.protocol_id = prot_id; in scmi_child_dev_find()
Dcommon.h176 int prot_id, const char *name);
/linux-6.1.9/fs/ksmbd/
Dsmb_common.c31 __u16 prot_id; member
207 return smb1_protos[i].prot_id; in ksmbd_lookup_dialect_by_name()
229 smb2_protos[i].prot_id) in ksmbd_lookup_dialect_by_id()
235 return smb2_protos[i].prot_id; in ksmbd_lookup_dialect_by_id()
/linux-6.1.9/drivers/infiniband/hw/irdma/
Dtype.h722 u16 prot_id; member