Re: [dpdk-dev] [PATCH] net/bonding: avoid making copy of mac address

2018-10-26 Thread Ferruh Yigit
On 10/25/2018 11:04 PM, Chas Williams wrote: > From: Chas Williams > > Calling rte_eth_macaddr_get to get a copy of the MAC address causes > a hot spot according to profiling. We can easily get the current > MAC address by just examining the bonded device. > > Signed-off-by: Chas Williams Appl

[dpdk-dev] [PATCH] net/bonding: avoid making copy of mac address

2018-10-25 Thread Chas Williams
From: Chas Williams Calling rte_eth_macaddr_get to get a copy of the MAC address causes a hot spot according to profiling. We can easily get the current MAC address by just examining the bonded device. Signed-off-by: Chas Williams --- drivers/net/bonding/rte_eth_bond_pmd.c | 14 --