mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-02 02:34:05 +08:00
qed: Fix error in the dcbx app meta data initialization.
DCBX app_data array is initialized with the incorrect values for personality field. This would prevent offloaded protocols from honoring the PFC. Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
fdfb70d275
commit
c8fcd133ea
@ -64,11 +64,11 @@
|
||||
((u32)(prio_tc_tbl >> ((7 - prio) * 4)) & 0x7)
|
||||
|
||||
static const struct qed_dcbx_app_metadata qed_dcbx_app_update[] = {
|
||||
{DCBX_PROTOCOL_ISCSI, "ISCSI", QED_PCI_DEFAULT},
|
||||
{DCBX_PROTOCOL_FCOE, "FCOE", QED_PCI_DEFAULT},
|
||||
{DCBX_PROTOCOL_ROCE, "ROCE", QED_PCI_DEFAULT},
|
||||
{DCBX_PROTOCOL_ROCE_V2, "ROCE_V2", QED_PCI_DEFAULT},
|
||||
{DCBX_PROTOCOL_ETH, "ETH", QED_PCI_ETH}
|
||||
{DCBX_PROTOCOL_ISCSI, "ISCSI", QED_PCI_ISCSI},
|
||||
{DCBX_PROTOCOL_FCOE, "FCOE", QED_PCI_FCOE},
|
||||
{DCBX_PROTOCOL_ROCE, "ROCE", QED_PCI_ETH_ROCE},
|
||||
{DCBX_PROTOCOL_ROCE_V2, "ROCE_V2", QED_PCI_ETH_ROCE},
|
||||
{DCBX_PROTOCOL_ETH, "ETH", QED_PCI_ETH},
|
||||
};
|
||||
|
||||
static bool qed_dcbx_app_ethtype(u32 app_info_bitmap)
|
||||
|
Loading…
Reference in New Issue
Block a user