git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/mlx5: fix meter policy flow match item
[dpdk.git]
/
drivers
/
net
/
bnxt
/
tf_ulp
/
ulp_rte_handler_tbl.c
diff --git
a/drivers/net/bnxt/tf_ulp/ulp_rte_handler_tbl.c
b/drivers/net/bnxt/tf_ulp/ulp_rte_handler_tbl.c
index
8054bac
..
35e9858
100644
(file)
--- a/
drivers/net/bnxt/tf_ulp/ulp_rte_handler_tbl.c
+++ b/
drivers/net/bnxt/tf_ulp/ulp_rte_handler_tbl.c
@@
-208,6
+208,10
@@
struct bnxt_ulp_rte_act_info ulp_act_info[] = {
[RTE_FLOW_ACTION_TYPE_DEC_TCP_ACK] = {
.act_type = BNXT_ULP_ACT_TYPE_NOT_SUPPORTED,
.proto_act_func = NULL
[RTE_FLOW_ACTION_TYPE_DEC_TCP_ACK] = {
.act_type = BNXT_ULP_ACT_TYPE_NOT_SUPPORTED,
.proto_act_func = NULL
+ },
+ [RTE_FLOW_ACTION_TYPE_SAMPLE] = {
+ .act_type = BNXT_ULP_ACT_TYPE_SUPPORTED,
+ .proto_act_func = ulp_rte_sample_act_handler
}
};
}
};
@@
-230,8
+234,8
@@
struct bnxt_ulp_rte_hdr_info ulp_hdr_info[] = {
.proto_hdr_func = NULL
},
[RTE_FLOW_ITEM_TYPE_ANY] = {
.proto_hdr_func = NULL
},
[RTE_FLOW_ITEM_TYPE_ANY] = {
- .hdr_type = BNXT_ULP_HDR_TYPE_
NOT_
SUPPORTED,
- .proto_hdr_func =
NULL
+ .hdr_type = BNXT_ULP_HDR_TYPE_SUPPORTED,
+ .proto_hdr_func =
ulp_rte_item_any_handler
},
[RTE_FLOW_ITEM_TYPE_PF] = {
.hdr_type = BNXT_ULP_HDR_TYPE_SUPPORTED,
},
[RTE_FLOW_ITEM_TYPE_PF] = {
.hdr_type = BNXT_ULP_HDR_TYPE_SUPPORTED,
@@
-270,8
+274,8
@@
struct bnxt_ulp_rte_hdr_info ulp_hdr_info[] = {
.proto_hdr_func = ulp_rte_ipv6_hdr_handler
},
[RTE_FLOW_ITEM_TYPE_ICMP] = {
.proto_hdr_func = ulp_rte_ipv6_hdr_handler
},
[RTE_FLOW_ITEM_TYPE_ICMP] = {
- .hdr_type = BNXT_ULP_HDR_TYPE_
NOT_
SUPPORTED,
- .proto_hdr_func =
NULL
+ .hdr_type = BNXT_ULP_HDR_TYPE_SUPPORTED,
+ .proto_hdr_func =
ulp_rte_icmp_hdr_handler
},
[RTE_FLOW_ITEM_TYPE_UDP] = {
.hdr_type = BNXT_ULP_HDR_TYPE_SUPPORTED,
},
[RTE_FLOW_ITEM_TYPE_UDP] = {
.hdr_type = BNXT_ULP_HDR_TYPE_SUPPORTED,
@@
-302,8
+306,8
@@
struct bnxt_ulp_rte_hdr_info ulp_hdr_info[] = {
.proto_hdr_func = NULL
},
[RTE_FLOW_ITEM_TYPE_GRE] = {
.proto_hdr_func = NULL
},
[RTE_FLOW_ITEM_TYPE_GRE] = {
- .hdr_type = BNXT_ULP_HDR_TYPE_
NOT_
SUPPORTED,
- .proto_hdr_func =
NULL
+ .hdr_type = BNXT_ULP_HDR_TYPE_SUPPORTED,
+ .proto_hdr_func =
ulp_rte_gre_hdr_handler
},
[RTE_FLOW_ITEM_TYPE_FUZZY] = {
.hdr_type = BNXT_ULP_HDR_TYPE_NOT_SUPPORTED,
},
[RTE_FLOW_ITEM_TYPE_FUZZY] = {
.hdr_type = BNXT_ULP_HDR_TYPE_NOT_SUPPORTED,
@@
-342,8
+346,8
@@
struct bnxt_ulp_rte_hdr_info ulp_hdr_info[] = {
.proto_hdr_func = NULL
},
[RTE_FLOW_ITEM_TYPE_ICMP6] = {
.proto_hdr_func = NULL
},
[RTE_FLOW_ITEM_TYPE_ICMP6] = {
- .hdr_type = BNXT_ULP_HDR_TYPE_
NOT_
SUPPORTED,
- .proto_hdr_func =
NULL
+ .hdr_type = BNXT_ULP_HDR_TYPE_SUPPORTED,
+ .proto_hdr_func =
ulp_rte_icmp6_hdr_handler
},
[RTE_FLOW_ITEM_TYPE_ICMP6_ND_NS] = {
.hdr_type = BNXT_ULP_HDR_TYPE_NOT_SUPPORTED,
},
[RTE_FLOW_ITEM_TYPE_ICMP6_ND_NS] = {
.hdr_type = BNXT_ULP_HDR_TYPE_NOT_SUPPORTED,