Skip to content

Commit

Permalink
linux-gen: fix pktio private size on 128-byte cache machines
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
  • Loading branch information
Dmitry Eremin-Solenikov authored and muvarov committed Oct 15, 2018
1 parent 4eb47ad commit e210e8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions platform/linux-generic/include/odp_packet_io_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ struct pktio_if_ops;

#if defined(ODP_NETMAP)
#define PKTIO_PRIVATE_SIZE 74752
#elif defined(ODP_PKTIO_DPDK) && ODP_CACHE_LINE_SIZE == 128
#define PKTIO_PRIVATE_SIZE 10240
#elif defined(ODP_PKTIO_DPDK)
#define PKTIO_PRIVATE_SIZE 5632
#else
Expand Down

0 comments on commit e210e8f

Please sign in to comment.