net/ena: convert to new Tx offloads API
authorRafal Kozik <rk@semihalf.com>
Wed, 17 Jan 2018 08:23:44 +0000 (09:23 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sun, 21 Jan 2018 14:51:52 +0000 (15:51 +0100)
commit56b8b9b7e5d2d682d672d7d2317b8c74dc5d371e
tree607c256f96d91399eb82385478f4f28869c1d7b2
parente8aafd9405b9f1da345abd2d5ff0d7aabc1ce6f3
net/ena: convert to new Tx offloads API

Ethdev Tx offloads API has changed since:

commit cba7f53b717d ("ethdev: introduce Tx queue offloads API")

This commit support the new Tx offloads API. Queue configuration
is stored in ena_ring.offloads. During preparing mbufs for tx, offloads are
allowed only if appropriate flags in this field are set.

Signed-off-by: Rafal Kozik <rk@semihalf.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Michal Krawczyk <mk@semihalf.com>
drivers/net/ena/ena_ethdev.c
drivers/net/ena/ena_ethdev.h