git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39de80b
)
net/ixgbe: fix zeroing of RSS config
author
Congwen Zhang
<zhang.congwen@zte.com.cn>
Thu, 8 Aug 2019 01:42:07 +0000
(09:42 +0800)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Fri, 25 Oct 2019 17:20:47 +0000
(19:20 +0200)
Correct the rss_conf type in sizeof.
Fixes:
518cc3927b13
("net/ixgbe: move RSS to flow API")
Cc: stable@dpdk.org
Signed-off-by: Congwen Zhang <zhang.congwen@zte.com.cn>
Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ixgbe/ixgbe_flow.c
patch
|
blob
|
history
diff --git
a/drivers/net/ixgbe/ixgbe_flow.c
b/drivers/net/ixgbe/ixgbe_flow.c
index
92377b8
..
b2a2bfc
100644
(file)
--- a/
drivers/net/ixgbe/ixgbe_flow.c
+++ b/
drivers/net/ixgbe/ixgbe_flow.c
@@
-2874,7
+2874,7
@@
ixgbe_parse_rss_filter(struct rte_eth_dev *dev,
/* check if the next not void item is END */
act = next_no_void_action(actions, act);
if (act->type != RTE_FLOW_ACTION_TYPE_END) {
- memset(rss_conf, 0, sizeof(struct
rte_eth
_rss_conf));
+ memset(rss_conf, 0, sizeof(struct
ixgbe_rte_flow
_rss_conf));
rte_flow_error_set(error, EINVAL,
RTE_FLOW_ERROR_TYPE_ACTION,
act, "Not supported action.");