[dpdk-dev] [PATCH v6] devtools: add tags and cscope index file generation support

2017-04-29 Thread Jerin Jacob
This script generates cscope, gtags, and tags index files based on EAL environment(architecture and OS(linux/bsd)). Selection of the architecture and OS environment is based on dpdk configuration target(T=).If EAL environment(T=) is not specified, the script generates tag files based on available

[dpdk-dev] [PATCH v5 0/3] MAC address fail to be added shouldn't be stored

2017-04-29 Thread Wei Dai
Current ethdev always stores MAC address even it fails to be added. Other function may regard the failed MAC address valid and lead to some errors. So There is a need to check if the addr is added successfully or not and discard it if it fails. In 3rd patch, add a command "add_more_mac_addr port_i

[dpdk-dev] [PATCH v5 1/3] ethdev: fix adding invalid MAC addr

2017-04-29 Thread Wei Dai
Some customers find adding MAC addr to VF sometimes can fail, but it is still stored in dev->data->mac_addrs[ ]. So this can lead to some errors that assumes the non-zero entry in dev->data->mac_addrs[ ] is valid. Following acknowledgements are from specific NIC PMD maintainer for their managing pa

[dpdk-dev] [PATCH v5 3/3] app/testpmd: add a command to add many MAC addrs

2017-04-29 Thread Wei Dai
This patch is added to introduce a testpmd command which is used to add more than one MAC addresses one time. This command can simplify the test for the change where the type of return value of adding MAC address. Normally a MAC address may fails to be added only after many MAC addresses have been

[dpdk-dev] [PATCH v5 2/3] doc: change type of return value of adding MAC addr

2017-04-29 Thread Wei Dai
Add following lines in section of API change in release note. If a MAC address fails to be added without this change, it is still stored and may be regarded as a valid one. This may lead to errors in application. The type of return value of eth_mac_addr_add_t in rte_ethdev.h is changed. Any specif