Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Support per-interface packet rx redirection
[vpp.git]
/
vnet
/
vnet
/
devices
/
af_packet
/
af_packet.c
diff --git
a/vnet/vnet/devices/af_packet/af_packet.c
b/vnet/vnet/devices/af_packet/af_packet.c
index
bbaabad
..
1b07e89
100644
(file)
--- a/
vnet/vnet/devices/af_packet/af_packet.c
+++ b/
vnet/vnet/devices/af_packet/af_packet.c
@@
-209,6
+209,7
@@
af_packet_create_if(vlib_main_t * vm, u8 * host_if_name, u8 * hw_addr_set)
apif->rx_req = rx_req;
apif->tx_req = tx_req;
apif->host_if_name = host_if_name;
+ apif->per_interface_next_index = ~0;
{
unix_file_t template = {0};