[PATCH 04/31] FreeBSD OFED support for DPDK MLX5 PMD
a) Expose raw packet capabilities in the core layer to enable a device
to report it.
Two existing capabilities, scatter FCS and IP CSUM were added to this
field for a better user experience by exposing the raw packet caps
from one location.
This field will serve also for future capabilities for raw packet QP.
A new capability was introduced - cvlan stripping, which is the
device's ability to remove cvlan tag from an incoming packet and
report it in the matching work completion.
b) Check device's capabilities and report which raw packet capabilities
are supported.
c) Allow creating a WQ with cvlan stripping considering device's
capabilities. The default value was fixed to disable vlan stripping
till was asked explicitly.
In addition, allow modification of a WQ to turn on/off this property.
d) Enable creating a RAW Ethernet QP with cvlan stripping offload when
it's supported by the hardware.
e) Add support for creation of a WQ with scatter FCS capability, if
this capability is supported by the hardware.