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/ice/base: fix packet type size
[dpdk.git]
/
drivers
/
net
/
ice
/
base
/
ice_flex_pipe.c
diff --git
a/drivers/net/ice/base/ice_flex_pipe.c
b/drivers/net/ice/base/ice_flex_pipe.c
index
c1f23ec
..
147fa4d
100644
(file)
--- a/
drivers/net/ice/base/ice_flex_pipe.c
+++ b/
drivers/net/ice/base/ice_flex_pipe.c
@@
-4376,7
+4376,8
@@
ice_add_prof_to_lst(struct ice_hw *hw, enum ice_block blk,
p->tcam[i].prof_id = map->prof_id;
p->tcam[i].tcam_idx = ICE_INVALID_TCAM;
- ice_ptg_find_ptype(hw, blk, map->ptype[i], &ptg);
+ if (ice_ptg_find_ptype(hw, blk, map->ptype[i], &ptg))
+ return ICE_ERR_CFG;
p->tcam[i].ptg = ptg;
}