net/qede: convert to new Rx/Tx offloads API
authorHarish Patil <harish.patil@cavium.com>
Wed, 28 Mar 2018 00:15:51 +0000 (17:15 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:44 +0000 (14:08 +0200)
commit946dfd18a4ecf23eb3a5d6b6de83bf314ac2c6b5
treef51cd89fb350c7a6b6d8a4bf7f03710b836f50e5
parentfe93968722afe38d1bade07dcf5df0ebd35c5eb6
net/qede: convert to new Rx/Tx offloads API

Ethdev RX/TX offloads API has changed since:
commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API")
commit cba7f53b717d ("ethdev: introduce Tx queue offloads API")

This patch makes use of new offload flags as suggested and fix
the default RX/TX configuration. Also indent the code properly
around those changes.

Signed-off-by: Harish Patil <harish.patil@cavium.com>
Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/qede_ethdev.c
drivers/net/qede/qede_rxtx.c
drivers/net/qede/qede_rxtx.h