Fix wrong 'VF Migration' info when displaying SR-IOV capability. Signed-off-by: Yu Zhao <yu.zhao@xxxxxxxxx> diff --git a/ls-ecaps.c b/ls-ecaps.c index f0d1338..2d8153b 100644 --- a/ls-ecaps.c +++ b/ls-ecaps.c @@ -166,6 +166,7 @@ cap_sriov(struct device *d, int where) printf("\t\tSupported Page Size: %08x, ", l); l = get_conf_long(d, where + PCI_IOV_SYSPS); printf("System Page Size: %08x\n", l); + l = get_conf_long(d, where + PCI_IOV_MSAO); printf("\t\tVF Migration: offset: %08x, BIR: %x\n", PCI_IOV_MSA_OFFSET(l), PCI_IOV_MSA_BIR(l)); } -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html