[dpdk-dev] VLAN header insertion and removal

2014-12-23 Thread Padam J. Singh
here this can be done in hardware? Or is > there a more optimized way to do this in dpdk? For sake of performance I want > to avoid the copy ethernet header, modify mbuf, copy back the header steps. > > Thanks, > Padam > ----------- > Sent from my

[dpdk-dev] KNI hw Address.

2014-07-03 Thread Padam J. Singh
Zhang, Alex, Please see the patch I had submitted a few days back which allows setting the MAC address using ifconfig ... hw ether MAC-ADDRESS An "ifconfig DEV up" , followed by this sets the MAC address. Thanks, Padam On 03-Jul-2014, at 10:26 am, Zhang, Helin wrote: > >> -Original Me

[dpdk-dev] Purge all entries in a rte_hash

2015-01-22 Thread Padam J. Singh
Hello, Is there some way to purge all keys in an rte_hash while maintaining read concurrency? I am assuming that I can?t do a free/create step while other threads may still be doing lookups on it. What I can do is store the key as part of the value in the array of user data, iterate this arra