MBIM (was: Re: changing usbnet's API to better deal with cdc-ncm)

Oliver Neukum
2012-09-07T07:40:59Z

On Thursday 06 September 2012 10:17:46 Bjørn Mork wrote:
> Not really related, but I am still worrying how MBIM is going to fit
> into the usbnet model where you have a strict relation between one
> netdev and one USB interface. Do you see any way usbnet could be
> extended to manage a list of netdevs?
>
> All the netdev related functions doing
>
> struct usbnet *dev = netdev_priv(net);
>
> would still work. But all the USB related functions using dev->net to
> get the netdev would fail. Maybe this will be too difficult to
> implement within the usbnet framework at all?

It depends on how much support we get from upper layers.
You can give two IPs to an ethernet card as well.

It would be best if you could come up with some preliminary code
at least.

Reagrds
Oliver