Open ftk-ntq opened 3 years ago
Another issue identified is when creating the netmap interface the number of rings reported was not set up in the interface. With this the code ended up only processing the first netmap ring.
A netmap interface can now be created on ix0 by using the following example
create netmap name ix0
set interface state netmap-ix0 up
set interface ip address netmap-ix0 <ip-address>
Alternatively it is possible to connect to the physical interface via a vale switch. This is typically done with
create netmap name vale0:vpp0
set interface state netmap-vale0:vpp0 up
set interface ip address netmap-vale0:vpp0 <ip-address>
For the vale switch to work the following must be done on the host as well
ifconfig ix0 promisc
valectl -h vale0:ix0
See e5b191a4816519fb73110fb1140dc132c78f124d. Moved the netmap interface code back from the deprecated folder.