X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Flink_status_interrupt%2Fmain.c;h=c57a08a4631b6aa84371d1497e60e70c2f8bb727;hb=824cb29c0e7b8a2b3ed285546c3a39a8e0b3cd44;hp=6adbd7936e38bca98bc80738bba3848066cab8f0;hpb=11f51a26d3e3a3cf78efa4c0a20d6aa5b29117c2;p=dpdk.git diff --git a/examples/link_status_interrupt/main.c b/examples/link_status_interrupt/main.c index 6adbd7936e..c57a08a463 100644 --- a/examples/link_status_interrupt/main.c +++ b/examples/link_status_interrupt/main.c @@ -72,7 +72,6 @@ #define RTE_LOGTYPE_LSI RTE_LOGTYPE_USER1 -#define MBUF_DATA_SIZE (2048 + RTE_PKTMBUF_HEADROOM) #define NB_MBUF 8192 #define MAX_PKT_BURST 32 @@ -615,7 +614,7 @@ main(int argc, char **argv) /* create the mbuf pool */ lsi_pktmbuf_pool = rte_pktmbuf_pool_create("mbuf_pool", NB_MBUF, 32, 0, - MBUF_DATA_SIZE, rte_socket_id()); + RTE_MBUF_DEFAULT_BUF_SIZE, rte_socket_id()); if (lsi_pktmbuf_pool == NULL) rte_panic("Cannot init mbuf pool\n");