Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sdk-vpp#314] Incorporate SR-IOV forwarder chain into xconnectns #325

Conversation

Bolodya1997
Copy link

@Bolodya1997 Bolodya1997 commented Jul 30, 2021

Description

Incorporates SR-IOV forwarder chain into xconnectns.

Depends on networkservicemesh/sdk#1045.
Depends on networkservicemesh/sdk#1047.
Depends on networkservicemesh/api#110.
Needs to be manually tested before merging.
Depends on networkservicemesh/sdk-sriov#227.

Issue link

Needed for #314.

How Has This Been Tested?

  • Added unit testing to cover
  • Tested manually
  • Tested by integration testing
  • Have not tested

Types of changes

  • Bug fix
  • New functionallity
  • Documentation
  • Refactoring
  • CI

@Bolodya1997 Bolodya1997 marked this pull request as draft July 30, 2021 14:21
@Bolodya1997 Bolodya1997 force-pushed the sdk-vpp#314/sriov-forwarder branch 2 times, most recently from 75fca3d to e847e9b Compare August 2, 2021 12:12
noopmech.MECHANISM: noopChains.beforeConnectServer,
}),
),
forwarder.WithConnectClients(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason we are doing this Switch at the top level instead of simply rolling it under the kernel mechanism (for kernel) and creating a new mechanism/vfio (for vfio)?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have different underlying mechanisms for providing kernel interface in VPP case and in SR-IOV case.
Actually, SR-IOV kernel is mostly like VFIO, not like VPP kernel - because we need to select VF by token, bound kernel driver for the VF (same part) and then configure IP address, routes in kernel way, not in VPP way (kernel-specific part).

Vladimir Popov added 2 commits September 3, 2021 15:23
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
@Bolodya1997 Bolodya1997 force-pushed the sdk-vpp#314/sriov-forwarder branch from 161cbe8 to 70d7b53 Compare September 3, 2021 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants