]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
IB/core: Add scatter FCS flag to use in WQ creation
authorNoa Osherovich <noaos@mellanox.com>
Wed, 18 Jan 2017 13:39:57 +0000 (15:39 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 14 Feb 2017 16:41:11 +0000 (11:41 -0500)
Add a new creation flag to set the scatter FCS capability of a WQ.

Signed-off-by: Noa Osherovich <noaos@mellanox.com>
Reviewed-by: Majd Dibbiny <majd@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

index 44d58510c020e7473cd1e73ca2ed2695bbf529ba..62fb9c61b3547df7c8feffca35f4be63fe68ad51 100644 (file)
@@ -1497,6 +1497,7 @@ struct ib_wq {
 
 enum ib_wq_flags {
        IB_WQ_FLAGS_CVLAN_STRIPPING     = 1 << 0,
+       IB_WQ_FLAGS_SCATTER_FCS         = 1 << 1,
 };
 
 struct ib_wq_init_attr {