IB/core: Expose vlan offloads capabilities
authorNoa Osherovich <noaos@mellanox.com>
Wed, 18 Jan 2017 13:39:54 +0000 (15:39 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 14 Feb 2017 16:41:09 +0000 (11:41 -0500)
commitebaaee253ad3a3c573ab7d3d77e849056bdfa9ea
treead77c9cac5598c41ea2989fbf8e863c0c312042b
parent23a6964e3adb0796e1633562a574839b92360cb6
IB/core: Expose vlan offloads capabilities

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.

Signed-off-by: Noa Osherovich <noaos@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
include/rdma/ib_verbs.h