summaryrefslogtreecommitdiff
path: root/nics
AgeCommit message (Collapse)Author
2017-05-12nics: support html report for performance resultYulong Pei
Support html format report for NIC performance and support to send it out by email. Signed-off-by: Yulong Pei <yulong.pei@intel.com>
2017-04-20framework: checking link with IPv4 pingAngela Czubak
Some kernels may not use IPv6 and hence there is no point using ping6. If lack of link by IPv6 is detected then IPv4 pings are sent (previously ports where skipped if they had no IPv6 connectivity). DPDK binding script uses "--force" argument, since interfaces are detected as active. Signed-off-by: Angela Czubak <aczubak at caviumnetworks.com>
2017-03-29nics/net_device: fix list remove bugLijuan Tu
Remove all the match network device object by copy list first. Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.com>
2017-01-19framework net_device: fix arguments errorLijuan Tu
Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.com>
2017-01-19framework net_device: fix undefined function on FreeBSDLijuan Tu
FreeBSD not support virtualization cases. Add one blank function for FreeBSD OS to workaround this issue Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.com>
2016-09-21support enable and disable ipv6 on FreeBSDxu,gang
Signed-off-by: xu,gang <gangx.xu@intel.com>
2016-09-09framework: fix pci domain address missing on FreeBSDxu,gang
Signed-off-by: xu,gang <gangx.xu@intel.com>
2016-09-05net_device: fix nic_pci_num not definedLijuan Tu
Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.com>
2016-08-19tests ftag: add get_glortid_bymac function for BRXueqin Lin
Enable ftag function test on Boulder Rapid, need to strip port logic value from mac table,then strip port glort ID from stacking information.
2016-08-18nics rrc: reduce timeout value when striping port glort IDXueqin Lin
It is impossible to wait so long time for expected output, just fix as default value.
2016-08-11tests: add fm10k ftag test suiteXueqin Lin
FTAG is placed at the begingging of the frame, which is essential for a set of switches to behave like one switch. The case validates packet forwarding function based on FTAG, uses FTAG unit test instead of testpmd to run.
2016-07-12nics: allow tester initialize fm10k netdev objectMarvin Liu
Allow tester initialize fm10k netdev object. When host and tester on the same platform, host fm10k netdev objects will inherit from tester. Fm10k require domain id in port configuration, keep pace with normal pci device. Signed-off-by: Marvin Liu <yong.liu@intel.com>
2016-06-23nics: fix domain id missing when initializing nic modulesMarvin Liu
Domain id is imported into DTS recently. Nic modules should also support domain id. Skip testpoint setup when FM10k family ports work as tester ports. Signed-off-by: Marvin Liu <yong.liu@intel.com>
2016-04-30nics net_device: fix virtual function pci domain id missingLijuan Tu
This issue involved by commit 5eeb83331f56bd11a00119928017f187f41ec6a0. Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.com>
2016-04-22Merge branch 'next'Marvin Liu
2016-03-18framework virt_dut: remove NetDevice object after virtual machine shutdownLijuan Tu
Signed-off-by: Lijuan Tu <lijuanx.a.tu@intel.com>
2016-03-14nics: fix issue when no driver bound to netdevYong Liu
Signed-off-by: Marvin Liu <yong.liu@intel.com>
2016-03-09framework: fix numa number lookup for a devGowrishankar
Fix get_nic_numa() to return numa associated with a given device correctly. Signed-off-by: Gowrishankar <gowrishankar.m@linux.vnet.ibm.com>
2016-03-09framework: enable connect X3 supportGowrishankar
Connect X3 dual port adapter shares single pci device ID. This limits dts frame- work to use both the ports for the tests. With this patch, a new attribute also to refer second interface in such single pci port lookup is introduced. Added supporting APIs to derive this second interface and its MAC addresses whereever needed. Signed-off-by: Gowrishankar <gowrishankar.m@linux.vnet.ibm.com>
2016-03-09framework: include domain id in pci tupleGowrishankar
Sometimes, PCI domain id can not always 0x0000 as it is hardcoded in framework. This patch adds changes in API to also include pci domain id while handling a network device. Signed-off-by: Gowrishankar <gowrishankar.m@linux.vnet.ibm.com>
2016-02-11nics: support jumbo setting in net_device moduleYong Liu
Signed-off-by: Marvin Liu <yong.liu@intel.com>
2016-02-05nics br: fix jumbo setting not workYong Liu
Jumbo frame for FM10k should be set on PEP port. Signed-off-by: Marvin Liu <yong.liu@intel.com>
2016-02-03nics net_device: support Boulder Rapid network objectYong Liu
Signed-off-by: Marvin Liu <yong.liu@intel.com>
2016-02-03nics: add support for Boulder RapidYong Liu
Boulder Rapid just like RedRockCanyou, it also has two PEPs and EPLs. The major difference is that RedRockCanyou has Rangely control plan process. But Boulder Rapid do not have. Another difference is that Special for pci address, Boulder Rapid port0 will be assigned higher pci address. Signed-off-by: Marvin Liu <yong.liu@intel.com>
2016-02-03nics fm10k: rename fm10k module to rrcYong Liu
FM10k is the family name, this family contained of several different nics. Separated to different nic modules for each of them has specified settings. Signed-off-by: Marvin Liu <yong.liu@intel.com>
2016-01-22nics atwood: add nic module for atwoodChannelYong Liu
Atwood belong to the family of fm10k. It has 2 * 25G ports and only one PEP attached. Like RRC, atwood vlan/jumboframe settings should by testpoint. Signed-off-by: Marvin Liu <yong.liu@intel.com>
2016-01-20nics fm10k: fix nic object incorrect issueYong Liu
This issue happened at dut/tester have same pci address net device. Net_device module check they will be same devices, so will return incorrect net device object. Signed-off-by: Marvin Liu <yong.liu@intel.com>
2016-01-20nics fm10k: support optimize rule and vlan/jumbo settingYong Liu
1) Add basic rule to enhance RRC performance. 2) Add basic rule to redirect PEP to assigned EPL. 3) Support RRC rx/tx vlan function. 4) Support RRC jumboframe setting. Signed-off-by: Marvin Liu <yong.liu@intel.com>
2016-01-20framework dut: add port stop when execution exitYong Liu
Some nic like RRC required additional setup like testpoint start-up. So when execution done, need call additional stop function. Signed-off-by: Marvin Liu <yong.liu@intel.com>
2015-12-30Merge branch 'next'Marvin Liu
2015-12-14nics: add fm10k module for RedRockCanYou family nicMarvin Liu
This module will support fm10k family nics. These nics required special testpoint for internal switch initialization. Some nics like BulderRapid must start up testpoint after bound to igb_uio. Most features like vlan need special configured in testpoint. Those functions will be realized in fm10k module. Signed-off-by: Marvin Liu <yong.liu@intel.com>
2015-12-14framework: create independent foler for nic modulesMarvin Liu
Add nics module will be placed in "nics" folder, this folder is placed in the same level of "frame" and "tests". Net device object will be retrieved by GetNicObj function. Netdevice module will handle the list of network device, netdevice object will only be initialized once when running dts. Netdevice module will define those function all nics should support. Sepcified function will be defined in nic's own module. Signed-off-by: Marvin Liu <yong.liu@intel.com>