diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2020-10-01 20:11:31 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-10-03 02:22:49 +0300 |
commit | 72d5e8504e3b2b83a94403b0bbe3070b70538bb9 (patch) | |
tree | f71c12b2f5f02380f83ebafcb00f5178ebc55b78 /drivers/s390/net/qeth_core.h | |
parent | bb5ab541942eaee4c5e175a4667df38cfc7da371 (diff) | |
download | linux-72d5e8504e3b2b83a94403b0bbe3070b70538bb9.tar.xz |
s390/qeth: de-magic the QIB parm area
Use a proper struct, and only program the QIB extensions for devices
where they are supported.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/qeth_core.h')
-rw-r--r-- | drivers/s390/net/qeth_core.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth_core.h b/drivers/s390/net/qeth_core.h index f1c9a694873e..1e1e7104dade 100644 --- a/drivers/s390/net/qeth_core.h +++ b/drivers/s390/net/qeth_core.h @@ -278,6 +278,17 @@ struct qeth_hdr { } hdr; } __attribute__ ((packed)); +struct qeth_qib_parms { + char pcit_magic[4]; + u32 pcit_a; + u32 pcit_b; + u32 pcit_c; + char blkt_magic[4]; + u32 blkt_total; + u32 blkt_inter_packet; + u32 blkt_inter_packet_jumbo; +}; + /*TCP Segmentation Offload header*/ struct qeth_hdr_ext_tso { __u16 hdr_tot_len; |