Re: [dpdk-dev] [PATCH v5 18/29] app/testpmd: use VFD APIs on i40e

2016-12-20 Thread Vincent JARDIN
Le 19/12/2016 à 12:03, Ferruh Yigit a écrit : And it is always possible to move these into ethdev layer, when multiple PMDs supports same feature. I agree this is something that needs to keep an eye on it, and be sure if an API is generic, move it into eth_dev layer. you are right, you have a g

Re: [dpdk-dev] [PATCH v5 18/29] app/testpmd: use VFD APIs on i40e

2016-12-19 Thread Lu, Wenzhuo
Hi Ferruh, > -Original Message- > From: Yigit, Ferruh > Sent: Tuesday, December 20, 2016 1:10 AM > To: dev@dpdk.org > Cc: Wu, Jingjing; Zhang, Helin; Lu, Wenzhuo; Chen, Jing D; Iremonger, Bernard > Subject: Re: [PATCH v5 18/29] app/testpmd: use VFD APIs on i40e > > On 12/16/2016 7:02 PM,

Re: [dpdk-dev] [PATCH v5 18/29] app/testpmd: use VFD APIs on i40e

2016-12-19 Thread Ferruh Yigit
On 12/16/2016 7:02 PM, Ferruh Yigit wrote: > From: Wenzhuo Lu > > The new VF Daemon (VFD) APIs is implemented on i40e. Change > testpmd code to use them, including VF MAC anti-spoofing, > VF VLAN anti-spoofing, TX loopback, VF VLAN strip, VF VLAN > insert. > > Signed-off-by: Wenzhuo Lu > Signed

Re: [dpdk-dev] [PATCH v5 18/29] app/testpmd: use VFD APIs on i40e

2016-12-19 Thread Ferruh Yigit
On 12/16/2016 8:30 PM, Vincent JARDIN wrote: > Le 16/12/2016 à 20:02, Ferruh Yigit a écrit : >> +#ifdef RTE_LIBRTE_IXGBE_PMD >> "set all queues drop (port_id) (on|off)\n" >> "Set drop enable bit for all queues.\n\n" >> >> "set vf sp

Re: [dpdk-dev] [PATCH v5 18/29] app/testpmd: use VFD APIs on i40e

2016-12-16 Thread Vincent JARDIN
Le 16/12/2016 à 20:02, Ferruh Yigit a écrit : +#ifdef RTE_LIBRTE_IXGBE_PMD "set all queues drop (port_id) (on|off)\n" "Set drop enable bit for all queues.\n\n" "set vf split drop (port_id) (vf_id) (on|off)\n"

[dpdk-dev] [PATCH v5 18/29] app/testpmd: use VFD APIs on i40e

2016-12-16 Thread Ferruh Yigit
From: Wenzhuo Lu The new VF Daemon (VFD) APIs is implemented on i40e. Change testpmd code to use them, including VF MAC anti-spoofing, VF VLAN anti-spoofing, TX loopback, VF VLAN strip, VF VLAN insert. Signed-off-by: Wenzhuo Lu Signed-off-by: Chen Jing D(Mark) Signed-off-by: Bernard Iremonger