diff options
author | M Chetan Kumar <m.chetan.kumar@linux.intel.com> | 2021-12-09 17:32:27 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-12-11 07:53:56 +0300 |
commit | 5d710dc3318c981475780158c17a8725bdcc6a5d (patch) | |
tree | c01ceecb7f1b12693eb7c41c872ba368bb8909df /drivers/net/wwan | |
parent | 840ece19e9f246a1b15308ae76b68aaf7a3a9433 (diff) | |
download | linux-5d710dc3318c981475780158c17a8725bdcc6a5d.tar.xz |
net: wwan: iosm: set tx queue len
Set wwan net dev tx queue len to DEFAULT_TX_QUEUE_LEN.
Signed-off-by: M Chetan Kumar <m.chetan.kumar@linux.intel.com>
Reviewed-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/wwan')
-rw-r--r-- | drivers/net/wwan/iosm/iosm_ipc_wwan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wwan/iosm/iosm_ipc_wwan.c b/drivers/net/wwan/iosm/iosm_ipc_wwan.c index b571d9cedba4..27151148c782 100644 --- a/drivers/net/wwan/iosm/iosm_ipc_wwan.c +++ b/drivers/net/wwan/iosm/iosm_ipc_wwan.c @@ -8,6 +8,7 @@ #include <linux/if_link.h> #include <linux/rtnetlink.h> #include <linux/wwan.h> +#include <net/pkt_sched.h> #include "iosm_ipc_chnl_cfg.h" #include "iosm_ipc_imem_ops.h" @@ -159,7 +160,7 @@ static void ipc_wwan_setup(struct net_device *iosm_dev) { iosm_dev->header_ops = NULL; iosm_dev->hard_header_len = 0; - iosm_dev->priv_flags |= IFF_NO_QUEUE; + iosm_dev->tx_queue_len = DEFAULT_TX_QUEUE_LEN; iosm_dev->type = ARPHRD_NONE; iosm_dev->mtu = ETH_DATA_LEN; |