octeon: fix rvu vf device id 70/40870/2
authorMonendra Singh Kushwaha <[email protected]>
Mon, 6 May 2024 09:27:28 +0000 (14:57 +0530)
committerDamjan Marion <[email protected]>
Mon, 6 May 2024 11:23:16 +0000 (11:23 +0000)
Type: fix
Fixes: I1ea92f

Change-Id: Idf91b3f4cb3cc93081a282a14ffe2421a3628509
Signed-off-by: Monendra Singh Kushwaha <[email protected]>
src/plugins/dev_octeon/init.c
src/plugins/dev_octeon/octeon.h

index 8c5ed95..97a11e0 100644 (file)
@@ -51,7 +51,8 @@ static struct
   }
 
   _ (0xa063, RVU_PF, "Marvell Octeon Resource Virtualization Unit PF"),
-  _ (0xa0f8, RVU_VF, "Marvell Octeon Resource Virtualization Unit VF"),
+  _ (0xa064, RVU_VF, "Marvell Octeon Resource Virtualization Unit VF"),
+  _ (0xa0f8, LBK_VF, "Marvell Octeon Loopback Unit VF"),
   _ (0xa0f7, SDP_VF, "Marvell Octeon System DPI Packet Interface Unit VF"),
   _ (0xa0f3, CPT_VF, "Marvell Octeon Cryptographic Accelerator Unit VF"),
 #undef _
index a128037..e43cde0 100644 (file)
@@ -22,6 +22,7 @@ typedef enum
   OCT_DEVICE_TYPE_UNKNOWN = 0,
   OCT_DEVICE_TYPE_RVU_PF,
   OCT_DEVICE_TYPE_RVU_VF,
+  OCT_DEVICE_TYPE_LBK_VF,
   OCT_DEVICE_TYPE_SDP_VF,
   OCT_DEVICE_TYPE_CPT_VF,
 } __clib_packed oct_device_type_t;