aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/netmap
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2019-03-13 05:50:44 -0700
committerFilip Tehlar <ftehlar@cisco.com>2019-03-13 05:50:59 -0700
commitaee73648cf524f2627a8680ca26a68d6a2c8e164 (patch)
treee2ad1f18593a6a606924b1735bb7200662d5eb3a /src/vnet/devices/netmap
parent69becfcd5eaab90c99b63ca7f3de7ccad9fffc0a (diff)
deprecate VLIB_DEVICE_TX_FUNCTION_MULTIARCH
Change-Id: I8819bcb9e228e7a432f4a7b67b6107f984927cd4 Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'src/vnet/devices/netmap')
-rw-r--r--src/vnet/devices/netmap/device.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/vnet/devices/netmap/device.c b/src/vnet/devices/netmap/device.c
index b14bff43c06..47407aaaa26 100644
--- a/src/vnet/devices/netmap/device.c
+++ b/src/vnet/devices/netmap/device.c
@@ -93,9 +93,9 @@ format_netmap_tx_trace (u8 * s, va_list * args)
return s;
}
-static uword
-netmap_interface_tx (vlib_main_t * vm,
- vlib_node_runtime_t * node, vlib_frame_t * frame)
+VNET_DEVICE_CLASS_TX_FN (netmap_device_class) (vlib_main_t * vm,
+ vlib_node_runtime_t * node,
+ vlib_frame_t * frame)
{
netmap_main_t *nm = &netmap_main;
u32 *buffers = vlib_frame_vector_args (frame);
@@ -231,7 +231,6 @@ netmap_subif_add_del_function (vnet_main_t * vnm,
/* *INDENT-OFF* */
VNET_DEVICE_CLASS (netmap_device_class) = {
.name = "netmap",
- .tx_function = netmap_interface_tx,
.format_device_name = format_netmap_device_name,
.format_device = format_netmap_device,
.format_tx_trace = format_netmap_tx_trace,
@@ -242,9 +241,6 @@ VNET_DEVICE_CLASS (netmap_device_class) = {
.admin_up_down_function = netmap_interface_admin_up_down,
.subif_add_del_function = netmap_subif_add_del_function,
};
-
-VLIB_DEVICE_TX_FUNCTION_MULTIARCH(netmap_device_class,
- netmap_interface_tx)
/* *INDENT-ON* */
/*