IB/rdmavt, hfi1, qib: Modify check_ah() to account for extended LIDs
rvt_check_ah() delegates lid verification to underlying driver. Underlying driver uses different conditions to check for dlid depending on whether the device supports extended LIDs Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com> Signed-off-by: Don Hiatt <don.hiatt@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Este cometimento está contido em:

cometido por
Doug Ledford

ascendente
d295dbeb2a
cometimento
13c1922288
@@ -333,15 +333,6 @@ struct diag_pkt {
|
||||
|
||||
#define DEFAULT_P_KEY LIM_MGMT_P_KEY
|
||||
|
||||
/**
|
||||
* 0xF8 - 4 bits of multicast range and 1 bit for collective range
|
||||
* Example: For 24 bit LID space,
|
||||
* Multicast range: 0xF00000 to 0xF7FFFF
|
||||
* Collective range: 0xF80000 to 0xFFFFFE
|
||||
*/
|
||||
#define HFI1_MCAST_NR 0x4 /* Number of top bits set */
|
||||
#define HFI1_COLLECTIVE_NR 0x1 /* Number of bits after MCAST_NR */
|
||||
|
||||
#define HFI1_PSM_IOC_BASE_SEQ 0x0
|
||||
|
||||
static inline __u64 rhf_to_cpu(const __le32 *rbuf)
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador