main.c (a550ddfc543e250798048cf4eabe721cd85ac724) | main.c (795b609c8b59f8f20fa9d72bf8b4ae3b8aa5582c) |
---|---|
1/* 2 * Copyright (c) 2013-2015, Mellanox Technologies. All rights reserved. 3 * 4 * This software is available to you under a choice of one of two 5 * licenses. You may choose to be licensed under the terms of the GNU 6 * General Public License (GPL) Version 2, available from the file 7 * COPYING in the main directory of this source tree, or the 8 * OpenIB.org BSD license below: --- 788 unchanged lines hidden (view full) --- 797 resp.packet_pacing_caps.supported_qpts |= 798 1 << IB_QPT_RAW_PACKET; 799 } 800 resp.response_length += sizeof(resp.packet_pacing_caps); 801 } 802 803 if (field_avail(typeof(resp), mlx5_ib_support_multi_pkt_send_wqes, 804 uhw->outlen)) { | 1/* 2 * Copyright (c) 2013-2015, Mellanox Technologies. All rights reserved. 3 * 4 * This software is available to you under a choice of one of two 5 * licenses. You may choose to be licensed under the terms of the GNU 6 * General Public License (GPL) Version 2, available from the file 7 * COPYING in the main directory of this source tree, or the 8 * OpenIB.org BSD license below: --- 788 unchanged lines hidden (view full) --- 797 resp.packet_pacing_caps.supported_qpts |= 798 1 << IB_QPT_RAW_PACKET; 799 } 800 resp.response_length += sizeof(resp.packet_pacing_caps); 801 } 802 803 if (field_avail(typeof(resp), mlx5_ib_support_multi_pkt_send_wqes, 804 uhw->outlen)) { |
805 resp.mlx5_ib_support_multi_pkt_send_wqes = 806 MLX5_CAP_ETH(mdev, multi_pkt_send_wqe); | 805 if (MLX5_CAP_ETH(mdev, multi_pkt_send_wqe)) 806 resp.mlx5_ib_support_multi_pkt_send_wqes = 807 MLX5_IB_ALLOW_MPW; |
807 resp.response_length += 808 sizeof(resp.mlx5_ib_support_multi_pkt_send_wqes); 809 } 810 811 if (field_avail(typeof(resp), reserved, uhw->outlen)) 812 resp.response_length += sizeof(resp.reserved); 813 814 if (field_avail(typeof(resp), sw_parsing_caps, --- 3424 unchanged lines hidden --- | 808 resp.response_length += 809 sizeof(resp.mlx5_ib_support_multi_pkt_send_wqes); 810 } 811 812 if (field_avail(typeof(resp), reserved, uhw->outlen)) 813 resp.response_length += sizeof(resp.reserved); 814 815 if (field_avail(typeof(resp), sw_parsing_caps, --- 3424 unchanged lines hidden --- |