summaryrefslogtreecommitdiff
path: root/examples/flow_filtering
diff options
context:
space:
mode:
authorFerruh Yigit <ferruh.yigit@intel.com>2018-07-02 23:27:50 +0200
committerFerruh Yigit <ferruh.yigit@intel.com>2018-07-04 21:50:32 +0200
commitab3ce1e0c19329c8a2d21480b0db55be259bc168 (patch)
treea6d38f339cc0266d0d3345b117d4e86cb925ffa8 /examples/flow_filtering
parentadeddc9c1890a42fafe887d7d1457145310491f6 (diff)
downloaddpdk-ab3ce1e0c19329c8a2d21480b0db55be259bc168.zip
dpdk-ab3ce1e0c19329c8a2d21480b0db55be259bc168.tar.gz
dpdk-ab3ce1e0c19329c8a2d21480b0db55be259bc168.tar.xz
ethdev: remove old offload API
In DPDK 17.11, the ethdev offloads API has changed: commit cba7f53b717d ("ethdev: introduce Tx queue offloads API") commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") The new API is documented in the programmer's guide: http://doc.dpdk.org/guides/prog_guide/poll_mode_drv.html#hardware-offload For reminder, the main concepts in the new API were: - All offloads are disabled by default - Distinction between per port and per queue offloads. The transition bits are now removed: - Translation of the old API in ethdev - rte_eth_conf.rxmode.ignore_offload_bitfield - ETH_TXQ_FLAGS_IGNORE The old API bits are now removed: - Rx per-port rte_eth_conf.rxmode.[bit-fields] - Tx per-queue rte_eth_txconf.txq_flags - ETH_TXQ_FLAGS_NO* Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Reviewed-by: Andrew Rybchenko <arybchenko@solarflare.com> Reviewed-by: Shahaf Shuler <shahafs@mellanox.com>
Diffstat (limited to 'examples/flow_filtering')
-rw-r--r--examples/flow_filtering/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/flow_filtering/main.c b/examples/flow_filtering/main.c
index e0ee516..f595034 100644
--- a/examples/flow_filtering/main.c
+++ b/examples/flow_filtering/main.c
@@ -121,7 +121,6 @@ init_port(void)
struct rte_eth_conf port_conf = {
.rxmode = {
.split_hdr_size = 0,
- .ignore_offload_bitfield = 1,
.offloads = DEV_RX_OFFLOAD_CRC_STRIP,
},
.txmode = {