# Re: \[PATCH net-next v5 09/13\] net: wwan: t7xx: Add WWAN network interface

- From: Sergey Ryazanov \<ryazanov.s.a@gmail.com\>
- Date: 2022-03-07 02:59:19 
- List: netdev
- Page: https://ratatoskr.run/netdev/2022/03/11225698
- Thread: https://ratatoskr.run/netdev/2022/02/11224653/t.md

```text
On Thu, Feb 24, 2022 at 1:35 AM Ricardo Martinez
[ref] wrote:
> From: Haijun Liu <haijun.liu@mediatek.com>
>
> Creates the Cross Core Modem Network Interface (CCMNI) which implements
> the wwan_ops for registration with the WWAN framework, CCMNI also
> implements the net_device_ops functions used by the network device.
> Network device operations include open, close, start transmission, TX
> timeout, change MTU, and select queue.

[skipped]

> +static u16 t7xx_ccmni_select_queue(struct net_device *dev, struct sk_buff *skb,
> +                                  struct net_device *sb_dev)
> +{
> +       return DPMAIF_TX_DEFAULT_QUEUE;
> +}

[skipped]

> +static const struct net_device_ops ccmni_netdev_ops = {
> +       .ndo_open         = t7xx_ccmni_open,
> +       .ndo_stop         = t7xx_ccmni_close,
> +       .ndo_start_xmit   = t7xx_ccmni_start_xmit,
> +       .ndo_tx_timeout   = t7xx_ccmni_tx_timeout,
> +       .ndo_select_queue = t7xx_ccmni_select_queue,

Since the driver works in the single queue mode, this callback is unneeded.

> +};

--
Sergey
```
