Skip to content

PCI/VPD: Convert more users to the new VPD API functions

Heiner Kallweit linux-pci linux-scsi netdev oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12sfc: falcon: Read VPD with pci_vpd_alloc()drivers/net/ethernet/sfc/falcon/efx.c+14 -160 replies
2/12sfc: falcon: Search VPD with pci_vpd_find_ro_info_keyword()drivers/net/ethernet/sfc/falcon/efx.c+14 -510 replies
3/12bnx2: Search VPD with pci_vpd_find_ro_info_keyword()drivers/net/ethernet/broadcom/bnx2.c+8 -250 replies
4/12bnx2: Replace open-coded version with swab32s()drivers/net/ethernet/broadcom/bnx2.c+4 -90 replies
5/12bnx2x: Read VPD with pci_vpd_alloc()drivers/net/ethernet/broadcom/bnx2x/bnx2x.h drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c+10 -350 replies
6/12bnx2x: Search VPD with pci_vpd_find_ro_info_keyword()drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c+15 -423 replies
7/12bnxt: Read VPD with pci_vpd_alloc()drivers/net/ethernet/broadcom/bnxt/bnxt.c+4 -90 replies
8/12bnxt: Search VPD with pci_vpd_find_ro_info_keyword()drivers/net/ethernet/broadcom/bnxt/bnxt.c+9 -290 replies
9/12cxgb4: Validate VPD checksum with pci_vpd_check_csum()drivers/net/ethernet/chelsio/cxgb4/t4_hw.c+4 -80 replies
10/12cxgb4: Remove unused vpd_param member ecdrivers/net/ethernet/chelsio/cxgb4/cxgb4.h drivers/net/ethernet/chelsio/cxgb4/t4_hw.c+1 -60 replies
11/12cxgb4: Search VPD with pci_vpd_find_ro_info_keyword()drivers/net/ethernet/chelsio/cxgb4/t4_hw.c+27 -402 replies
12/12scsi: cxlflash: Search VPD with pci_vpd_find_ro_info_keyword()drivers/scsi/cxlflash/main.c+6 -280 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/12] PCI/VPD: Convert more users to the new VPD API functions

This series converts more users to the new VPD API functions.

bnx2 patches have been tested with a BCM5709 card. The other patches are compile-tested, except cxlflash.

Heiner Kallweit (12):
sfc: falcon: Read VPD with pci_vpd_alloc()
sfc: falcon: Search VPD with pci_vpd_find_ro_info_keyword()
bnx2: Search VPD with pci_vpd_find_ro_info_keyword()
bnx2: Replace open-coded version with swab32s()
bnx2x: Read VPD with pci_vpd_alloc()
bnx2x: Search VPD with pci_vpd_find_ro_info_keyword()
bnxt: Read VPD with pci_vpd_alloc()
bnxt: Search VPD with pci_vpd_find_ro_info_keyword()
cxgb4: Validate VPD checksum with pci_vpd_check_csum()
cxgb4: Remove unused vpd_param member ec
cxgb4: Search VPD with pci_vpd_find_ro_info_keyword()
scsi: cxlflash: Search VPD with pci_vpd_find_ro_info_keyword()

 drivers/net/ethernet/broadcom/bnx2.c          | 46 +++-------
 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h   |  1 -
 .../net/ethernet/broadcom/bnx2x/bnx2x_main.c  | 91 ++++---------------
 drivers/net/ethernet/broadcom/bnxt/bnxt.c     | 49 +++-------
 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h    |  2 -
 drivers/net/ethernet/chelsio/cxgb4/t4_hw.c    | 76 ++++++----------
 drivers/net/ethernet/sfc/falcon/efx.c         | 79 ++++------------
 drivers/scsi/cxlflash/main.c                  | 34 ++-----
 8 files changed, 98 insertions(+), 280 deletions(-)
Signature · 1 line
2.33.0