summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2016-10-31 20:43:13 +0000
committerDavid S. Miller <davem@davemloft.net>2016-11-01 11:04:59 -0400
commitbf187ea01b07739167420088adb385f9385a7c7f (patch)
tree34e3cc4399e6d86aa5360ceee08b3f4f8f1d2c26 /block
parentfa95f1d2bf1816eee736192fa1f75ed96c0ab9cf (diff)
nfp: centralize the buffer size calculation
Add a helper function to calculate the buffer size at run time. Buffer lengths will now depend on the FW prepend configuration instead of assuming the most space consuming configuration and defaulting to 2k buffers at initialization time. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions