projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Include lib/string.h in "make dist"-generated tarballs.
[openvswitch]
/
datapath
/
dp_dev.h
diff --git
a/datapath/dp_dev.h
b/datapath/dp_dev.h
index 848743900230328f837aa61686cad84a19ea76e9..1fb4394fd518a3ed388a6cba2c7ca7850a73d10e 100644
(file)
--- a/
datapath/dp_dev.h
+++ b/
datapath/dp_dev.h
@@
-1,16
+1,23
@@
+/*
+ * Copyright (c) 2009 Nicira Networks.
+ * Distributed under the terms of the GNU GPL version 2.
+ *
+ * Significant portions of this file may be copied from parts of the Linux
+ * kernel, by Linus Torvalds and others.
+ */
+
#ifndef DP_DEV_H
#define DP_DEV_H 1
#ifndef DP_DEV_H
#define DP_DEV_H 1
+#include <linux/percpu.h>
+
struct dp_dev {
struct datapath *dp;
int port_no;
struct net_device *dev;
struct net_device_stats stats;
struct dp_dev {
struct datapath *dp;
int port_no;
struct net_device *dev;
struct net_device_stats stats;
- struct sk_buff_head xmit_queue;
- struct work_struct xmit_work;
-
- struct list_head list;
+ struct pcpu_lstats *lstats;
};
static inline struct dp_dev *dp_dev_priv(struct net_device *netdev)
};
static inline struct dp_dev *dp_dev_priv(struct net_device *netdev)