Skip to content

Commit

Permalink
ftgmac100: Make ring sizes configurable via ethtool
Browse files Browse the repository at this point in the history
We set an arbitrary max at 1024 since we pre-allocate the actual
descriptor arrays and skb arrays to the full size to keep the
code a bit simpler and avoid allocation failures in the reset
task.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Benjamin Herrenschmidt authored and David S. Miller committed Apr 12, 2017
1 parent 3833dc6 commit 52d9138
Showing 1 changed file with 148 additions and 56 deletions.
Loading

0 comments on commit 52d9138

Please sign in to comment.