commit | 68453c7a8973399441080bcb20512d38033e64f7 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Thu Nov 03 17:11:58 2016 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 04 14:56:14 2016 -0400 |
tree | 74886da3342e51b0faf199a7c7905763aef381d2 | |
parent | 81cc2e434a9e8514bfad030683f7464c26306e35 [diff] |
nfp: centralize runtime reconfiguration logic All functions which need to reallocate ring resources at runtime look very similar. Centralize that logic into a separate function. Encapsulate configuration parameters in a structure. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>