[dpdk-dev] [PATCH 35/39] net/ixgbe/base: hold semaphore for shadow RAM access

2016-09-23 Thread Wang, Xiao W
Hi Ferruh, > -Original Message- > From: Yigit, Ferruh > Sent: Tuesday, September 20, 2016 1:08 AM > To: Wang, Xiao W ; Lu, Wenzhuo > > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 35/39] net/ixgbe/base: hold semaphore for > shadow RAM access > > O

[dpdk-dev] [PATCH 35/39] net/ixgbe/base: hold semaphore for shadow RAM access

2016-09-19 Thread Ferruh Yigit
On 8/27/2016 4:48 PM, Xiao Wang wrote: > The semaphore is not being held for complete shadow RAM accesses > which could result in corruption. Refactor the code so that it is > possible to hold the semaphore around ixgbe_host_interface_command > by introducing an unlocked form. This patch also elimi

[dpdk-dev] [PATCH 35/39] net/ixgbe/base: hold semaphore for shadow RAM access

2016-08-27 Thread Xiao Wang
The semaphore is not being held for complete shadow RAM accesses which could result in corruption. Refactor the code so that it is possible to hold the semaphore around ixgbe_host_interface_command by introducing an unlocked form. This patch also eliminates the function ixgbe_read_ee_hostif_data_X5