Lines Matching refs:proto_id
109 static bool qed_dcbx_default_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee) in qed_dcbx_default_tlv() argument
118 return !!(ethtype && (proto_id == QED_ETH_TYPE_DEFAULT)); in qed_dcbx_default_tlv()
121 static bool qed_dcbx_iscsi_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee) in qed_dcbx_iscsi_tlv() argument
131 return !!(port && (proto_id == QED_TCP_PORT_ISCSI)); in qed_dcbx_iscsi_tlv()
134 static bool qed_dcbx_fcoe_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee) in qed_dcbx_fcoe_tlv() argument
143 return !!(ethtype && (proto_id == QED_ETH_TYPE_FCOE)); in qed_dcbx_fcoe_tlv()
146 static bool qed_dcbx_roce_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee) in qed_dcbx_roce_tlv() argument
155 return !!(ethtype && (proto_id == QED_ETH_TYPE_ROCE)); in qed_dcbx_roce_tlv()
158 static bool qed_dcbx_roce_v2_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee) in qed_dcbx_roce_v2_tlv() argument
168 return !!(port && (proto_id == QED_UDP_PORT_TYPE_ROCE_V2)); in qed_dcbx_roce_v2_tlv()
533 entry->proto_id = QED_MFW_GET_FIELD(p_tbl[i].entry, in qed_dcbx_get_app_data()
536 entry->proto_id, in qed_dcbx_get_app_data()
1187 *entry |= ((u32)p_params->app_entry[i].proto_id << in qed_dcbx_set_app_data()
1768 if ((entry->ethtype == ethtype) && (entry->proto_id == idval)) { in qed_dcbnl_getapp()
1803 if ((entry->ethtype == ethtype) && (entry->proto_id == idval)) in qed_dcbnl_setapp()
1806 if (!entry->proto_id) { in qed_dcbnl_setapp()
1819 dcbx_set.config.params.app_entry[i].proto_id = idval; in qed_dcbnl_setapp()
2007 dcbx_info->remote.params.app_entry[i].proto_id; in qed_dcbnl_peer_getapptable()
2309 (entry->proto_id == app->protocol)) { in qed_dcbnl_ieee_getapp()
2372 (entry->proto_id == app->protocol)) in qed_dcbnl_ieee_setapp()
2375 if (!entry->proto_id) { in qed_dcbnl_ieee_setapp()
2388 dcbx_set.config.params.app_entry[i].proto_id = app->protocol; in qed_dcbnl_ieee_setapp()