]> git.proxmox.com Git - ovs.git/commit
dpif: geneve: supply dpif function to get ifindex
authorJohn Hurley <john.hurley@netronome.com>
Tue, 16 Jan 2018 10:46:36 +0000 (10:46 +0000)
committerSimon Horman <simon.horman@netronome.com>
Mon, 22 Jan 2018 09:20:46 +0000 (10:20 +0100)
commit2eb0e01d58a02cb088a47f745fd0a1db94d6dfc1
tree4e4c645d80498eb52c9a0197146cce28d9e0afcd
parent8d48d5f39436113453463b24035afce089da33dd
dpif: geneve: supply dpif function to get ifindex

Geneve tunnels are not given a netdev_class function to determine their
ifindex. This means when ofproto-dpif attempts to add a geneve netdev
it fails in 'netdev_ports_insert' in netdev.c. Failure to add this means
that further operations like offloading a rule that egresses to a geneve
port will be rejected as the egress port cannot be found. This patch
applies the same ifindex function to geneve as is used in vxlan.

Signed-off-by: John Hurley <john.hurley@netronome.com>
Acked-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
lib/netdev-vport.c