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>
这个提交包含在:
@@ -44,6 +44,7 @@
|
||||
#include <linux/interrupt.h>
|
||||
#include <linux/log2.h>
|
||||
#include <linux/dma-mapping.h>
|
||||
#include <linux/if_ether.h>
|
||||
|
||||
#include <rdma/ib_verbs.h>
|
||||
#include <rdma/ib_user_verbs.h>
|
||||
@@ -2984,7 +2985,7 @@ static int ocrdma_parse_dcbxcfg_rsp(struct ocrdma_dev *dev, int ptype,
|
||||
OCRDMA_APP_PARAM_APP_PROTO_MASK;
|
||||
|
||||
if (
|
||||
valid && proto == OCRDMA_APP_PROTO_ROCE &&
|
||||
valid && proto == ETH_P_IBOE &&
|
||||
proto_sel == OCRDMA_PROTO_SELECT_L2) {
|
||||
for (slindx = 0; slindx <
|
||||
OCRDMA_MAX_SERVICE_LEVEL_INDEX; slindx++) {
|
||||
|
在新工单中引用
屏蔽一个用户