Hi Ole,

already tried that, just not exactly this way.

shell# ip link add name spanout type veth peer name spanhost
shell# ip link set up dev spanout
shell# ip link set up dev spanhost

vpp# create host-interface name spanout
vpp# set int state host-spanout up
vpp# set int ip addr host-spanout 10.10.1.1/24
vpp# set int state TenGigabitEthernet5/0/0 up
vpp# set int ip addr TenGigabitEthernet5/0/0 10.20.1.1/24
vpp# set interface span TenGigabitEthernet5/0/0  destination host-spanout both
vpp# set interface promiscuous on TenGigabitEthernet5/0/0

right after executing last command (with 2Gbps/400kpps incomming to 
TenGigabitEthernet5/0/0) vpp service dies:
 
/var/log/messages:
Mar 13 12:44:23 mida vpp: DPDK physical memory layout:
Mar 13 12:44:23 mida vpp: Segment 0: IOVA:0x78000000, len:2097152, 
virt:0x7f740e000000, socket_id:0, hugepage_sz:2097152, nchannel:0, nrank:0
Mar 13 12:44:23 mida vpp: Segment 1: IOVA:0x78400000, len:12582912, 
virt:0x7f740d200000, socket_id:0, hugepage_sz:2097152, nchannel:0, nrank:0
Mar 13 12:44:23 mida vpp: Segment 2: IOVA:0x79200000, len:2097152, 
virt:0x7f740ce00000, socket_id:0, hugepage_sz:2097152, nchannel:0, nrank:0
Mar 13 12:44:23 mida vpp: Segment 3: IOVA:0x5c6400000, len:50331648, 
virt:0x7f7407400000, socket_id:0, hugepage_sz:2097152, nchannel:0, nrank:0
Mar 13 12:44:23 mida vpp: Segment 4: IOVA:0xb5ec00000, len:2097152, 
virt:0x7f7407000000, socket_id:1, hugepage_sz:2097152, nchannel:0, nrank:0
Mar 13 12:44:23 mida vpp: Segment 5: IOVA:0xb5f000000, len:37748736, 
virt:0x7f7404a00000, socket_id:1, hugepage_sz:2097152, nchannel:0, nrank:0
Mar 13 12:44:23 mida vpp: Segment 6: IOVA:0xb61600000, len:27262976, 
virt:0x7f7400600000, socket_id:1, hugepage_sz:2097152, nchannel:0, nrank:0
Mar 13 12:44:23 mida systemd: vpp.service: main process exited, code=killed, 
status=6/ABRT
Mar 13 12:44:23 mida systemd: Unit vpp.service entered failed state.

I've not figured out about using Local0 and have done some overkill with veth. 
But with local0 result the same - vpp dies after getting some Gbps to TenGi 
interface

Linas

Reply via email to