X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fbond%2Fmain.c;h=e90dc1d7a7085e12c0fad88766e5cbef409e7389;hb=824cb29c0e7b8a2b3ed285546c3a39a8e0b3cd44;hp=fcb4c4e99cb06a1e65e10fddbcadbe07e6c7700a;hpb=11f51a26d3e3a3cf78efa4c0a20d6aa5b29117c2;p=dpdk.git diff --git a/examples/bond/main.c b/examples/bond/main.c index fcb4c4e99c..e90dc1d7a7 100644 --- a/examples/bond/main.c +++ b/examples/bond/main.c @@ -96,7 +96,6 @@ #define RTE_LOGTYPE_DCB RTE_LOGTYPE_USER1 -#define MBUF_DATA_SIZE (2048 + RTE_PKTMBUF_HEADROOM) #define NB_MBUF (1024*8) #define MAX_PKT_BURST 32 @@ -739,7 +738,7 @@ main(int argc, char *argv[]) rte_exit(EXIT_FAILURE, "You can have max 4 ports\n"); mbuf_pool = rte_pktmbuf_pool_create("MBUF_POOL", NB_MBUF, 32, - 0, MBUF_DATA_SIZE, rte_socket_id()); + 0, RTE_MBUF_DEFAULT_BUF_SIZE, rte_socket_id()); if (mbuf_pool == NULL) rte_exit(EXIT_FAILURE, "Cannot create mbuf pool\n");