From: Michal Kalderon Date: Wed, 5 Sep 2018 09:23:23 +0000 (+0300) Subject: Backport PCI Register definition X-Git-Tag: vofed-4.17-rc1~3 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=a50e4284816f2493b7ff091f2c14ff322362319c;p=compat-rdma%2Fcompat.git Backport PCI Register definition Added as part of the patch f92faaba11d862ad9 ("RDMA/qedr: properly check atomic capabilities") required for RHEL7.4 Signed-off-by: Michal Kalderon --- diff --git a/include/linux/compat-4.9.h b/include/linux/compat-4.9.h index 53f5653..bab45c5 100644 --- a/include/linux/compat-4.9.h +++ b/include/linux/compat-4.9.h @@ -19,6 +19,10 @@ #define PCI_EXP_DEVCTL2_ATOMIC_REQ (1 << 6) #endif +#ifndef PCI_EXP_DEVCTL2_ATOMIC_EGRESS_BLOCK +#define PCI_EXP_DEVCTL2_ATOMIC_EGRESS_BLOCK (1 << 7) +#endif + #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(4,9,0)) */ #endif /* LINUX_4_9_COMPAT_H */