DPDK: MTU settting in vhost is not getting set on vif0
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.0 |
Invalid
|
High
|
Raja Sivaramakrishnan | |||
Trunk |
Invalid
|
High
|
Raja Sivaramakrishnan |
Bug Description
On setting MTU on vhost0 , the same is not getting set on the vif0. This causes TCP session to hang
ifconfig vhost0
vhost0 Link encap:Ethernet HWaddr 90:e2:ba:50:ae:d8
inet addr:13.1.0.2 Bcast:13.1.0.255 Mask:255.255.255.0
inet6 addr: fe80::92e2:
UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1
RX packets:218118 errors:0 dropped:0 overruns:0 frame:0
TX packets:417271 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:24342978 (24.3 MB) TX bytes:552493900 (552.4 MB)
root@cs-scale-2:~# vif --list
Vrouter Interface Table
Flags: P=Policy, X=Cross Connect, S=Service Chain, Mr=Receive Mirror
Mt=Transmit Mirror, Tc=Transmit Checksum Offload, L3=Layer 3, L2=Layer 2
D=DHCP, Vp=Vhost Physical, Pr=Promiscuous, Vnt=Native Vlan Tagged
Mnp=No MAC Proxy, Dpdk=DPDK PMD Interface, Rfl=Receive Filtering Offload, Mon=Interface is Monitored
Uuf=Unknown Unicast Flood, Vof=VLAN insert/strip offload
vif0/0 PCI: 0000:00:00.0 (Speed 10000, Duplex 1)
Vrf:0 Flags:TcL3L2VpVof MTU:1514 Ref:14
RX port packets:229788 errors:0
RX queue packets:218850 errors:0
RX queue errors to lcore 0 0 0 0 0 0 0 0 0 0 0 0 0 0
RX packets:220614 bytes:24758265 errors:0
TX packets:419840 bytes:552927674 errors:0
TX port packets:419857 errors:0
vif0/1 Virtual: vhost0
Vrf:0 Flags:L3L2 MTU:1514 Ref:10
RX port packets:417295 errors:0
RX queue packets:417293 errors:0
RX queue errors to lcore 0 0 0 0 0 0 0 0 0 0 0 0 0 0
RX packets:417295 bytes:552513340 errors:0
TX packets:218134 bytes:24344477 errors:0
TX queue packets:216370 errors:0
TX port packets:218134 errors:0
vif0/2 Socket: unix
RX port packets:105 errors:0
RX queue errors to lcore 0 0 0 0 0 0 0 0 0 0 0 0 0 0
RX packets:105 bytes:9030 errors:0
TX packets:107 bytes:11888 errors:0
TX queue packets:107 errors:0
TX port packets:107 errors:0 syscalls:107
misconfig on switch