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: add profile validation on switch filter
[dpdk.git]
/
drivers
/
net
/
ice
/
base
/
ice_parser.c
diff --git
a/drivers/net/ice/base/ice_parser.c
b/drivers/net/ice/base/ice_parser.c
index
690004e
..
9b106ba
100644
(file)
--- a/
drivers/net/ice/base/ice_parser.c
+++ b/
drivers/net/ice/base/ice_parser.c
@@
-167,13
+167,11
@@
enum ice_status ice_parser_create(struct ice_hw *hw, struct ice_parser **psr)
struct ice_parser *p;
p = (struct ice_parser *)ice_malloc(hw, sizeof(struct ice_parser));
- p->hw = hw;
- p->rt.psr = p;
-
if (!p)
return ICE_ERR_NO_MEMORY;
p->hw = hw;
+ p->rt.psr = p;
p->imem_table = ice_imem_table_get(hw);
if (!p->imem_table) {