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

SR: binary API for SRv6 "set sr encaps source" used by GoVPP gives error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Open
    • Icon: High High
    • None
    • 18.04
    • SR, VPP API Infra
    • None
    • VPP v18.04-rc0~427-g2ae2bc5 (locally build from sources based on 26d026b8a74c)
      GoVPP - commit 4df448ad6cdfa2e60fa0167e5f70cc1127fbd3bf

      According to logs of sample application that is using GoVPP, it seems like message id of response is decreased by one, instead of increased by one:

      DEBU[0000] Sending a message to VPP. context=1 msg_id=606 msg_size=26
      DEBU[0000] Received a message from VPP. context=1 msg_id=605 msg_size=10
      Err: invalid message ID 605, expected 607 (also check if multiple goroutines are not sharing one GoVPP channel)

      Using Honeycomb also fails for this binary API, so i suspect that something is wrong on VPP side. I couldn't confirm it using VAT application, because mentioned binary api is not even listed there.

      This could be possibly blocking issue for use cases in which we need to know packet source. 

      PS: i didn't use multiple goroutines(=threads) for communication, so no sharing of GoVPP channels is happening

            pcamaril Pablo Camarillo
            FilipGschwandtner Filip Gschwandtner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: