edmundselliot / doca-selective-fwd

Sample app doing selective forwarding in DOCA
0 stars 0 forks source link

vnf mode or switch mode? #7

Closed williamtu closed 1 month ago

williamtu commented 1 month ago

As we are running this app in VM using VF, should we consider using switch mode?

https://docs.nvidia.com/doca/sdk/doca+flow/index.html#src-2815015295_id-.DOCAFlowv2.8.0-DomainsinVNFMode

root@doca-vr-061:~/doca/doca-selective-fwd# git grep vnf src/main.cpp: "vnf,hws",

williamtu commented 1 month ago

I got confused... So in VM with VF, we should use vnf mode (ipsec app works only in vnf mode in VM) At hypervisor side, both mode should work, (I tested only the switch mode)