Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-1959

memif interface link state can not become up, when set interface state memif down and then set interface state memif up

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • None
    • Devices
    • None

      vpp# show hardware-interfaces
      Name Idx Link Hardware
      local0 0 down local0
      Link speed: unknown
      local
      memif1/0 1 up memif1/0
      Link speed: unknown
      Ethernet address 02:fe:70:81:0f:38
      MEMIF interface
      instance 0
      vpp# show mem
      memif memory
      vpp# show memif
      sockets
      id listener filename
      0 no /run/vpp/memif.sock
      1 yes (1) /work/c/vpp/memif2

      interface memif1/0
      remote-name "VPP 21.01-rc0~395-g80ac72894~b2"
      remote-interface "memif1/0"
      socket-id 1 id 0 mode ethernet
      flags admin-up connected
      listener-fd 22 conn-fd 24
      num-s2m-rings 1 num-m2s-rings 1 buffer-size 0 num-regions 2
      region 0 size 33024 fd 25
      region 1 size 41943040 fd 26
      master-to-slave ring 0:
      region 0 offset 16512 ring-size 1024 int-fd 28
      head 1024 tail 0 flags 0x0001 interrupts 0
      slave-to-master ring 0:
      region 0 offset 0 ring-size 1024 int-fd 27
      head 0 tail 0 flags 0x0001 interrupts 0
      vpp# set interface state memif1/0 down
      vpp# set interface state memif1/0 up
      vpp# show hardware-interfaces
      Name Idx Link Hardware
      local0 0 down local0
      Link speed: unknown
      local
      memif1/0 1 down memif1/0
      Link speed: unknown
      Ethernet address 02:fe:70:81:0f:38
      MEMIF interface
      instance 0
      vpp# show interface
      Name Idx State MTU (L3/IP4/IP6/MPLS) Counter Count
      local0 0 down 0/0/0/0
      memif1/0 1 up 9000/0/0/0
      vpp# show memif
      sockets
      id listener filename
      0 no /run/vpp/memif.sock
      1 yes (1) /work/c/vpp/memif2

      interface memif1/0
      remote-name "VPP 21.01-rc0~395-g80ac72894~b2"
      remote-interface "memif1/0"
      socket-id 1 id 0 mode ethernet
      flags admin-up connected
      listener-fd 22 conn-fd 24
      num-s2m-rings 1 num-m2s-rings 1 buffer-size 0 num-regions 2
      region 0 size 33024 fd 25
      region 1 size 41943040 fd 26
      master-to-slave ring 0:
      region 0 offset 16512 ring-size 1024 int-fd 28
      head 1024 tail 0 flags 0x0001 interrupts 0
      slave-to-master ring 0:
      region 0 offset 0 ring-size 1024 int-fd 27
      head 0 tail 0 flags 0x0001 interrupts 0
      vpp#
      vpp# show version
      vpp v21.01-rc0~395-g80ac72894~b295 built by root on 8e1c97379f3d at 2020-11-15T08:59:09

            danielberes Daniel Béreš
            yedg ye donggang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: