Hi,
The behavior was intentionally changed in 'b192feb vhost-user: Interface state updates' so that link is reported in up state if and only if admin state is up and vhost-user slave (vpp) interface is connected to vhost-user master (qemu). The connection state can also be inferred from output of 'show vhost-user' debug CLI command or using sw_interface_vhost_user_dump API call. Regards, Juraj Sloboda ________________________________ From: [email protected] <[email protected]> on behalf of Peter Mikus via Lists.Fd.Io <[email protected]> Sent: Monday, October 8, 2018 10:42 To: [email protected] Cc: [email protected] Subject: [csit-dev] CSIT - VirtualEthernet interface UP issue Hello vpp-dev, Recently we are facing issue that VirtualEthernet interfaces (vhost-user) are not coming UP once we put them to admin UP state. Brief bisecting reveals that its happening after one of these: git log --pretty=oneline 0a4e006..5507192 5507192339aed14634929b3e8d7c5d3e5ea8f997 Fix JVPP enum _host_to_net_ translation (VPP-1438) 2d3c7b9c4555ea4467253b0590c9aa1a6c644b4d BFD: add get echo source API (VPP-1367) a9a0b2ce2daabc5479aa7722e3ec7023f8c6c0d5 IPsec: add API for SPDs dump (VPP-1363) b192feba004e7a52b57ff9f68246b1c94e8b667b vhost-user: Interface state updates 83c46a2c5c97320e029b4dd154a45212530f221d vhost_user: Fix setting MTU using uninitialized variable 8f39d55a298e08ac808da6988032f14d542627c6 Update code to compute checksum for buffer chains ef91534e665cf343af2389df11d46559a1f83d78 tls: fix disconnects for sessions with pending data 5f5d50ee9b342964caeeee10612cd002497fb40c tcp: fix close wait timeout with no fin ca09d0730974effd53b436871f3e69c8bb8b1114 tcp: accept fins if in recovery Could you please take a look and let us know if there was any change in mechanics or API? Thank you. [0] https://jenkins.fd.io/view/csit/job/csit-vpp-perf-mrr-daily-master/333/consoleFull | grep VirtualEthernet [1] VAT history: sw_interface_set_flags sw_if_index 2 admin-up link-up sw_interface_set_l2_bridge sw_if_index 2 bd_id 1 shg 0 enable sw_interface_set_flags sw_if_index 1 admin-up link-up sw_interface_set_l2_bridge sw_if_index 1 bd_id 2 shg 0 enable create_vhost_user_if socket /tmp/sock-1-1 sw_interface_dump sw_interface_dump create_vhost_user_if socket /tmp/sock-1-2 sw_interface_dump sw_interface_dump sw_interface_set_flags sw_if_index 3 admin-up link-up sw_interface_set_flags sw_if_index 4 admin-up link-up sw_interface_set_flags sw_if_index 3 admin-up link-up sw_interface_set_l2_bridge sw_if_index 3 bd_id 1 shg 0 enable sw_interface_set_flags sw_if_index 4 admin-up link-up sw_interface_set_l2_bridge sw_if_index 4 bd_id 2 shg 0 enable sw_interface_dump Peter Mikus Engineer - Software Cisco Systems Limited
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10768): https://lists.fd.io/g/vpp-dev/message/10768 Mute This Topic: https://lists.fd.io/mt/26872454/21656 Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
