diff options
Diffstat (limited to 'examples/load_balancer')
-rw-r--r-- | examples/load_balancer/Makefile | 1 | ||||
-rw-r--r-- | examples/load_balancer/init.c | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/examples/load_balancer/Makefile b/examples/load_balancer/Makefile index fc8df71e..197b019d 100644 --- a/examples/load_balancer/Makefile +++ b/examples/load_balancer/Makefile @@ -50,7 +50,6 @@ include $(RTE_SDK)/mk/rte.vars.mk CFLAGS += -O3 -g CFLAGS += $(WERROR_FLAGS) -CFLAGS_config.o := -D_GNU_SOURCE # workaround for a gcc bug with noreturn attribute # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603 diff --git a/examples/load_balancer/init.c b/examples/load_balancer/init.c index f2045f23..3ab7d021 100644 --- a/examples/load_balancer/init.c +++ b/examples/load_balancer/init.c @@ -45,8 +45,7 @@ static struct rte_eth_conf port_conf = { .rxmode = { .mq_mode = ETH_MQ_RX_RSS, .split_hdr_size = 0, - .offloads = (DEV_RX_OFFLOAD_CHECKSUM | - DEV_RX_OFFLOAD_CRC_STRIP), + .offloads = DEV_RX_OFFLOAD_CHECKSUM, }, .rx_adv_conf = { .rss_conf = { |