[dpdk-dev] [PATCH 1/2] net/sfc: advertise offload caps directly by Rx datapaths

Ferruh Yigit ferruh.yigit at intel.com
Thu Jun 6 18:54:04 CEST 2019


On 6/1/2019 9:42 AM, Andrew Rybchenko wrote:
> Rx datapath feature bits were useful on migration from the old offload API
> to the new one. However, right now it just adds indirection which
> complicates code reading and understanding. Also addition of a new
> offloads requires addition of a new feature bits and makes patches longer
> and harder to understand. So, remove feature bits which correspond to Rx
> offloads and simply advertise device and per-queue offloads directly.
> Generic code could still mask some offloads if running HW or FW does not
> support it.
> 
> Signed-off-by: Andrew Rybchenko <arybchenko at solarflare.com>
> Reviewed-by: Igor Romanov <igor.romanov at oktetlabs.ru>
> Reviewed-by: Ivan Malov <ivan.malov at oktetlabs.ru>

Series applied to dpdk-next-net/master, thanks.



More information about the dev mailing list