RX-fixup question.

Markus Gothe nietzsche at lysator.liu.se
Fri Nov 7 00:51:12 PST 2014


This one is more difficult. Tried the fix up for dest mac with a Novatel MC679. Shows it works correctly in routed mode. In a bridge the skb_reset_mac_header will mess upp both src and dst and the following memcpy will be applied at the wrong offset.

I will start with a fix for this.

//M

Skickat ifrån min mobil.
Den 5 nov 2014 18:20 skrev Markus Gothe <nietzsche at lysator.liu.se>:
>
> Somehow we must either add a tx fixup or use the source used by the modem to get a correct patch.
>
> :-/
>
> //M
>
> Skickat ifrån min mobil.
> Den 5 nov 2014 10:49 skrev Markus Gothe <nietzsche at lysator.liu.se>:
> >
> > Ah, you mean the mac address itself.
> > Yes as long as we store it per device it would work I guess.
> >
> > //M
> >
> > Skickat ifrån min mobil.
> > Den 5 nov 2014 10:47 skrev =?ISO-8859-1?Q?Bj=F8rn_Mork?= <bjorn at mork.no>:
> > >
> > > Markus Gothe <nietzsche at lysator.liu.se> writes: 
> > >
> > > > For briding you want two differently adresses. 
> > > > 
> > > > Especially if you want to do extra magic with tools like ebtables. 
> > > > 
> > > > A private source adress is to prefer. A shared adress would cause me 
> > > > headache when not briding. ;-) 
> > >
> > > But many QMI devices already use exactly this shared address as source. 
> > > So reusing for the fixup it won't change much. 
> > >
> > >
> > > Bjørn 
> > _______________________________________________
> > libqmi-devel mailing list
> > libqmi-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/libqmi-devel
> _______________________________________________
> libqmi-devel mailing list
> libqmi-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libqmi-devel


More information about the libqmi-devel mailing list