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()
534 entry->proto_id = QED_MFW_GET_FIELD(p_tbl[i].entry, in qed_dcbx_get_app_data()
537 entry->proto_id, in qed_dcbx_get_app_data()
1188 *entry |= ((u32)p_params->app_entry[i].proto_id << in qed_dcbx_set_app_data()
1769 if ((entry->ethtype == ethtype) && (entry->proto_id == idval)) { in qed_dcbnl_getapp()
1804 if ((entry->ethtype == ethtype) && (entry->proto_id == idval)) in qed_dcbnl_setapp()
1807 if (!entry->proto_id) { in qed_dcbnl_setapp()
1820 dcbx_set.config.params.app_entry[i].proto_id = idval; in qed_dcbnl_setapp()
2008 dcbx_info->remote.params.app_entry[i].proto_id; in qed_dcbnl_peer_getapptable()
2310 (entry->proto_id == app->protocol)) { in qed_dcbnl_ieee_getapp()
2373 (entry->proto_id == app->protocol)) in qed_dcbnl_ieee_setapp()
2376 if (!entry->proto_id) { in qed_dcbnl_ieee_setapp()
2389 dcbx_set.config.params.app_entry[i].proto_id = app->protocol; in qed_dcbnl_ieee_setapp()