struct rte_eth_conf port_conf = {
.rxmode = {
.mq_mode = ETH_MQ_RX_RSS,
- .max_rx_pkt_len = ETHER_MAX_LEN,
+ .max_rx_pkt_len = RTE_ETHER_MAX_LEN,
},
.rx_adv_conf = {
.rss_conf = {
pipeline_event_tx_adapter_setup(struct evt_options *opt,
struct rte_event_port_conf port_conf)
{
- int ret;
+ int ret = 0;
uint16_t consm;
RTE_ETH_FOREACH_DEV(consm) {
{
RTE_SET_USED(test);
+ rte_event_dev_stop(opt->dev_id);
rte_event_dev_close(opt->dev_id);
}