summaryrefslogtreecommitdiff
path: root/lib/netdev-provider.h
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2015-02-25 12:01:53 -0800
committerPravin B Shelar <pshelar@nicira.com>2015-03-03 13:37:34 -0800
commite14deea0bd133796872d06f39a14d0393880f5bb (patch)
tree8b9d71706a059aad0e33c3483b39c78994de4e1b /lib/netdev-provider.h
parent5aa5d00e989c31650501d96c38c835e256c47593 (diff)
downloadopenvswitch-e14deea0bd133796872d06f39a14d0393880f5bb.tar.gz
dpif_packet: Rename to dp_packet
dp_packet is short and better name for datapath packet structure. Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
Diffstat (limited to 'lib/netdev-provider.h')
-rw-r--r--lib/netdev-provider.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/netdev-provider.h b/lib/netdev-provider.h
index e0b76fc5a..915e54a41 100644
--- a/lib/netdev-provider.h
+++ b/lib/netdev-provider.h
@@ -264,13 +264,13 @@ struct netdev_class {
* a packet on actual transmit. It uses partial header build by
* build_header() which is passed as data. */
int (*push_header)(const struct netdev *netdev,
- struct dpif_packet **buffers, int cnt,
+ struct dp_packet **buffers, int cnt,
const struct ovs_action_push_tnl *data);
/* Pop tunnel header from packet, build tunnel metadata and resize packet
* for further processing. */
int (*pop_header)(struct netdev *netdev,
- struct dpif_packet **buffers, int cnt);
+ struct dp_packet **buffers, int cnt);
/* Returns the id of the numa node the 'netdev' is on. If there is no
* such info, returns NETDEV_NUMA_UNSPEC. */
@@ -309,7 +309,7 @@ struct netdev_class {
* network device from being usefully used by the netdev-based "userspace
* datapath". It will also prevent the OVS implementation of bonding from
* working properly over 'netdev'.) */
- int (*send)(struct netdev *netdev, int qid, struct dpif_packet **buffers,
+ int (*send)(struct netdev *netdev, int qid, struct dp_packet **buffers,
int cnt, bool may_steal);
/* Registers with the poll loop to wake up from the next call to
@@ -710,7 +710,7 @@ struct netdev_class {
* Caller is expected to pass array of size MAX_RX_BATCH.
* This function may be set to null if it would always return EOPNOTSUPP
* anyhow. */
- int (*rxq_recv)(struct netdev_rxq *rx, struct dpif_packet **pkts,
+ int (*rxq_recv)(struct netdev_rxq *rx, struct dp_packet **pkts,
int *cnt);
/* Registers with the poll loop to wake up from the next call to