Re: [dpdk-dev] replay MAC address in rte_eth_dev_config_restore()

2017-01-18 Thread Steve Shin (jonshin)
Thanks Ferruh for your quick turnaround! Sure, I’ll send a patch for your review. Regards, Steve On 1/18/17, 10:39 AM, "Ferruh Yigit" wrote: On 1/18/2017 4:12 AM, Steve Shin (jonshin) wrote: > Hi, > > I have a question on MAC address replay logic in rte_eth_dev_config_restore

Re: [dpdk-dev] replay MAC address in rte_eth_dev_config_restore()

2017-01-18 Thread Ferruh Yigit
On 1/18/2017 4:12 AM, Steve Shin (jonshin) wrote: > Hi, > > I have a question on MAC address replay logic in rte_eth_dev_config_restore(): > > lib/librte_ether/rte_ethdev.c: > code snippet of rte_eth_dev_config_restore() > ~~ > /* replay MAC address configuration */ > for (i = 0;

[dpdk-dev] replay MAC address in rte_eth_dev_config_restore()

2017-01-17 Thread Steve Shin (jonshin)
Hi, I have a question on MAC address replay logic in rte_eth_dev_config_restore(): lib/librte_ether/rte_ethdev.c: code snippet of rte_eth_dev_config_restore() ~~ /* replay MAC address configuration */ for (i = 0; i < dev_info.max_mac_addrs; i++) { addr = dev->data-