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