From: Radu Nicolau Date: Fri, 20 Oct 2017 09:30:20 +0000 (+0100) Subject: examples/ipsec_secgw: switch to new offload API X-Git-Tag: spdx-start~1199 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=065179e483396194c1aca067928a511a34573270;p=dpdk.git examples/ipsec_secgw: switch to new offload API Signed-off-by: Radu Nicolau Acked-by: Pablo de Lara --- diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c index d451b3debd..37274e8b49 100644 --- a/examples/ipsec-secgw/ipsec-secgw.c +++ b/examples/ipsec-secgw/ipsec-secgw.c @@ -204,11 +204,9 @@ static struct rte_eth_conf port_conf = { .mq_mode = ETH_MQ_RX_RSS, .max_rx_pkt_len = ETHER_MAX_LEN, .split_hdr_size = 0, - .header_split = 0, /**< Header Split disabled */ - .hw_ip_checksum = 1, /**< IP checksum offload enabled */ - .hw_vlan_filter = 0, /**< VLAN filtering disabled */ - .jumbo_frame = 0, /**< Jumbo Frame Support disabled */ - .hw_strip_crc = 1, /**< CRC stripped by hardware */ + .offloads = DEV_RX_OFFLOAD_CHECKSUM | + DEV_RX_OFFLOAD_CRC_STRIP, + .ignore_offload_bitfield = 1, }, .rx_adv_conf = { .rss_conf = {