Update example app to use the new defines RTE_MAX_ETHPORT_TX_QUEUES
and RTE_MAX_ETHPORT_RX_QUEUES rather than the old define
RTE_MAX_QUEUES_PER_PORT.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Morten Brørup <mb@smartsharesystems.com>
---
examples/ipsec-secgw/ipsec-secgw.c | 2 +-
examples/ipsec-secgw/ipsec.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
@@ -1050,7 +1050,7 @@ parse_config(const char *q_arg)
uint32_t size;
uint32_t max_fld[_NUM_FLD] = {
RTE_MAX_ETHPORTS,
- RTE_MAX_QUEUES_PER_PORT,
+ RTE_MAX_ETHPORT_RX_QUEUES,
RTE_MAX_LCORE
};
@@ -584,7 +584,7 @@ create_inline_session(struct socket_ctx *skt_ctx, struct ipsec_sa *sa,
.rss_key_len = sizeof(rss_key),
};
struct rte_eth_dev_info dev_info;
- uint16_t queue[RTE_MAX_QUEUES_PER_PORT];
+ uint16_t queue[RTE_MAX_ETHPORT_RX_QUEUES];
struct rte_flow_action_rss action_rss;
unsigned int i;
unsigned int j;