main.c (b4f34597a5ce148b88a47da621037537c384d565) | main.c (de57f2ad06d5bf01015b955600cbfc77059b2b6e) |
---|---|
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: --- 810 unchanged lines hidden (view full) --- 819 if (MLX5_CAP_ETH(mdev, enhanced_multi_pkt_send_wqe)) 820 resp.mlx5_ib_support_multi_pkt_send_wqes |= 821 MLX5_IB_SUPPORT_EMPW; 822 823 resp.response_length += 824 sizeof(resp.mlx5_ib_support_multi_pkt_send_wqes); 825 } 826 | 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: --- 810 unchanged lines hidden (view full) --- 819 if (MLX5_CAP_ETH(mdev, enhanced_multi_pkt_send_wqe)) 820 resp.mlx5_ib_support_multi_pkt_send_wqes |= 821 MLX5_IB_SUPPORT_EMPW; 822 823 resp.response_length += 824 sizeof(resp.mlx5_ib_support_multi_pkt_send_wqes); 825 } 826 |
827 if (field_avail(typeof(resp), reserved, uhw->outlen)) 828 resp.response_length += sizeof(resp.reserved); | 827 if (field_avail(typeof(resp), flags, uhw->outlen)) { 828 resp.response_length += sizeof(resp.flags); 829 if (MLX5_CAP_GEN(mdev, cqe_compression_128)) 830 resp.flags |= 831 MLX5_IB_QUERY_DEV_RESP_FLAGS_CQE_128B_COMP; 832 } |
829 830 if (field_avail(typeof(resp), sw_parsing_caps, 831 uhw->outlen)) { 832 resp.response_length += sizeof(resp.sw_parsing_caps); 833 if (MLX5_CAP_ETH(mdev, swp)) { 834 resp.sw_parsing_caps.sw_parsing_offloads |= 835 MLX5_IB_SW_PARSING; 836 --- 3434 unchanged lines hidden --- | 833 834 if (field_avail(typeof(resp), sw_parsing_caps, 835 uhw->outlen)) { 836 resp.response_length += sizeof(resp.sw_parsing_caps); 837 if (MLX5_CAP_ETH(mdev, swp)) { 838 resp.sw_parsing_caps.sw_parsing_offloads |= 839 MLX5_IB_SW_PARSING; 840 --- 3434 unchanged lines hidden --- |