[dpdk-dev] [PATCH v3 1/1] examples/l3fwd: modify and modularize l3fwd code

2016-02-18 Thread Piotr Azarewicz
The main problem with l3fwd is that it is too monolithic with everything being in one file, and the various options all controlled by compile time flags. This means that it's hard to read and understand, and when making any changes, you need to go to a lot of work to try and ensure you cover all th

[dpdk-dev] [PATCH v3 1/1] examples/l3fwd: modify and modularize l3fwd code

2016-02-24 Thread Thomas Monjalon
Hi, When compiling for i686, there are some errors: 2016-02-18 10:08, Piotr Azarewicz: > + printf("Hash: Adding 0x%" PRIx64 " keys\n", IPV4_L3FWD_EM_NUM_ROUTES); [...] > + printf("Hash: Adding 0x%" PRIx64 "keys\n", IPV6_L3FWD_EM_NUM_ROUTES); examples/l3fwd/l3fwd_em.c:437:9: error: fo

[dpdk-dev] [PATCH v3 1/1] examples/l3fwd: modify and modularize l3fwd code

2016-02-24 Thread Azarewicz, PiotrX T
> > Hi, > > When compiling for i686, there are some errors: > > 2016-02-18 10:08, Piotr Azarewicz: > > + printf("Hash: Adding 0x%" PRIx64 " keys\n", > IPV4_L3FWD_EM_NUM_ROUTES); > [...] > > + printf("Hash: Adding 0x%" PRIx64 "keys\n", > IPV6_L3FWD_EM_NUM_ROUTES); > > examples/l3fwd/