[dpdk-dev] [PATCH 1/5] ethdev: add multicast address filtering
Ivan Boule
ivan.boule at 6wind.com
Fri May 29 09:52:09 CEST 2015
On 05/28/2015 06:22 PM, Stephen Hemminger wrote:
> On Thu, 28 May 2015 17:05:19 +0200
> Ivan Boule <ivan.boule at 6wind.com> wrote:
>
>> + if (port_id >= nb_ports) {
>> + PMD_DEBUG_TRACE("Invalid port_id=%d\n", port_id);
>> + return -ENODEV;
>> + }
>> +
>
> Use rte_eth_dev_is_valid_port() function instead.
>
I missed that.
Thanks.
More information about the dev
mailing list