libnvme: Add fix for usb port in mi-mctp tool

Tested: changed the mi-mctp.c file and scp the mi-mctp executable to a
bmc https://paste.googleplex.com/5301362604769280

The issue with last implementation is the logic to check port type is
based the array size and the port type id being 0, 1, 2, 3 as continuous
numbers, which make the usb port type id 0x10 misfunction. This fix is
to fill in the other port id as reserved to mitigate the issue.

platform11: http://fusion2/9b4865a8-320d-3f74-a6c2-07f335c394b8, Result: pass
platform15: http://fusion2/4d76012b-fbee-390c-a54b-b65e53ed868b, Result: fail

Platforms-Affected: N/A

Google-Bug-Id: 462646252
Change-Id: I406e79efa5b58324b22728c4fec32a07fe9ca703
Signed-off-by: Yichao Wang <wangyic@google.com>
(cherry picked from commit b5f3157ad9f1b71345a4540b47f9e4f7b052253c)
diff --git a/recipes-connectivity/libnvme/libnvme/0014-Add-mi-mctp-support-for-USB-ports.patch b/recipes-connectivity/libnvme/libnvme/0014-Add-mi-mctp-support-for-USB-ports.patch
index dbc3c3b..ecf2926 100644
--- a/recipes-connectivity/libnvme/libnvme/0014-Add-mi-mctp-support-for-USB-ports.patch
+++ b/recipes-connectivity/libnvme/libnvme/0014-Add-mi-mctp-support-for-USB-ports.patch
@@ -1,24 +1,38 @@
-From 149109a9541e8c91ee8ee944fbdea0391bdd2493 Mon Sep 17 00:00:00 2001
+From 7c58073d745a1dd00fb74949881628d85e90567d Mon Sep 17 00:00:00 2001
 From: Yichao Wang <wangyic@google.com>
-Date: Thu, 11 Dec 2025 00:39:35 +0000
-Subject: [PATCH] Add mi-mctp support for USB ports
+Date: Fri, 30 Jan 2026 19:23:35 +0000
+Subject: [PATCH] libnvme: add mi-mctp support for usb ports
 
-Change-Id: Ida929b1022b28ee2e81b3f7ce6af088770917c63
+Signed-off-by: Yichao Wang <wangyic@google.com>
 ---
- examples/mi-mctp.c | 1 +
- 1 file changed, 1 insertion(+)
+ examples/mi-mctp.c | 14 ++++++++++++++
+ 1 file changed, 14 insertions(+)
 
 diff --git a/examples/mi-mctp.c b/examples/mi-mctp.c
-index 80192491..19f9431c 100644
+index 80192491..50343211 100644
 --- a/examples/mi-mctp.c
 +++ b/examples/mi-mctp.c
-@@ -51,6 +51,7 @@ static struct {
+@@ -51,6 +51,20 @@ static struct {
  	{ 0x00, "inactive", NULL },
  	{ 0x01, "PCIe", show_port_pcie },
  	{ 0x02, "SMBus", show_port_smbus },
++	{ 0x03, "Reserved", NULL },
++	{ 0x04, "Reserved", NULL },
++	{ 0x05, "Reserved", NULL },
++	{ 0x06, "Reserved", NULL },
++	{ 0x07, "Reserved", NULL },
++	{ 0x08, "Reserved", NULL },
++	{ 0x09, "Reserved", NULL },
++	{ 0x0A, "Reserved", NULL },
++	{ 0x0B, "Reserved", NULL },
++	{ 0x0C, "Reserved", NULL },
++	{ 0x0D, "Reserved", NULL },
++	{ 0x0E, "Reserved", NULL },
++	{ 0x0F, "Reserved", NULL },
 +	{ 0x10, "USB", NULL },
  };
  
  static int show_port(nvme_mi_ep_t ep, int portid)
 -- 
-2.52.0.223.gf5cc29aaa4-goog
+2.53.0.rc1.225.gd81095ad13-goog
+