diff options
author | Damjan Marion <damarion@cisco.com> | 2016-09-19 13:44:37 +0200 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2016-09-21 07:54:59 +0000 |
commit | b58598b73107eb314b1f6dde7c86a7b75e3497df (patch) | |
tree | 0b317bdc4f2e0d681797b1984bad9ef0e2213df4 /vnet/etc/scripts/speed | |
parent | a7cc4479db4b3be0eb2b3ebf7cb569a0a4ed0c17 (diff) |
dpdk: fix wrong tx ring size calculations
At many places code was using constant ring size od 4096
which was defined in macro DPDK_TX_RING_SIZE.
As we support differnet ring size and default value s now
1024, we need to remove DPDK_TX_RING_SIZE and use
value stored in device structure.
For that reason dpdk_device_t.nb_tx_desc is moved to
first cacheline.
Change-Id: I2c2ac11f0f5e8ae779d34f9a9104eaf2921ec34c
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vnet/etc/scripts/speed')
0 files changed, 0 insertions, 0 deletions