Trex SRIOV Support?

396 views
Skip to first unread message

Prem Anand

unread,
Jun 2, 2016, 5:48:27 PM6/2/16
to TRex Traffic Generator
Hi Folks
On trying to launch trex on a VM with SRIOV interfaces passed-thru, I see the following crash. Is SRIOV supported with TRex. If so, am I missing some module?

Starting TRex v2.02 please wait ...
found configuration file at /etc/trex_cfg.yaml
zmq publisher at: tcp://*:4500
Number of ports found: 2
ERROR driver name rte_ixgbevf_pmd is not supported
set driver name rte_ixgbevf_pmd
_t-rex-64: ../../src/main_dpdk.cpp:404: void CTRexExtendedDriverDb::set_driver_name(std::__cxx11::string): Assertion `m_drv' failed.
./t-rex-64: line 33: 6167 Aborted ./_$(basename $0) $INPUT_ARGS
tc@box:~/trex-core/scripts$
tc@box:~/trex-core/scripts$ lspci | grep Eth
00:04.0 Ethernet controller: Red Hat, Inc Virtio network device
00:05.0 Ethernet controller: Intel Corporation X540 Ethernet Controller Virtual Function (rev 01)
00:07.0 Ethernet controller: Intel Corporation X540 Ethernet Controller Virtual Function (rev 01)
tc@box:~/trex-core/scripts$
tc@box:~/trex-core/scripts$ ./dpdk_nic_bind.py --status

Network devices using DPDK-compatible driver
============================================
0000:00:05.0 'X540 Ethernet Controller Virtual Function' drv=igb_uio unused=
0000:00:07.0 'X540 Ethernet Controller Virtual Function' drv=igb_uio unused=

Network devices using kernel driver
===================================
0000:00:04.0 'Virtio network device' if= drv=virtio-pci unused=igb_uio

Other network devices
=====================
<none>
tc@box:~/trex-core/scripts$

Regards
Prem

hanoh haim

unread,
Jun 3, 2016, 1:50:30 AM6/3/16
to Prem Anand, TRex Traffic Generator
Hi Prem,
It is not supported because we are using PF filters.
Could you pass thru all the NIC?
--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/d5797e13-ffda-4483-86fa-fe7c326c002c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Hanoh
Sent from my iPhone

hanoh haim

unread,
Jun 3, 2016, 1:54:35 AM6/3/16
to Prem Anand, TRex Traffic Generator
Hi,
We could support it but with lower performance, what is your requirement?
Why you are using SRIOV and not all the NIC?

Thanks,
Hanoh 

On Friday, 3 June 2016, Prem Anand <h.prem...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/d5797e13-ffda-4483-86fa-fe7c326c002c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Prem Anand

unread,
Jun 5, 2016, 5:06:07 PM6/5/16
to hanoh haim, TRex Traffic Generator
Hi Hanoh
Thanks for the quick response

The actual idea behind trying SRIOV is to share the same Nic across different VMs. For example, we can have 5 VMs using the SRIOV intfs over the same 10G Gig NIC, and each one can either time share or bandwidth share the NIC

I woudn't really worry about decrease in performance

But the immediate need is that the server (HP DL380 Gen9) has BIOS that uses RMRR and Qemu/KVM refuses to pass thru the NICs saying "Device is ineligible for IOMMU domain attach due to platform RMRR requirement"
But solution they have suggested is not working for the nics we have

Regards
Prem
--
Regards
H.Prem Anand

Manimaran J

unread,
Oct 20, 2016, 6:18:57 AM10/20/16
to TRex Traffic Generator
Hi Team,

I am also getting the same error when trying to run Trex in VM. Is there support added for SR-IOV ?

Regards,
Manimaran

Hanoch Haim

unread,
Feb 2, 2017, 7:02:12 AM2/2/17
to TRex Traffic Generator
Reply all
Reply to author
Forward
0 new messages