qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] aa8e0a: hw/net/opencores_eth: use mii.h


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] aa8e0a: hw/net/opencores_eth: use mii.h
Date: Tue, 24 May 2016 03:30:05 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: aa8e0ab975e8c83c114ed8071be94dce232f75eb
      
https://github.com/qemu/qemu/commit/aa8e0ab975e8c83c114ed8071be94dce232f75eb
  Author: Max Filippov <address@hidden>
  Date:   2016-05-23 (Mon, 23 May 2016)

  Changed paths:
    M hw/net/opencores_eth.c

  Log Message:
  -----------
  hw/net/opencores_eth: use mii.h

Drop local definitions of MII registers and use constants from mii.h for
registers and register bits. No functional changes.

Signed-off-by: Max Filippov <address@hidden>


  Commit: ea4d824168ce2a309ccf26fa20c6e4f9e3d47c82
      
https://github.com/qemu/qemu/commit/ea4d824168ce2a309ccf26fa20c6e4f9e3d47c82
  Author: Zhou Jie <address@hidden>
  Date:   2016-05-23 (Mon, 23 May 2016)

  Changed paths:
    M hw/net/opencores_eth.c

  Log Message:
  -----------
  hw/net/opencores_eth: Allocating Large sized arrays to heap

open_eth_start_xmit has a huge stack usage of 65536 bytes approx.
Moving large arrays to heap to reduce stack usage.

Reduce size of a buffer allocated on stack to 0x600 bytes, which is the
maximal frame length when HUGEN bit is not set in MODER, only allocate
buffer on heap when that is too small. Thus heap is not used in typical
use case.

Signed-off-by: Zhou Jie <address@hidden>
Signed-off-by: Max Filippov <address@hidden>


  Commit: 4c63a818de8d77bda3332c890fc52d900ebb2db1
      
https://github.com/qemu/qemu/commit/4c63a818de8d77bda3332c890fc52d900ebb2db1
  Author: Peter Maydell <address@hidden>
  Date:   2016-05-24 (Tue, 24 May 2016)

  Changed paths:
    M hw/net/opencores_eth.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/xtensa/tags/20160523-opencores_eth' 
into staging

opencores_eth cleanups:
- use mii.h
- reduce stack usage in open_eth_start_xmit.

# gpg: Signature made Mon 23 May 2016 20:14:20 BST using RSA key ID F83FA044
# gpg: Good signature from "Max Filippov <address@hidden>"
# gpg:                 aka "Max Filippov <address@hidden>"

* remotes/xtensa/tags/20160523-opencores_eth:
  hw/net/opencores_eth: Allocating Large sized arrays to heap
  hw/net/opencores_eth: use mii.h

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/c91585476175...4c63a818de8d

reply via email to

[Prev in Thread] Current Thread [Next in Thread]