|
@@ -44,6 +44,7 @@
|
|
#include <linux/interrupt.h>
|
|
#include <linux/interrupt.h>
|
|
#include <linux/log2.h>
|
|
#include <linux/log2.h>
|
|
#include <linux/dma-mapping.h>
|
|
#include <linux/dma-mapping.h>
|
|
|
|
+#include <linux/if_ether.h>
|
|
|
|
|
|
#include <rdma/ib_verbs.h>
|
|
#include <rdma/ib_verbs.h>
|
|
#include <rdma/ib_user_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;
|
|
OCRDMA_APP_PARAM_APP_PROTO_MASK;
|
|
|
|
|
|
if (
|
|
if (
|
|
- valid && proto == OCRDMA_APP_PROTO_ROCE &&
|
|
|
|
|
|
+ valid && proto == ETH_P_IBOE &&
|
|
proto_sel == OCRDMA_PROTO_SELECT_L2) {
|
|
proto_sel == OCRDMA_PROTO_SELECT_L2) {
|
|
for (slindx = 0; slindx <
|
|
for (slindx = 0; slindx <
|
|
OCRDMA_MAX_SERVICE_LEVEL_INDEX; slindx++) {
|
|
OCRDMA_MAX_SERVICE_LEVEL_INDEX; slindx++) {
|