]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/qede/base/ecore_dcbx_api.h
net/octeontx2: support VLAN based RSS hash
[dpdk.git] / drivers / net / qede / base / ecore_dcbx_api.h
index eaf8e0822e097cdb798f4489c2880f768964911c..6fad2ecc2ec6af4ec692a63dab83d2b2ff66d466 100644 (file)
@@ -228,6 +228,16 @@ enum _ecore_status_t
 ecore_lldp_set_system_tlvs(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
                           struct ecore_lldp_sys_tlvs *p_params);
 
+/* Returns priority value for a given dscp index */
+enum _ecore_status_t
+ecore_dcbx_get_dscp_priority(struct ecore_hwfn *p_hwfn,
+                            u8 dscp_index, u8 *p_dscp_pri);
+
+/* Sets priority value for a given dscp index */
+enum _ecore_status_t
+ecore_dcbx_set_dscp_priority(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
+                            u8 dscp_index, u8 pri_val);
+
 static const struct ecore_dcbx_app_metadata ecore_dcbx_app_update[] = {
        {DCBX_PROTOCOL_ISCSI, "ISCSI", ECORE_PCI_ISCSI},
        {DCBX_PROTOCOL_FCOE, "FCOE", ECORE_PCI_FCOE},