octeontx2-pf: Fix error return code in otx2_probe()
[linux/fpc-iii.git] / net / openvswitch / vport-internal_dev.h
blob0112d1b09d4bf5d252ccab976d40ef66c74ce10e
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (c) 2007-2011 Nicira, Inc.
4 */
6 #ifndef VPORT_INTERNAL_DEV_H
7 #define VPORT_INTERNAL_DEV_H 1
9 #include "datapath.h"
10 #include "vport.h"
12 int ovs_is_internal_dev(const struct net_device *);
13 struct vport *ovs_internal_dev_get_vport(struct net_device *);
14 int ovs_internal_dev_rtnl_link_register(void);
15 void ovs_internal_dev_rtnl_link_unregister(void);
17 #endif /* vport-internal_dev.h */