On 1/22/2015 12:04 PM, Stefan Sperling wrote:
It looks as if some ring descriptor data is still being allocated with
bus_dmamem_alloc(). That function probably doesn't respect the mapping
constraints bce(4) hardware requires.
This diff makes bce use the same memory allocation APIs as bwi(4) is
using. Some bwi devices have the same 1GB problem and I know the bwi
code works fine with such devices. So perhaps applying the same approach
to bce will fix your issue.
Diff is compile-tested only due to lack of hardware at my end.
This diff from stsp seems to work with 4GB of RAM installed. In
addition to the ping -f test I also did an scp test and performance
looks good. Thanks!
--
John Merriam