Lines Matching refs:proto_id
83 static bool qed_dcbx_default_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee) in qed_dcbx_default_tlv() argument
92 return !!(ethtype && (proto_id == QED_ETH_TYPE_DEFAULT)); in qed_dcbx_default_tlv()
95 static bool qed_dcbx_iscsi_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee) in qed_dcbx_iscsi_tlv() argument
105 return !!(port && (proto_id == QED_TCP_PORT_ISCSI)); in qed_dcbx_iscsi_tlv()
108 static bool qed_dcbx_fcoe_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee) in qed_dcbx_fcoe_tlv() argument
117 return !!(ethtype && (proto_id == QED_ETH_TYPE_FCOE)); in qed_dcbx_fcoe_tlv()
120 static bool qed_dcbx_roce_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee) in qed_dcbx_roce_tlv() argument
129 return !!(ethtype && (proto_id == QED_ETH_TYPE_ROCE)); in qed_dcbx_roce_tlv()
132 static bool qed_dcbx_roce_v2_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee) in qed_dcbx_roce_v2_tlv() argument
142 return !!(port && (proto_id == QED_UDP_PORT_TYPE_ROCE_V2)); in qed_dcbx_roce_v2_tlv()
507 entry->proto_id = QED_MFW_GET_FIELD(p_tbl[i].entry, in qed_dcbx_get_app_data()
510 entry->proto_id, in qed_dcbx_get_app_data()
1158 *entry |= ((u32)p_params->app_entry[i].proto_id << in qed_dcbx_set_app_data()
1741 if ((entry->ethtype == ethtype) && (entry->proto_id == idval)) { in qed_dcbnl_getapp()
1776 if ((entry->ethtype == ethtype) && (entry->proto_id == idval)) in qed_dcbnl_setapp()
1779 if (!entry->proto_id) { in qed_dcbnl_setapp()
1792 dcbx_set.config.params.app_entry[i].proto_id = idval; in qed_dcbnl_setapp()
1980 dcbx_info->remote.params.app_entry[i].proto_id; in qed_dcbnl_peer_getapptable()
2282 (entry->proto_id == app->protocol)) { in qed_dcbnl_ieee_getapp()
2345 (entry->proto_id == app->protocol)) in qed_dcbnl_ieee_setapp()
2348 if (!entry->proto_id) { in qed_dcbnl_ieee_setapp()
2361 dcbx_set.config.params.app_entry[i].proto_id = app->protocol; in qed_dcbnl_ieee_setapp()