Re: [PATCH net-next 1/4] net: cdc_mbim: optionally use VLAN ID 4094 for IP session 0

2014-05-11 Thread Bjørn Mork
Bjørn Mork writes: > @@ -164,12 +211,24 @@ static struct sk_buff *cdc_mbim_tx_fixup(struct usbnet > *dev, struct sk_buff *skb > skb_pull(skb, ETH_HLEN); > } > > + /* Is IP session <0> tagged too? */ > + if (!tci && info->flags & FLAG_

[PATCH net-next 1/4] net: cdc_mbim: optionally use VLAN ID 4094 for IP session 0

2014-05-10 Thread Bjørn Mork
The cdc_mbim driver maps 802.1q VLANs to MBIM IP and DSS sessions. MBIM IP session 0 is handled as an exception and is mapped to untagged frames. This patch adds optional support for remapping MBIM IP session 0 to 802.1q VLAN ID 4094 instead. The default behaviour is not changed. The new behaviour