Skip to content

Commit

Permalink
common/cnxk: fix inline device VF identification
Browse files Browse the repository at this point in the history
[ upstream commit d71d40c1051ba22b8f0c1536225810d7d65dfefc ]

Fix inline device VF identification so that the right
mailbox region is used.

Fixes: ee48f71 ("common/cnxk: support NIX inline inbound and outbound setup")

Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
  • Loading branch information
nithind1988 authored and kevintraynor committed Jul 11, 2023
1 parent 6f685b4 commit 498f380
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/common/cnxk/roc_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -951,6 +951,7 @@ dev_vf_hwcap_update(struct plt_pci_device *pci_dev, struct dev *dev)
case PCI_DEVID_CNXK_RVU_AF_VF:
case PCI_DEVID_CNXK_RVU_VF:
case PCI_DEVID_CNXK_RVU_SDP_VF:
case PCI_DEVID_CNXK_RVU_NIX_INL_VF:
dev->hwcap |= DEV_HWCAP_F_VF;
break;
}
Expand Down

0 comments on commit 498f380

Please sign in to comment.