summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/qedr/qedr_cm.c
diff options
context:
space:
mode:
authorSelvin Xavier <selvin.xavier@broadcom.com>2016-12-19 11:28:46 -0800
committerDoug Ledford <dledford@redhat.com>2017-01-10 14:05:11 -0500
commit69ae543969abeba48e04dd93277684c8c0895f3b (patch)
treea05b45335504b0799bb3473c579263cbbb5d005b /drivers/infiniband/hw/qedr/qedr_cm.c
parentfa83b7936e9799d9cd96a26fbcba22d2baa7ae11 (diff)
downloadlinux-69ae543969abeba48e04dd93277684c8c0895f3b.tar.bz2
RDMA: Adding ethertype ETH_P_IBOE
Update the if_ether.h with the ethertype for Infiniband over Ethernet packets. Also, removing the occurances of 0x8915 from infiniband vendor drivers. Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/qedr/qedr_cm.c')
-rw-r--r--drivers/infiniband/hw/qedr/qedr_cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/qedr/qedr_cm.c b/drivers/infiniband/hw/qedr/qedr_cm.c
index 63890ebb72bd..c6aee0333f30 100644
--- a/drivers/infiniband/hw/qedr/qedr_cm.c
+++ b/drivers/infiniband/hw/qedr/qedr_cm.c
@@ -293,7 +293,7 @@ static inline int qedr_gsi_build_header(struct qedr_dev *dev,
has_udp = (sgid_attr.gid_type == IB_GID_TYPE_ROCE_UDP_ENCAP);
if (!has_udp) {
/* RoCE v1 */
- ether_type = ETH_P_ROCE;
+ ether_type = ETH_P_IBOE;
*roce_mode = ROCE_V1;
} else if (ipv6_addr_v4mapped((struct in6_addr *)&sgid)) {
/* RoCE v2 IPv4 */