networkservicemesh / sdk-kernel

Apache License 2.0
6 stars 17 forks source link

Fixes for ethernetcontext/vf #566

Closed glazychev-art closed 1 year ago

glazychev-art commented 1 year ago

Issue: https://github.com/networkservicemesh/sdk-sriov/issues/489

Description: This PR fixes the following problems:

  1. vfEthernetContextServer has to create VFs after next.Request, because the following elements (endpoint) can change the ethernetcontext that we are using inside vfCreate
  2. It would be better if we set the VFs to their default state on Close (added vfCleanup)
  3. Added logs

Signed-off-by: Artem Glazychev artem.glazychev@xored.com

denis-tingaikin commented 1 year ago

Also resolve conflicts is welcome ;)