Sunday, September 1, 2019

Using SR-IOV with virtio passthrough mode on KVM for CSR1000v

Hi r/networking,

I have been struggling for a few days on this and thought its best to look out for someone who has already done this.

I am trying to bring up a CSR1000v on KVM in Centos 7 using virt-manager GUI tool in Quantas server. I want to be able to communicate to a Nexus9k switch connected to the Quantas server via 25GbE links (intel xxv710 dual port 25gbe sfp28). Initially i was trying to directly use ports in passthrough mode with virtio driver. On more research, I understood that the Intel xxv710 might not be compatible in direct mode and then added VFs for SR-IOV.

Currently, i have mapped the SR-IOV VFs to CSR1000v in KVM via virtio passthrough mode but it does not seem to work as when i try to ping from CSR, i dont see any packets on VF when i do a tcpdump.

Has anyone tried this before and have any inputs on what am i missing? Do i need to enable promiscuous mode as well?

I am also looking to add tagging to one VFs which i have done by adding vlan to the vf itself as my nexus side interface will expect a vlan tag. I believe this is right and will work once i sort the first part of correct mapping.

Relevant outputs at : https://imgur.com/a/EK3jadO



No comments:

Post a Comment