Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Add support for multiple microarchitectures in single binary
[vpp.git]
/
vnet
/
vnet
/
devices
/
af_packet
/
device.c
diff --git
a/vnet/vnet/devices/af_packet/device.c
b/vnet/vnet/devices/af_packet/device.c
index
f0e9148
..
0671d9e
100644
(file)
--- a/
vnet/vnet/devices/af_packet/device.c
+++ b/
vnet/vnet/devices/af_packet/device.c
@@
-204,3
+204,6
@@
VNET_DEVICE_CLASS (af_packet_device_class) = {
.subif_add_del_function = af_packet_subif_add_del_function,
.no_flatten_output_chains = 1,
};
+
+VLIB_DEVICE_TX_FUNCTION_MULTIARCH (af_packet_device_class,
+ af_packet_interface_tx)