Lines Matching +full:0 +full:x000ff000

98 	IB_GID_TYPE_IB        = 0,
99 IB_GID_TYPE_ROCE = 0,
178 IB_DEVICE_RESIZE_MAX_WR = (1 << 0),
255 IB_ODP_SUPPORT = 1 << 0,
259 IB_ODP_SUPPORT_SEND = 1 << 0,
288 IB_TM_CAP_RNDV_RC = 1 << 0,
305 IB_CQ_FLAGS_TIMESTAMP_COMPLETION = 1 << 0,
316 IB_CQ_MODERATE = 1 << 0,
417 IB_PORT_NOP = 0,
551 /* Management 0x00000FFF */
552 #define RDMA_CORE_CAP_IB_MAD 0x00000001
553 #define RDMA_CORE_CAP_IB_SMI 0x00000002
554 #define RDMA_CORE_CAP_IB_CM 0x00000004
555 #define RDMA_CORE_CAP_IW_CM 0x00000008
556 #define RDMA_CORE_CAP_IB_SA 0x00000010
557 #define RDMA_CORE_CAP_OPA_MAD 0x00000020
559 /* Address format 0x000FF000 */
560 #define RDMA_CORE_CAP_AF_IB 0x00001000
561 #define RDMA_CORE_CAP_ETH_AH 0x00002000
563 /* Protocol 0xFFF00000 */
564 #define RDMA_CORE_CAP_PROT_IB 0x00100000
565 #define RDMA_CORE_CAP_PROT_ROCE 0x00200000
566 #define RDMA_CORE_CAP_PROT_IWARP 0x00400000
567 #define RDMA_CORE_CAP_PROT_ROCE_UDP_ENCAP 0x00800000
618 IB_DEVICE_MODIFY_SYS_IMAGE_GUID = 1 << 0,
689 } while (0)
720 IB_MULTICAST_QPN = 0xffffff
723 #define IB_LID_PERMISSIVE cpu_to_be16(0xFFFF)
724 #define IB_MULTICAST_LID_BASE cpu_to_be16(0xC000)
731 IB_RATE_PORT_CURRENT = 0,
916 IB_CQ_SOLICITED = 1 << 0,
935 IB_SRQ_MAX_WR = 1 << 0,
1003 IB_QPT_DRIVER = 0xFF,
1008 IB_QPT_RESERVED1 = 0x1000,
1021 IB_QP_CREATE_IPOIB_UD_LSO = 1 << 0,
1071 IB_RNR_TIMER_655_36 = 0,
1204 IB_WR_RESERVED1 = 0xf0,
1502 IB_RAW_PACKET_CAP_CVLAN_STRIPPING = (1 << 0),
1534 IB_WQ_FLAGS_CVLAN_STRIPPING = 1 << 0,
1551 IB_WQ_STATE = 1 << 0,
1653 IB_FLOW_ATTR_NORMAL = 0x0,
1657 IB_FLOW_ATTR_ALL_DEFAULT = 0x1,
1661 IB_FLOW_ATTR_MC_DEFAULT = 0x2,
1663 IB_FLOW_ATTR_SNIFFER = 0x3
1669 IB_FLOW_SPEC_ETH = 0x20,
1670 IB_FLOW_SPEC_IB = 0x22,
1672 IB_FLOW_SPEC_IPV4 = 0x30,
1673 IB_FLOW_SPEC_IPV6 = 0x31,
1674 IB_FLOW_SPEC_ESP = 0x34,
1676 IB_FLOW_SPEC_TCP = 0x40,
1677 IB_FLOW_SPEC_UDP = 0x41,
1678 IB_FLOW_SPEC_VXLAN_TUNNEL = 0x50,
1679 IB_FLOW_SPEC_GRE = 0x51,
1680 IB_FLOW_SPEC_MPLS = 0x60,
1681 IB_FLOW_SPEC_INNER = 0x100,
1683 IB_FLOW_SPEC_ACTION_TAG = 0x1000,
1684 IB_FLOW_SPEC_ACTION_DROP = 0x1001,
1685 IB_FLOW_SPEC_ACTION_HANDLE = 0x1002,
1686 IB_FLOW_SPEC_ACTION_COUNT = 0x1003,
1688 #define IB_FLOW_SPEC_LAYER_MASK 0xF0
1713 u8 real_sz[0];
1727 u8 real_sz[0];
1739 IB_IPV4_DONT_FRAG = 0x2, /* Don't enable packet fragmentation */
1740 IB_IPV4_MORE_FRAG = 0X4 /* For All fragmented packets except the
1752 u8 real_sz[0];
1770 u8 real_sz[0];
1784 u8 real_sz[0];
1796 u8 real_sz[0];
1813 u8 real_sz[0];
1828 u8 real_sz[0];
1841 u8 real_sz[0];
1906 union ib_flow_spec flows[0];
1955 * Value of 0 is a valid value.
1984 IB_MAD_RESULT_FAILURE = 0, /* (!SUCCESS is the important flag) */
1985 IB_MAD_RESULT_SUCCESS = 1 << 0, /* MAD was successfully processed */
2110 (pop)[0] .driver_id = RDMA_DRIVER_##DRIVER; \
2111 (pop)[0] INIT_RDMA_OBJ_SIZE(ib_ah, driver##_ib_ah, ibah); \
2112 (pop)[0] INIT_RDMA_OBJ_SIZE(ib_cq, driver##_ib_cq, ibcq); \
2113 (pop)[0] INIT_RDMA_OBJ_SIZE(ib_pd, driver##_ib_pd, ibpd); \
2114 (pop)[0] INIT_RDMA_OBJ_SIZE(ib_srq, driver##_ib_srq, ibsrq); \
2115 (pop)[0] INIT_RDMA_OBJ_SIZE(ib_ucontext, driver##_ib_ucontext, ibucontext); \
2116 } while (0)
2156 * < 0 - Error, no counters updated
2194 * call of add_gid or delete_gid. The function should return 0 on
2508 return copy_from_user(dest, udata->inbuf, len) ? -EFAULT : 0; in ib_copy_from_udata()
2513 return copy_to_user(udata->outbuf, src, len) ? -EFAULT : 0; in ib_copy_to_udata()
2529 ret = !memchr_inv(buf, 0, len); in ib_is_buffer_cleared()
2578 return 0; in ib_destroy_usecnt()
2633 return rdma_cap_ib_switch(device) ? 0 : 1; in rdma_start_port()
2646 return rdma_cap_ib_switch(device) ? 0 : device->phys_port_cnt; in rdma_end_port()
2882 * Return the max MAD size required by the Port. Will return 0 if the port
2963 IB_PD_UNSAFE_GLOBAL_RKEY = 0x01,
2991 RDMA_CREATE_AH_SLEEPABLE = BIT(0),
3014 * It returns 0 on success and returns appropriate error code on error.
3072 RDMA_DESTROY_AH_SLEEPABLE = BIT(0),
3188 * It returns 0 on success and returns appropriate error code on error.
3422 * is < 0, an error occurred. If the return value is >= 0, it is the
3455 * < 0 means an error occurred while requesting notification
3456 * == 0 means notification was requested successfully, and if
3462 * > 0 is only returned if IB_CQ_REPORT_MISSED_EVENTS was passed
3797 mr->lkey = (mr->lkey & 0xffffff00) | newkey; in ib_update_fast_reg_key()
3798 mr->rkey = (mr->rkey & 0xffffff00) | newkey; in ib_update_fast_reg_key()
3808 const u32 mask = 0x000000ff; in ib_inc_rkey()
3902 return 0; in ib_check_mr_access()
3957 mr->iova = 0; in ib_map_mr_sg_zbva()