Matias Elo(matiaselo) replied on github web page:
platform/linux-generic/odp_pool.c
line 80
@@ -403,6 +430,12 @@ static odp_pool_t pool_create(const char *name,
odp_pool_param_t *params,
block_size = ROUNDUP_CACHE_LINE(hdr_size + align + headroom +
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_pool.c
line 6
@@ -32,6 +32,10 @@
#define CACHE_BURST32
#define RING_SIZE_MIN (2 * CACHE_BURST)
+/* Make sure packet buffers don't cross page boundaries starting from this page
+ * size. */
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_pool.c
line 80
@@ -403,6 +430,12 @@ static odp_pool_t pool_create(const char *name,
odp_pool_param_t *params,
block_size = ROUNDUP_CACHE_LINE(hdr_size + align + headroom +
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_pool.c
line 40
@@ -232,19 +237,40 @@ static void init_buffers(pool_t *pool)
uint32_t mask;
int type;
uint32_t seg_size;
+ uint64_t page_size = 0;
+ int skipped_blocks =
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_pool.c
line 40
@@ -232,19 +237,40 @@ static void init_buffers(pool_t *pool)
uint32_t mask;
int type;
uint32_t seg_size;
+ uint64_t page_size = 0;
+ int skipped_blocks =
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_pool.c
line 6
@@ -32,6 +32,10 @@
#define CACHE_BURST32
#define RING_SIZE_MIN (2 * CACHE_BURST)
+/* Make sure packet buffers don't cross page boundaries starting from this page
+ * size. */
Matias Elo(matiaselo) replied on github web page:
platform/linux-generic/odp_pool.c
line 40
@@ -232,19 +237,40 @@ static void init_buffers(pool_t *pool)
uint32_t mask;
int type;
uint32_t seg_size;
+ uint64_t page_size = 0;
+ int skipped_blocks = 0;
+
+ if
Matias Elo(matiaselo) replied on github web page:
platform/linux-generic/odp_pool.c
line 6
@@ -32,6 +32,10 @@
#define CACHE_BURST32
#define RING_SIZE_MIN (2 * CACHE_BURST)
+/* Make sure packet buffers don't cross page boundaries starting from this page
+ * size. */
+#define
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_pool.c
line 80
@@ -403,6 +430,12 @@ static odp_pool_t pool_create(const char *name,
odp_pool_param_t *params,
block_size = ROUNDUP_CACHE_LINE(hdr_size + align + headroom +
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_pool.c
line 6
@@ -32,6 +32,10 @@
#define CACHE_BURST32
#define RING_SIZE_MIN (2 * CACHE_BURST)
+/* Make sure packet buffers don't cross page boundaries starting from this page
+ * size. */
Matias Elo(matiaselo) replied on github web page:
platform/linux-generic/odp_pool.c
line 80
@@ -403,6 +430,12 @@ static odp_pool_t pool_create(const char *name,
odp_pool_param_t *params,
block_size = ROUNDUP_CACHE_LINE(hdr_size + align + headroom +
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_pool.c
line 40
@@ -232,19 +237,40 @@ static void init_buffers(pool_t *pool)
uint32_t mask;
int type;
uint32_t seg_size;
+ uint64_t page_size = 0;
+ int skipped_blocks =
12 matches
Mail list logo