# How to identify what is specifing UDP port for VXLAN?

Hello -

With RHEL 7.1 the hardware vendor I work for offered VXLAN offload support in their ethernet driver / hardware (be2net).

I'm attempting to configure them, and I'm running into an issue.

The issue would be that my driver requires that we use a single UDP port for VXLAN, and can only identify one.

However I'm getting the following output when I attempt to enable VXLAN and I'm trying to figure out how to specify that only one UDP port be used (if possible)

The errors I'm getting:

[15509.491042] be2net 0000:02:00.0: Enabled VxLAN offloads for UDP port 6677
[15509.503333] be2net 0000:02:00.1: Enabled VxLAN offloads for UDP port 6677
[15509.522199] be2net 0000:02:00.0: Only one UDP port supported for VxLAN offloads
[15509.536562] be2net 0000:02:00.1: Only one UDP port supported for VxLAN offloads


What i'm trying to figure out is what specifies the UDP port to use, which configuration file. I've spent some time spelunking on google but I'm not finding what I need. If someone would be willing to point me in the right direction that'd be great. I'm trying to find where 6677 is being specified, and how I can use just 4789 like what documentation I found has referenced. I find the standard 4789 declaration in the ml2 configuration but wondering if anyone could help me figure out what subsystem to look at to identify/remove the 6677 declaration.

Unfortunately the documentation on teh driver side is lacking some still as it's relatively new. I'm not sure what is specifying 6677 as a port to use, and I've got requests into driver devleopment but I'm at a POC and trying to get things up and running so thought I'd try here as well.

Thank you.

edit retag close merge delete