Merge "mhi: devices: mhi_netdev: Update napi poll weight to 128"
This commit is contained in:
commit
009556e8ca
1 changed files with 2 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue