commit | 6e9d6358e8d386df5561f4c84e60fecadc9e5f8e | [log] [tgz] |
---|---|---|
author | Yuxiao Zhang <yuxiaozhang@google.com> | Wed Aug 06 09:30:05 2025 -0700 |
committer | Yuxiao Zhang <yuxiaozhang@google.com> | Mon Aug 18 13:40:12 2025 -0700 |
tree | ad7ac96973d0da34a109f12dc4c8425f88da1d6e | |
parent | 04678f3c7f3068020725c018ebd0b0375f9d2da5 [diff] |
linux-gbmc: enable cdc_ncm We will have use cases to pass host mac address in usbnet. cdc_eem does not support that and we need to use cdc_ncm. Tested: verified that the MAC is set correctly Fusion-Link: https://fusion2.corp.google.com/ci/guitar/projects/null/activity/fbdf53e5-5af4-416d-b13c-7d532c1b50bf/overview Google-Bug-Id: 392923910 Change-Id: Ie3ea6a205fbb64b3a0d903ce5934304dd18caa49 Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
diff --git a/recipes-kernel/linux/files/udc-nic.cfg b/recipes-kernel/linux/files/udc-nic.cfg index e9204eb..ff694d3 100644 --- a/recipes-kernel/linux/files/udc-nic.cfg +++ b/recipes-kernel/linux/files/udc-nic.cfg
@@ -3,6 +3,7 @@ CONFIG_USB_CONFIGFS=y CONFIG_USB_CONFIGFS_ECM=y # Legacy deprecated in favor of EEM CONFIG_USB_CONFIGFS_EEM=y +CONFIG_USB_CONFIGFS_NCM=y CONFIG_USB_GADGET=y CONFIG_USB_NPCM_UDC=y <6.1-rc0 npcm CONFIG_NOP_USB_XCEIV=y >=6.1-rc0 npcm
diff --git a/recipes-kernel/linux/files/usb-host-net.cfg b/recipes-kernel/linux/files/usb-host-net.cfg index dbb4a8b..a16430b 100644 --- a/recipes-kernel/linux/files/usb-host-net.cfg +++ b/recipes-kernel/linux/files/usb-host-net.cfg
@@ -2,6 +2,7 @@ CONFIG_USB_USBNET=y CONFIG_USB_NET_CDCETHER=y CONFIG_USB_NET_CDC_EEM=y +CONFIG_USB_NET_CDC_NCM=y # Used for SmartNIC NCSI over USB communication CONFIG_SMSC_PHY=y