net/mlx5: Report multi packet WQE capabilities
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 31 Oct 2016 10:15:20 +0000 (12:15 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 13 Dec 2016 18:33:24 +0000 (13:33 -0500)
Multi packet WQE enables sending multiple fix sized packets
using a single WQE. The exposed field reports such HW support.

Signed-off-by: Bodong Wang <bodong@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
include/linux/mlx5/mlx5_ifc.h

index 2632cb2caf1005c6886471dbd1c04bb62a1c98cf..0779ad2e8f51802a953a8e9c31f7da7669f1502e 100644 (file)
@@ -576,7 +576,7 @@ struct mlx5_ifc_per_protocol_networking_offload_caps_bits {
        u8         self_lb_en_modifiable[0x1];
        u8         reserved_at_9[0x2];
        u8         max_lso_cap[0x5];
-       u8         reserved_at_10[0x2];
+       u8         multi_pkt_send_wqe[0x2];
        u8         wqe_inline_mode[0x2];
        u8         rss_ind_tbl_cap[0x4];
        u8         reg_umr_sq[0x1];