Re: [Qemu-devel] [PATCH 0/5] hw/net: Don't use cpu_to_*w() and *_to_cpup()

2016-06-27 Thread Peter Maydell
On 16 June 2016 at 18:17, Peter Maydell  wrote:
> This patchset converts a handful of network devices to use
> ld*_p() and st*_p() instead of cpu_to_*w() and *_to_cpup().
>
> This is the last lot of conversion patches; I have the "delete
> the implementations from bswap.h" patch, and will send that out
> once all of the in-flight patches have hit master.

Applied to master, thanks.

-- PMM



Re: [Qemu-devel] [PATCH 0/5] hw/net: Don't use cpu_to_*w() and *_to_cpup()

2016-06-20 Thread Dmitry Fleytman


> On 20 Jun 2016, at 05:45 AM, Jason Wang  wrote:
> 
> 
> 
> On 2016年06月17日 01:17, Peter Maydell wrote:
>> This patchset converts a handful of network devices to use
>> ld*_p() and st*_p() instead of cpu_to_*w() and *_to_cpup().
>> 
>> This is the last lot of conversion patches; I have the "delete
>> the implementations from bswap.h" patch, and will send that out
>> once all of the in-flight patches have hit master.
>> 
>> thanks
>> -- PMM
>> 
>> Peter Maydell (5):
>>   hw/net/eepro100.c: Don't use cpu_to_*w() and *_to_cpup()
>>   hw/net/rtl8139.c: Don't use *_to_cpup()
>>   hw/net/rocker: Don't use *_to_cpup()
>>   hw/net/virtio-net.c: Don't use *_to_cpup()
>>   hw/net/e1000: Don't use *_to_cpup()
>> 
>>  hw/net/e1000.c | 18 +-
>>  hw/net/e1000e_core.c   |  6 +++---
>>  hw/net/e1000x_common.c |  2 +-
>>  hw/net/eepro100.c  |  8 
>>  hw/net/rocker/rocker_tlv.h |  6 +++---
>>  hw/net/rtl8139.c   |  9 -
>>  hw/net/virtio-net.c|  2 +-
>>  7 files changed, 25 insertions(+), 26 deletions(-)
>> 
> 
> Acked-by: Jason Wang 

Acked-by: Dmitry Fleytman >




Re: [Qemu-devel] [PATCH 0/5] hw/net: Don't use cpu_to_*w() and *_to_cpup()

2016-06-19 Thread Jason Wang



On 2016年06月17日 01:17, Peter Maydell wrote:

This patchset converts a handful of network devices to use
ld*_p() and st*_p() instead of cpu_to_*w() and *_to_cpup().

This is the last lot of conversion patches; I have the "delete
the implementations from bswap.h" patch, and will send that out
once all of the in-flight patches have hit master.

thanks
-- PMM

Peter Maydell (5):
   hw/net/eepro100.c: Don't use cpu_to_*w() and *_to_cpup()
   hw/net/rtl8139.c: Don't use *_to_cpup()
   hw/net/rocker: Don't use *_to_cpup()
   hw/net/virtio-net.c: Don't use *_to_cpup()
   hw/net/e1000: Don't use *_to_cpup()

  hw/net/e1000.c | 18 +-
  hw/net/e1000e_core.c   |  6 +++---
  hw/net/e1000x_common.c |  2 +-
  hw/net/eepro100.c  |  8 
  hw/net/rocker/rocker_tlv.h |  6 +++---
  hw/net/rtl8139.c   |  9 -
  hw/net/virtio-net.c|  2 +-
  7 files changed, 25 insertions(+), 26 deletions(-)



Acked-by: Jason Wang 



Re: [Qemu-devel] [PATCH 0/5] hw/net: Don't use cpu_to_*w() and *_to_cpup()

2016-06-17 Thread Richard Henderson
On 06/16/2016 10:17 AM, Peter Maydell wrote:
> This patchset converts a handful of network devices to use
> ld*_p() and st*_p() instead of cpu_to_*w() and *_to_cpup().
> 
> This is the last lot of conversion patches; I have the "delete
> the implementations from bswap.h" patch, and will send that out
> once all of the in-flight patches have hit master.
> 
> thanks
> -- PMM
> 
> Peter Maydell (5):
>   hw/net/eepro100.c: Don't use cpu_to_*w() and *_to_cpup()
>   hw/net/rtl8139.c: Don't use *_to_cpup()
>   hw/net/rocker: Don't use *_to_cpup()
>   hw/net/virtio-net.c: Don't use *_to_cpup()
>   hw/net/e1000: Don't use *_to_cpup()
> 

Reviewed-by: Richard Henderson 


r~




[Qemu-devel] [PATCH 0/5] hw/net: Don't use cpu_to_*w() and *_to_cpup()

2016-06-16 Thread Peter Maydell
This patchset converts a handful of network devices to use
ld*_p() and st*_p() instead of cpu_to_*w() and *_to_cpup().

This is the last lot of conversion patches; I have the "delete
the implementations from bswap.h" patch, and will send that out
once all of the in-flight patches have hit master.

thanks
-- PMM

Peter Maydell (5):
  hw/net/eepro100.c: Don't use cpu_to_*w() and *_to_cpup()
  hw/net/rtl8139.c: Don't use *_to_cpup()
  hw/net/rocker: Don't use *_to_cpup()
  hw/net/virtio-net.c: Don't use *_to_cpup()
  hw/net/e1000: Don't use *_to_cpup()

 hw/net/e1000.c | 18 +-
 hw/net/e1000e_core.c   |  6 +++---
 hw/net/e1000x_common.c |  2 +-
 hw/net/eepro100.c  |  8 
 hw/net/rocker/rocker_tlv.h |  6 +++---
 hw/net/rtl8139.c   |  9 -
 hw/net/virtio-net.c|  2 +-
 7 files changed, 25 insertions(+), 26 deletions(-)

-- 
1.9.1