Comments (7)
from trex-core.
Great thanks. I will try that
from trex-core.
from trex-core.
Hi Hanoh,
There are a few issues using a CX3 that I've found.
- Since the CX3 exposes two ports(em0,em1) per PCI, using ifconfig to find and set MTU fail.
out=subprocess.check_output(['ifconfig', dev_id])
results in:# ifconfig em0, em1
which is an invalid command. You can find those lines below:
-
In the same file it looks like
dpdk_setup_port.py
only loads the mlx5 driver which is for the Connect-IB series of devices, not for the ConnectX series (See page 14: http://www.mellanox.com/related-docs/prod_software/Mellanox_OFED_Linux_User_Manual_v2.3-1.0.1.pdf). -
Tried to hardcorde all of these and forced loading the mlx4_core driver in the script instead of mlx5 but in the end I got an error coming from: https://github.com/cisco-system-traffic-generator/trex-core/blob/master/src/main_dpdk.cpp#L6116.
When set_driver() is invoked, rte_eth_dev_count() returns 0 and results in a crash "Could not find interfaces" -
You mentioned adding --mlx4-so to the CLI but that option does not exist, only --mlx5_so:
https://github.com/cisco-system-traffic-generator/trex-core/blob/master/scripts/t-rex-64#L18
Hope that helps
from trex-core.
Try adding --mlx4-so explicitly for the last issue
from trex-core.
Decided to try other NICs, was unable to test if --mlx4-so would work, sorry.
from trex-core.
this command works for me
$sudo ./t-rex-64 -i --mlx4-so
anyhow once we will have access to CX3 NICs we would be able to fix the issues you mentioned
(I think MS Azure linux support with CX3 VF is going to be supported soon)
thanks,
Hanoh
from trex-core.
Related Issues (20)
- astf mode on linux interfaces not working
- [STL]How to increase the quantity of latency streams
- syn_attack_fix_cs_hw.py TCP Retransmission and TCP Out-Of-Order
- T-rex 3.04 with Mellanox ConnectX-6 and dummy port shows errors instead of stats while sending traffic HOT 21
- Link error when compiling with libarchive on Debian 11 HOT 1
- trex-console TUI and trex-server port stat should display more than 4 ports
- E810-CQDA2 initalisation in v3.04 is incorrect HOT 1
- trex-console doesn't report xstats when len(values) doesn't match len(names)
- Add support for compiling with Intel oneAPI DPC++/C++ compiler
- Strange performance problems when going below 6 cores per dual port
- If possible use TREX with one port ? HOT 1
- Tcp traffic ~2Gbps troutch system with latency ~10msec. HOT 3
- dpdk_setup_ports.py gets NUMA topology wrong with Sub-NUMA clustering enabled HOT 3
- [GCP] lack of GVE driver support HOT 2
- Multiple streams with different VLAN priority causes high CPU utilization HOT 6
- Cannot add MAC address to a VF interface HOT 1
- asa_explot1 traffic profile fail to start
- ubuntu 20.04 X710 NIC card can't bind driver error when start trex server HOT 1
- profile imix_9k_burst_10.yaml has missing pcap file
- Using Advanced Stateful Mode with TRex on Two Physical Machines with Mellanox-6x DX Cards
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trex-core.