This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

enable veth module in kernel ?

Hi,

I'm using the kernel from git://git.ti.com/keystone-linux/linux.git, for my keystone 2 board, does anybody know if CONFIG_VETH is still used by this kernel ?  I tried enabling it but didn't find any loadable modules, I need this to create veth pairs to connect my Openvswitch bridges by the way.

I also tried to do a quick grep in the kernel source, but I can't seem to find something that uses this, however I did see some veth-related logs in git.  

Cheers,

Jose

  • Hi, Jose,

    When you enable VETH, did you select it as 'm' or 'y'? If selecting it as 'm', it requires to 'make modules" to get the loadable modules be built. If it is 'y', then veth.o will be created and be part of the kernel. As what was said, veth has not been tested on Keystone-2.

    Rex

  • Hi Rex,

    Yes, I manually set it to "m" and I wasn't able to find it in menuconfig but it didn't generate any module.  After some point I found it in the "drivers" section of menuconfig - which I didn't expect, because veth doesn't sound like a device driver to me.  

    Now, the module was present and loaded, so far so good it allowed creating veth pairs already.

    Cheers,

    Pepe