]> www.infradead.org Git - users/jedix/linux-maple.git/commit
vdpa/octeon_ep: read vendor-specific PCI capability
authorShijith Thotton <sthotton@marvell.com>
Fri, 3 Jan 2025 15:31:37 +0000 (21:01 +0530)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 27 Jan 2025 14:39:25 +0000 (09:39 -0500)
commit5abfb2208bd7b71381f6b803173d8ea075b67277
tree2fc36e89a93d6cdc0e0fb526f5ca47c4bb0fc0e7
parent1629ee1078fc2ac38e324adb0e50c8b04ec714a2
vdpa/octeon_ep: read vendor-specific PCI capability

Added support to read the vendor-specific PCI capability to identify the
type of device being emulated.

Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Shijith Thotton <sthotton@marvell.com>
Message-Id: <20250103153226.1933479-4-sthotton@marvell.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/octeon_ep/octep_vdpa.h
drivers/vdpa/octeon_ep/octep_vdpa_hw.c
drivers/vdpa/octeon_ep/octep_vdpa_main.c