Searched refs:prot_id (Results 1 – 14 of 14) sorted by relevance
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_flow.c | 926 enum ice_prot_id prot_id = ICE_PROT_ID_INVAL; in ice_flow_xtract_fld() local 941 prot_id = seg == 0 ? ICE_PROT_MAC_OF_OR_S : ICE_PROT_MAC_IL; in ice_flow_xtract_fld() 944 prot_id = seg == 0 ? ICE_PROT_ETYPE_OL : ICE_PROT_ETYPE_IL; in ice_flow_xtract_fld() 947 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() 954 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() 992 prot_id = seg == 0 ? ICE_PROT_IPV4_OF_OR_S : ICE_PROT_IPV4_IL; in ice_flow_xtract_fld() 996 prot_id = seg == 0 ? ICE_PROT_IPV6_OF_OR_S : ICE_PROT_IPV6_IL; in ice_flow_xtract_fld() 1001 prot_id = ICE_PROT_TCP_IL; in ice_flow_xtract_fld() [all …]
|
H A D | ice_dcb_nl.c | 718 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()
|
H A D | ice_dcb.c | 313 dcbcfg->app[i].prot_id = (buf[offset + 1] << 0x8) | in ice_parse_ieee_app_tlv() 488 dcbcfg->app[i].prot_id = ntohs(app->protocol); in ice_parse_cee_app_tlv() 843 u16 prot_id = cmp_dcbcfg->app[j].prot_id; in ice_cee_to_dcb_cfg() local 847 (prot_id == ISCSI_LISTEN_PORT || in ice_cee_to_dcb_cfg() 848 prot_id == ICE_APP_PROT_ID_ISCSI_860)) { in ice_cee_to_dcb_cfg() 849 ice_app_prot_id_type = prot_id; in ice_cee_to_dcb_cfg() 876 dcbcfg->app[app_index].prot_id = ice_app_prot_id_type; in ice_cee_to_dcb_cfg() 1255 buf[offset + 1] = (dcbcfg->app[i].prot_id >> 0x8) & 0xFF; in ice_add_ieee_app_pri_tlv() 1256 buf[offset + 2] = dcbcfg->app[i].prot_id & 0xFF; in ice_add_ieee_app_pri_tlv()
|
H A D | ice_ddp.c | 397 if (fv->ew[j].prot_id != ICE_PROT_INVALID || in ice_get_prof_index_max() 753 if (fv->ew[i].prot_id == (u8)ICE_PROT_UDP_OF && in ice_get_sw_prof_type() 758 if (fv->ew[i].prot_id == (u8)ICE_PROT_GRE_OF) in ice_get_sw_prof_type() 853 if (fv->ew[j].prot_id == in ice_get_sw_fv_list() 854 lkups->fv_words[i].prot_id && in ice_get_sw_fv_list() 922 if (fv->ew[i].prot_id == ICE_PROT_INVALID && in ice_init_prof_result_bm()
|
H A D | ice_ddp.h | 25 u8 prot_id; member
|
H A D | ice_flex_pipe.c | 643 *prot = fv_ext[fv_idx].prot_id; in ice_find_prot_off() 2742 u8 prot_id; member 2807 if (first_free == ICE_FD_FV_NOT_FOUND && es[i].prot_id != in ice_update_fd_swap() 2812 if (es[i].prot_id == ice_fd_pairs[j].prot_id && in ice_update_fd_swap() 2841 es[first_free - k].prot_id = in ice_update_fd_swap() 2842 ice_fd_pairs[index].prot_id; in ice_update_fd_swap() 2874 if (es[si].prot_id == ice_fd_pairs[j].prot_id && in ice_update_fd_swap()
|
H A D | ice_flow.h | 357 u8 prot_id; /* Protocol ID of extracted header field */ member
|
H A D | ice_switch.c | 2395 lkup_exts->fv_words[fv_word_idx].prot_id = prot; in ice_get_recp_frm_fw() 4762 ar[qr].prot_id == be[pe].prot_id && in ice_find_recp() 4841 u8 j, word, prot_id, ret_val; in ice_fill_valid_words() local 4843 if (!ice_prot_type_to_id(rule->type, &prot_id)) in ice_fill_valid_words() 4856 lkup_exts->fv_words[word].prot_id = in ice_fill_valid_words() 4903 if (fv_ext[j].prot_id == fv_word->prot_id && in ice_fill_fv_word_index()
|
H A D | ice_type.h | 688 u16 prot_id; member
|
H A D | ice_dcb_lib.c | 665 dcbcfg->app[0].prot_id = ETH_P_FCOE; in ice_dcb_sw_dflt_cfg()
|
/linux/drivers/firmware/arm_scmi/ |
H A D | driver.c | 404 int prot_id, const char *name) in scmi_create_protocol_devices() argument 409 sdev = scmi_device_create(np, info->dev, prot_id, name); in scmi_create_protocol_devices() 413 prot_id, name); in scmi_create_protocol_devices() 418 int prot_id, const char *name) in scmi_destroy_protocol_devices() argument 421 scmi_device_destroy(info->dev, prot_id, name); in scmi_destroy_protocol_devices() 2279 scmi_is_protocol_implemented(const struct scmi_handle *handle, u8 prot_id) in scmi_is_protocol_implemented() argument 2289 if (info->protocols_imp[i] == prot_id) in scmi_is_protocol_implemented() 2616 int prot_id, bool tx) in scmi_chan_setup() argument 2645 idx ? "rx" : "tx", prot_id); in scmi_chan_setup() 2647 tdev = scmi_device_create(of_node, info->dev, prot_id, name); in scmi_chan_setup() [all …]
|
H A D | bus.c | 251 int prot_id, const char *name) in scmi_child_dev_find() argument 256 id_table.protocol_id = prot_id; in scmi_child_dev_find()
|
/linux/fs/smb/server/ |
H A D | smb_common.c | 31 __u16 prot_id; member 223 return smb1_protos[i].prot_id; in ksmbd_lookup_dialect_by_name() 245 smb2_protos[i].prot_id) in ksmbd_lookup_dialect_by_id() 251 return smb2_protos[i].prot_id; in ksmbd_lookup_dialect_by_id()
|
/linux/drivers/infiniband/hw/irdma/ |
H A D | type.h | 680 u16 prot_id; member
|