Re: [dpdk-dev] [PATCH v1] examples/l2fwd: add check for promiscuous no support

2020-04-24 Thread David Marchand
On Wed, Feb 26, 2020 at 2:46 PM Ye Xiaolong wrote: > On 02/26, David Marchand wrote: > >On Wed, Feb 26, 2020 at 10:15 AM Sivaprasad Tummala > > wrote: > >> > >> l2fwd application exits, if return for rte_eth_promiscuous_enable > >> is not success. But for vHost PMD, promiscuous enable returns "Not

Re: [dpdk-dev] [PATCH v1] examples/l2fwd: add check for promiscuous no support

2020-02-26 Thread Ye Xiaolong
Hi, David On 02/26, David Marchand wrote: >On Wed, Feb 26, 2020 at 10:15 AM Sivaprasad Tummala > wrote: >> >> l2fwd application exits, if return for rte_eth_promiscuous_enable >> is not success. But for vHost PMD, promiscuous enable returns "Not >> Supported". > >Could the vhost pmd announce that

Re: [dpdk-dev] [PATCH v1] examples/l2fwd: add check for promiscuous no support

2020-02-26 Thread David Marchand
On Wed, Feb 26, 2020 at 10:15 AM Sivaprasad Tummala wrote: > > l2fwd application exits, if return for rte_eth_promiscuous_enable > is not success. But for vHost PMD, promiscuous enable returns "Not > Supported". Could the vhost pmd announce that it is already in promiscuous mode? Like in f1652103

[dpdk-dev] [PATCH v1] examples/l2fwd: add check for promiscuous no support

2020-02-26 Thread Sivaprasad Tummala
l2fwd application exits, if return for rte_eth_promiscuous_enable is not success. But for vHost PMD, promiscuous enable returns "Not Supported". This patch validates success and no support of promiscuous enable. Signed-off-by: Sivaprasad Tummala --- examples/l2fwd/main.c | 2 +- 1 file changed,