On Thu, Jan 12, 2012 at 3:09 AM, Benoit ML <ben4...@gmail.com> wrote: > Hello, > > Thanks a lot for the patch. > > With 1.3.0 compilation seems to work (not tested any much). > > But with 1.2.2 compilation failed :( > ====================================================== > /usr/local/src/openvswitch-1.2.2/datapath/linux/vport-netdev.c: In > function ‘netdev_get_vport’: > /usr/local/src/openvswitch-1.2.2/datapath/linux/vport-netdev.c:393: > erreur: ‘struct net_device’ has no member named ‘rx_handler_data’ > /usr/local/src/openvswitch-1.2.2/datapath/linux/vport-netdev.c:393: > attention : type defaults to ‘int’ in declaration of ‘_________p1’ > /usr/local/src/openvswitch-1.2.2/datapath/linux/vport-netdev.c:393: > erreur: ‘struct net_device’ has no member named ‘rx_handler_data’ > /usr/local/src/openvswitch-1.2.2/datapath/linux/vport-netdev.c:393: > erreur: ‘struct net_device’ has no member named ‘rx_handler_data’ > /usr/local/src/openvswitch-1.2.2/datapath/linux/vport-netdev.c:393: > attention : type defaults to ‘int’ in declaration of ‘type name’ > /usr/local/src/openvswitch-1.2.2/datapath/linux/vport-netdev.c:393: > attention : transtypage vers un pointeur depuis un entier de taille > différente > make[5]: *** [/usr/local/src/openvswitch-1.2.2/datapath/linux/vport-netdev.o] > Erreur 1 > make[4]: *** [_module_/usr/local/src/openvswitch-1.2.2/datapath/linux] Erreur > 2 > make[4]: quittant le répertoire « /usr/src/kernels/2.6.32-220.2.1.el6.x86_64 » > make[3]: *** [default] Erreur 2 > make[3]: quittant le répertoire « > /usr/local/src/openvswitch-1.2.2/datapath/linux » > make[2]: *** [all-recursive] Erreur 1 > make[2]: quittant le répertoire « /usr/local/src/openvswitch-1.2.2/datapath » > make[1]: *** [all-recursive] Erreur 1 > make[1]: quittant le répertoire « /usr/local/src/openvswitch-1.2.2 » > make: *** [all] Erreur 2 > ====================================================== > > Is it a big problem ? difficult to solve it ?
This actually is something that was addressed in 1.3. The commit was 2fb2cb980c4a0026cc64e693a92c349d4b4f4efe (datapath: IFF_BRIDGE_PORT is backported by Centos 5.6.). It's something that should be possible to take independently if you want to do it but again, I'm not going to put it on an old branch. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev