mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 04:34:03 +02:00
net: ionic: Fetch RCQ sign bit from firmware
Read the rcq_sign_bit from the RDMA LIF identity reported by firmware. Signed-off-by: Abhijit Gangurde <abhijit.gangurde@amd.com>
This commit is contained in:
parent
8d3ae59288
commit
bb23acfd05
|
|
@ -555,6 +555,8 @@ enum ionic_lif_rdma_cap_stats {
|
|||
* @rdma.eq_qtype: RDMA Event Qtype
|
||||
* @rdma.stats_type: Supported statistics type
|
||||
* (enum ionic_lif_rdma_cap_stats)
|
||||
* @rdma.rsvd: Reserved byte
|
||||
* @rdma.rcq_sign_bit: RCQ sign bit
|
||||
* @rdma.rsvd1: Reserved byte(s)
|
||||
* @words: word access to struct contents
|
||||
*/
|
||||
|
|
@ -600,7 +602,9 @@ union ionic_lif_identity {
|
|||
struct ionic_lif_logical_qtype cq_qtype;
|
||||
struct ionic_lif_logical_qtype eq_qtype;
|
||||
__le16 stats_type;
|
||||
u8 rsvd1[162];
|
||||
u8 rsvd;
|
||||
u8 rcq_sign_bit;
|
||||
u8 rsvd1[160];
|
||||
} __packed rdma;
|
||||
} __packed;
|
||||
__le32 words[478];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user