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 memory allocation wrapper
[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
f429bfb
..
b3cea73
100644
(file)
--- a/
drivers/net/ice/base/ice_flex_pipe.c
+++ b/
drivers/net/ice/base/ice_flex_pipe.c
@@
-357,7
+357,6
@@
ice_marker_ptype_tcam_handler(u32 sect_type, void *section, u32 index,
if (sect_type != ICE_SID_RXPARSER_MARKER_PTYPE)
return NULL;
if (sect_type != ICE_SID_RXPARSER_MARKER_PTYPE)
return NULL;
- /* cppcheck-suppress nullPointer */
if (index > ICE_MAX_MARKER_PTYPE_TCAMS_IN_BUF)
return NULL;
if (index > ICE_MAX_MARKER_PTYPE_TCAMS_IN_BUF)
return NULL;
@@
-1243,7
+1242,7
@@
ice_download_pkg(struct ice_hw *hw, struct ice_seg *ice_seg)
status = ice_dwnld_cfg_bufs(hw, ice_buf_tbl->buf_array,
LE32_TO_CPU(ice_buf_tbl->buf_count));
status = ice_dwnld_cfg_bufs(hw, ice_buf_tbl->buf_array,
LE32_TO_CPU(ice_buf_tbl->buf_count));
- ice_
cache_vlan_mode
(hw);
+ ice_
post_pkg_dwnld_vlan_mode_cfg
(hw);
return status;
}
return status;
}