X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fdpif-netdev.c;h=1c23739eb4b343d1250f680246d8a5925bbceb41;hb=1954e6bbcb7dabbbcee3dfc6f0363e32fde255b0;hp=21f0d9a58e1170c2b82d7ea2139b533decca53b7;hpb=6723e8af39e40001f5c141b5ad9a8dfe65459c40;p=sliver-openvswitch.git diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 21f0d9a58..1c23739eb 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -1478,6 +1478,13 @@ dpif_netdev_recv_set(struct dpif *dpif OVS_UNUSED, bool enable OVS_UNUSED) return 0; } +static int +dpif_netdev_handlers_set(struct dpif *dpif OVS_UNUSED, + uint32_t n_handlers OVS_UNUSED) +{ + return 0; +} + static int dpif_netdev_queue_to_priority(const struct dpif *dpif OVS_UNUSED, uint32_t queue_id, uint32_t *priority) @@ -1502,8 +1509,8 @@ find_nonempty_queue(struct dp_netdev *dp) } static int -dpif_netdev_recv(struct dpif *dpif, struct dpif_upcall *upcall, - struct ofpbuf *buf) +dpif_netdev_recv(struct dpif *dpif, uint32_t n_handlers OVS_UNUSED, + struct dpif_upcall *upcall, struct ofpbuf *buf) { struct dp_netdev *dp = get_dp_netdev(dpif); struct dp_netdev_queue *q; @@ -1529,7 +1536,7 @@ dpif_netdev_recv(struct dpif *dpif, struct dpif_upcall *upcall, } static void -dpif_netdev_recv_wait(struct dpif *dpif) +dpif_netdev_recv_wait(struct dpif *dpif, uint32_t handler_id OVS_UNUSED) { struct dp_netdev *dp = get_dp_netdev(dpif); uint64_t seq; @@ -1923,6 +1930,7 @@ const struct dpif_class dpif_netdev_class = { dpif_netdev_execute, NULL, /* operate */ dpif_netdev_recv_set, + dpif_netdev_handlers_set, dpif_netdev_queue_to_priority, dpif_netdev_recv, dpif_netdev_recv_wait,