X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=examples%2Fipv4_multicast%2Fmain.c;fp=examples%2Fipv4_multicast%2Fmain.c;h=63333b5b695b783aeb45e89946e9934ee73e22c8;hb=0ecc27f28d202a3356a8601e6762b601ea822c4c;hp=464b54689148101e1ef3d781ab708edf6b145425;hpb=8835806ddced62767e4876ce0018c78ba693997d;p=dpdk.git diff --git a/examples/ipv4_multicast/main.c b/examples/ipv4_multicast/main.c index 464b546891..63333b5b69 100644 --- a/examples/ipv4_multicast/main.c +++ b/examples/ipv4_multicast/main.c @@ -783,7 +783,11 @@ main(int argc, char **argv) qconf->tx_queue_id[portid] = queueid; queueid++; } - rte_eth_allmulticast_enable(portid); + ret = rte_eth_allmulticast_enable(portid); + if (ret < 0) + rte_exit(EXIT_FAILURE, + "rte_eth_allmulticast_enable: err=%d, port=%d\n", + ret, portid); /* Start device */ ret = rte_eth_dev_start(portid); if (ret < 0)