diff --git a/drivers/bus/mhi/devices/mhi_netdev.c b/drivers/bus/mhi/devices/mhi_netdev.c index e99724f52c21..d46536666bbb 100644 --- a/drivers/bus/mhi/devices/mhi_netdev.c +++ b/drivers/bus/mhi/devices/mhi_netdev.c @@ -21,6 +21,7 @@ #define WATCHDOG_TIMEOUT (30 * HZ) #define IPC_LOG_PAGES (100) #define MAX_NETBUF_SIZE (128) +#define MHI_NETDEV_NAPI_POLL_WEIGHT (128) #ifdef CONFIG_MHI_DEBUG @@ -721,7 +722,7 @@ static int mhi_netdev_enable_iface(struct mhi_netdev *mhi_netdev) } netif_napi_add(mhi_netdev->ndev, mhi_netdev->napi, - mhi_netdev_poll, NAPI_POLL_WEIGHT); + mhi_netdev_poll, MHI_NETDEV_NAPI_POLL_WEIGHT); ret = register_netdev(mhi_netdev->ndev); if (ret) { MSG_ERR("Network device registration failed\n");