Since version 2.15, TRex supports SR-IOV support for XL710 and X710. I would like to describe how we tested this, and the performance we have seen.
What is SR-IOV
SR-IOV (Single root IO virtualization) is a specification that allows a PCIe device to appear to be multiple separate physical PCIe devices. For network cards, this means the ability of one card to appear as if it was few separate cards called virtual functions (VFs), each with its own PCI address. This is particularly useful on virtual machines environments, where you have one NIC, and you want each VM to view it as if it is the only consumer.
There are many resources about SR-IOV in the web. The below link for example gives very good explanation:
Add following line: “options i40e max_vfs=x,y” to some file in “/etc/modprobe.d/”. x and y should be replaced with the number of VFs you want create for each port of the NIC (each PF). For example, putting 2,3 will create 2 VFs on one port, and 3 on the second.
Add the following file /etc/sysconfig/modules/i40e.modules, with content as described below: #!/bin/sh rmmod i40e >/dev/null 2>&1 exec /sbin/modprobe i40e >/dev/null 2>&1
These are the ports that should be used in TRex config file.
TRex stateful performance
Using the following command, running on x710 card with VF driver, we can see that TRex can reach 30GBps, using only one core. We can also see that the average latency is around 20 usec, which is pretty much the same value we get on loopback ports with x710 physical function without VF.
Hi, I'm want to use the 'genie diff' feature to compare the routing tables of multiple devices between snapshots.The routing domain I'm interested in is on the global VRF on some devices and in a VRF on others. I'd hoped that I could specify the VRF withi...
I want to configure my YAML to connect to NETCONF. I see that class can be set to yang.connector.netconf. However I'd like to use YDK-py. Is there a connector for that? Or any other way to use YDK?
I'm from the EN wireless team in Cisco. I've tried to generate code for some of the YANG files we use in wireless and that seems to work just fine. So now I want to use Pyats (no Genie) to test programmability. Usually we have YAML defining our net...
Hi,This also applies to netconf.When router has ACL with ACE like permit tcp xxxx xxxx establish its not shown when doing get.ACE with permit tcp xxxx xxxx ack or other flag is shown when doing get.Checked with IOS-XE release 16.9.Any help appreciate...
Hi there, I'm using the YDK docker image, so I'm assuming that the software versions are correct, but regardless of the code that I write I get the following bunch of errors:2020-06-02 15:05:58,515 - ydk - ERROR - Data is invalid according to the yan...