Merge "mhi: devices: mhi_netdev: Update napi poll weight to 128"

This commit is contained in:
qctecmdr 2020-07-03 03:31:36 -07:00 committed by Gerrit - the friendly Code Review server
commit 009556e8ca

View file

@ -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");