|
@@ -1051,8 +1051,10 @@ static int bnxt_tc_get_decap_handle(struct bnxt *bp, struct bnxt_tc_flow *flow,
|
|
|
|
|
|
/* Check if there's another flow using the same tunnel decap.
|
|
/* Check if there's another flow using the same tunnel decap.
|
|
* If not, add this tunnel to the table and resolve the other
|
|
* If not, add this tunnel to the table and resolve the other
|
|
- * tunnel header fileds
|
|
|
|
|
|
+ * tunnel header fileds. Ignore src_port in the tunnel_key,
|
|
|
|
+ * since it is not required for decap filters.
|
|
*/
|
|
*/
|
|
|
|
+ decap_key->tp_src = 0;
|
|
decap_node = bnxt_tc_get_tunnel_node(bp, &tc_info->decap_table,
|
|
decap_node = bnxt_tc_get_tunnel_node(bp, &tc_info->decap_table,
|
|
&tc_info->decap_ht_params,
|
|
&tc_info->decap_ht_params,
|
|
decap_key);
|
|
decap_key);
|