]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/ixgbe/ixgbe_flow.c
net/ixgbe: fix zeroing of RSS config
[dpdk.git] / drivers / net / ixgbe / ixgbe_flow.c
index 92377b81cb64dfe745bdedd6a573ceb38db6f239..b2a2bfc02fb346d2e17565e95cb0d4a76727dd9f 100644 (file)
@@ -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.");