Lines Matching defs:filter
64 osm_ts_user_mad_filter filter;
206 * Create the MAD filter on this file handle.
209 p_mgr->filter.port = p_bo->port_num;
210 p_mgr->filter.direction = TS_IB_MAD_DIRECTION_IN;
211 p_mgr->filter.mask =
220 p_mgr->filter.qpn = qpn;
221 p_mgr->filter.mgmt_class = IB_MCLASS_SUBN_LID;
223 ioctl(device_fd, TS_IB_IOCSMADFILTADD, &p_mgr->filter);
228 p_mgr->filter.mgmt_class = IB_MCLASS_SUBN_DIR;
230 ioctl(device_fd, TS_IB_IOCSMADFILTADD, &p_mgr->filter);
240 p_mgr->filter.qpn = qpn;
241 p_mgr->filter.mgmt_class = p_info->mad_class;
243 ioctl(device_fd, TS_IB_IOCSMADFILTADD, &p_mgr->filter);
358 the filter catch it such that the read unblocks
368 /* prepare the mad fields following the stored filter on the bind */
371 ts_mad.mgmt_class = p_mgr->filter.mgmt_class;
376 ts_mad.sqpn = p_mgr->filter.qpn;
377 ts_mad.dqpn = p_mgr->filter.qpn;