net/ena: fix per-queue offload capabilities
net/ena: fix per-queue offload capabilities

As ENA currently doesn't support offloads which could be configured
per-queue, only per-port flags should be set.

In addition, to make the code cleaner, parsing appropriate offload
flags is encapsulated into helper functions, in a similar matter it's
done by the other PMDs.

[1] https://doc.dpdk.org/guides/prog_guide/
    poll_mode_drv.html?highlight=offloads#hardware-offload

Fixes: 7369f88f88c0 ("net/ena: convert to new Rx offloads API")
Fixes: 56b8b9b7e5d2 ("net/ena: convert to new Tx offloads API")
Cc: stable@dpdk.org

Signed-off-by: Michal Krawczyk <a91dcbb4df49d8bfe0a9930d7ff911a4292ca1f5@semihalf.com>
Reviewed-by: Igor Chauskin <a8d4b4819272c1df83ebe995beed3305455c3333@amazon.com>
Reviewed-by: Shai Brandes <095e2ccee33c643430b6757419619b6d7f04079f@amazon.com>

john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk