]> git.proxmox.com Git - ovs.git/commit
netdev: Allow storing dpif type into netdev structure.
authorIlya Maximets <i.maximets@ovn.org>
Wed, 8 Jul 2020 06:38:28 +0000 (06:38 +0000)
committerIlya Maximets <i.maximets@ovn.org>
Wed, 8 Jul 2020 17:07:21 +0000 (19:07 +0200)
commit48c1ab5d74ece8d2e6dd332bfebd3a7adce9414b
treee74cbbfc1afc0df898190515a965291143b6279d
parentb6207b1d2711933cb4c4f03d6ac91f4a7da71912
netdev: Allow storing dpif type into netdev structure.

Storing of the dpif type of the owning datapath interface will allow
us to easily distinguish, for example, userspace tunneling ports from
the system ones.  This is required in terms of HW offloading to avoid
offloading of userspace flows to kernel interfaces that doesn't belong
to userspace datapath, but have same dpif_port names.

Acked-by: Eli Britstein <elibr@mellanox.com>
Acked-by: Roni Bar Yanai <roniba@mellanox.com>
Acked-by: Ophir Munk <ophirmu@mellanox.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
lib/netdev-provider.h
lib/netdev.c
lib/netdev.h