[dpdk-dev] [PATCH v2] net/ice: code clean for queue interrupt config

2020-03-15 Thread Qi Zhang
The patch decouple the intr_handle from ice_vsi_queue_bind_intr which is shared by data Rx queue and fdir Rx queue's interrupt binding. Though there is no issue in current implemenation of ice_vsi_queue_bind_intr, but this rely on the assumption that the fdir setup (when bind interrrupt for fdir q

Re: [dpdk-dev] [PATCH 1/7] ethdev: add function to test port ownership

2020-03-15 Thread Matan Azrad
Hi Stephen From: Stephen Hemminger > Applications using a port mask need a method to be able to test for (and > reject) ethdev ports that are in use for other purposes. > There is already function which is thread safe to get this information: rte_eth_dev_owner_get. I don't think we need one mo

Re: [dpdk-dev] [PATCH 2/7] examples/l2fwd-cat: block attempts to use owned ports

2020-03-15 Thread Matan Azrad
Hi Stephen From: Stephen Hemminger I think the correct terminology here is (can be the title): Make the application be port ownership aware. Some applications may be ownership aware and others not. > If a ethdev port is in use for a sub device, then it should not be allowed in > the > portmask

Re: [dpdk-dev] [PATCH v4 1/7] eal: introduce portable format attribute

2020-03-15 Thread Thomas Monjalon
14/03/2020 00:38, Dmitry Kozlyuk: > > I suggest this change (I can send a patch fixing the issue in other .h > > files): > > > > +/* > > + * RTE_TOOLCHAIN_GCC is true if the target is built with GCC, > > + * while a host application (like pmdinfogen) may have another compiler. > > + * RTE_CC_IS_GN

[dpdk-dev] [PATCH v3] net/ice: code clean for queue interrupt config

2020-03-15 Thread Qi Zhang
The patch decouple the intr_handle from ice_vsi_queue_bind_intr which is shared by data Rx queue and fdir Rx queue's interrupt binding. Though there is no issue in current implemenation of ice_vsi_queue_bind_intr, but this rely on the assumption that the fdir setup (when bind interrrupt for fdir q

Re: [dpdk-dev] [RFC v6] regexdev: introduce regexdev subsystem

2020-03-15 Thread Ori Kam
Hi Xiang, > -Original Message- > From: Wang Xiang > Sent: Friday, March 13, 2020 3:20 AM > To: Ori Kam > Cc: jer...@marvell.com; dev@dpdk.org; pbhagavat...@marvell.com; Shahaf > Shuler ; hemant.agra...@nxp.com; Opher Reviv > ; Alex Rosenbaum ; > dov...@marvell.com; pkap...@marvell.com;

Re: [dpdk-dev] [PATCH] net/mlx5: fix validate set meta action for zero value

2020-03-15 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Wisam Monther > Sent: Thursday, March 12, 2020 11:25 AM > To: dev@dpdk.org; Raslan Darawsheh ; Matan > Azrad > Cc: Slava Ovsiienko ; sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix validate set meta action for zero value > > There is no reason to preven

Re: [dpdk-dev] Pushing feature patches to DPDK stable release

2020-03-15 Thread Kumar, Ravi1
[AMD Public Use] Hi Traynor, Thank you very much for the detailed explanation. It clears all our doubts. Regards, Ravi > >-Original Message- >From: Kevin Traynor >Sent: Friday, February 28, 2020 4:49 PM >To: Kumar, Ravi1 ; dev@dpdk.org >Cc: Giriyapura, Maheshwaramurthy ; >Somalapura

[dpdk-dev] [PATCH] net/i40e: enable dst MAC address as FDIR input set

2020-03-15 Thread Lunyuan Cui
FVL enable Destination MAC address as FDIR's input set for ipv4-other. When OVS-DPDK is working as a pure L2 switch, destination MAC match offload with Mark+RSS action would help the performance speed up. And FVL FDir supports to change input set to be destination MAC. Signed-off-by: Lunyuan Cui

Re: [dpdk-dev] [RFC v6] regexdev: introduce regexdev subsystem

2020-03-15 Thread Wang Xiang
On Sun, Mar 15, 2020 at 10:05:53AM +, Ori Kam wrote: Hi Ori, > Hi Xiang, > > > > -Original Message- > > From: Wang Xiang > > Sent: Friday, March 13, 2020 3:20 AM > > To: Ori Kam > > Cc: jer...@marvell.com; dev@dpdk.org; pbhagavat...@marvell.com; Shahaf > > Shuler ; hemant.agra...@n

Re: [dpdk-dev] [PATCH] net/iavf: unify Rx ptype table

2020-03-15 Thread Ye Xiaolong
On 03/12, Rong, Leyi wrote: > >> -Original Message- >> From: Wang, ShougangX >> Sent: Friday, March 6, 2020 10:24 AM >> To: dev@dpdk.org >> Cc: Rong, Leyi ; Wu, Jingjing ; >> Wang, ShougangX >> Subject: [PATCH] net/iavf: unify Rx ptype table >> >> From: Wang Shougang >> >> This patch u

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/i40e: fix X722 judgement when disable adminq operation

2020-03-15 Thread Li, Xiaoyun
> -Original Message- > From: Kevin Traynor [mailto:ktray...@redhat.com] > Sent: Saturday, March 14, 2020 03:16 > To: Li, Xiaoyun ; Zhike Wang ; > dev@dpdk.org > Cc: Xing, Beilei ; Zhang, Qi Z ; > sta...@dpdk.org > Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] net/i40e: fix X722 judgement

[dpdk-dev] Broadcom roadmap for DPDK 20.05

2020-03-15 Thread Ajit Khaparde
Sorry for the delay, the following is Broadcom's roadmap for DPDK 20.05: * Adding support for host-memory based flow tables management for high scalability * Introducing new rte_flow parser/mapper * Optimized control-plane firmware interface for flow insertions/deletions * Adding baseline support f

[dpdk-dev] [RFC] net/mlx5: memory optimization for flow

2020-03-15 Thread Suanming Mou
Once there are millions of flows be created, the memory consumption of one flow will become more sensitive. A byte memory means Mbytes consumption with millions of flows. In this case, to take care of every bytes the flow costed becomes more important. We are planning to save the memory consum

Re: [dpdk-dev] [PATCH v4 1/2] net/axgbe: support flow control API

2020-03-15 Thread Kumar, Ravi1
[AMD Public Use] For series, Acked-by: Ravi Kumar >From: Amaranath Somalapuram > >Adding api for flow_ctrl_get and flow_ctrl_set. >By default axgbe driver flow control is disabled. >Adding dpdk flow control to set water high and low. > >Signed-off-by: Amaranath Somalapuram >--- > drivers/net

Re: [dpdk-dev] [PATCH v2 6/7] net/ice: handle the PF initialization by DCF

2020-03-15 Thread Wang, Haiyue
> -Original Message- > From: Ye, Xiaolong > Sent: Friday, March 13, 2020 16:00 > To: Wang, Haiyue > Cc: dev@dpdk.org; Zhang, Qi Z ; Yang, Qiming > ; Xing, > Beilei ; Zhao1, Wei > Subject: Re: [PATCH v2 6/7] net/ice: handle the PF initialization by DCF > > On 03/10, Haiyue Wang wrote: >

Re: [dpdk-dev] [PATCH v2 7/7] net/ice: get the VF hardware index in DCF

2020-03-15 Thread Wang, Haiyue
> -Original Message- > From: Ye, Xiaolong > Sent: Friday, March 13, 2020 15:01 > To: Wang, Haiyue > Cc: dev@dpdk.org; Zhang, Qi Z ; Yang, Qiming > ; Xing, > Beilei ; Zhao1, Wei > Subject: Re: [PATCH v2 7/7] net/ice: get the VF hardware index in DCF > > On 03/10, Haiyue Wang wrote: > >T

[dpdk-dev] [PATCH v3 0/7] add Intel DCF PMD support

2020-03-15 Thread Haiyue Wang
A DCF (Device Config Function) based approach is proposed where a device bound to the device's VF0 can act as a sole controlling entity to exercise advance functionality (such as switch, ACL) for rest of the VFs. The DCF works as a standalone PMD to support this function, which shares the ice PMD

[dpdk-dev] [PATCH v3 2/7] net/ice: add the DCF hardware initialization

2020-03-15 Thread Haiyue Wang
Introduce the DCF (Device Config Function) feature in the ice PMD, it works as a standalone PMD which doesn't handle the packet Rx/Tx related things. Its hardware entity is the VF. Add the basic DCF hardware initialization, this is specified by devarg 'cap=dcf'. Signed-off-by: Haiyue Wang --- d

[dpdk-dev] [PATCH v3 1/7] net/iavf: stop the PCI probe in DCF mode

2020-03-15 Thread Haiyue Wang
A new DCF PMD will be introduced, which runs on Intel VF hardware, and it is a pure software design to control the advance functionality (such as switch, ACL) for rest of the VFs. So if the DCF (Device Config Function) mode is specified by the devarg 'cap=dcf', then it will stop the PCI probe in t

[dpdk-dev] [PATCH v3 6/7] net/ice: handle the PF initialization by DCF

2020-03-15 Thread Haiyue Wang
The DCF (Device Config Function) works at the user PF level, it can't access the real PF hardware directly. So it will pass through the PF's AdminQ command by the DCF's mailbox. And the DCF is mainly used to control the flow setting of other VFs, so it only needs to initialize some core functions

[dpdk-dev] [PATCH v3 5/7] net/ice: export the DDP definition symbols

2020-03-15 Thread Haiyue Wang
A new DCF PMD will be introduced, which runs on Intel VF hardware, and it is a pure software design to control the advance functionality (such as switch, ACL) for rest of the VFs. The DCF (Device Config Function) feature shares the core functions of the ICE PMD, like it needs to export the DDP def

[dpdk-dev] [PATCH v3 4/7] net/ice: handle the AdminQ command by DCF

2020-03-15 Thread Haiyue Wang
The DCF (Device Config Function) splits the AdminQ command into two parts: one is the descriptor of AdminQ command, the other is the buffer of AdminQ command (the descriptor has BUF flag set). When both of them are received by the PF, the PF will handle them as one command. And also, the filled de

[dpdk-dev] [PATCH v3 3/7] net/ice: acquire and disable the DCF capability

2020-03-15 Thread Haiyue Wang
Since the DCF (Device Config Function) controls the flow setting of other VFs by the mailbox with PF, for security, it needs to acquire the DCF capability from PF when starts, and disable it when exits. Signed-off-by: Haiyue Wang --- drivers/net/ice/ice_dcf.c | 27 ++- 1

[dpdk-dev] [PATCH v3 7/7] net/ice: get the VF hardware index in DCF

2020-03-15 Thread Haiyue Wang
The DCF (Device Config Function) needs the hardware index of the VFs to control the flow setting. And also if the VF resets, the index may be changed, so it should handle this in VF reset event. Signed-off-by: Haiyue Wang --- drivers/net/ice/ice_dcf.c| 87 +++-

[dpdk-dev] [PATCH] net/ipn3ke: use ctrl thread to check link status

2020-03-15 Thread Andy Pei
ipn3ke driver creates a thread to check link status. before this patch, pthread_create() is used to create thread, leaving the new thread unrestrained wrt cpu affinity. After this patch, rte_ctrl_thread_create() is used to create thread. The affinity of the new thread is based on the CPU affinity

Re: [dpdk-dev] [PATCH v1 1/5] net/fm10k: add basic functions for switch management

2020-03-15 Thread Wang, Xiao W
Hi Xiaojun, Comments inline. Best Regards, Xiao > -Original Message- > From: Xiaojun Liu > Sent: Friday, February 28, 2020 4:38 PM > To: Wang, Xiao W ; Zhang, Qi Z > ; Kwan, Ngai-mint ; Keller, > Jacob E > Cc: dev@dpdk.org; Xiaojun Liu > Subject: [PATCH v1 1/5] net/fm10k: add basic fu

Re: [dpdk-dev] [PATCH v1 2/5] net/fm10k: add epl serdes and port control functions

2020-03-15 Thread Wang, Xiao W
Hi Xiaojun, Comments inline. Best Regards, Xiao > -Original Message- > From: Xiaojun Liu > Sent: Friday, February 28, 2020 4:38 PM > To: Wang, Xiao W ; Zhang, Qi Z > ; Kwan, Ngai-mint ; Keller, > Jacob E > Cc: dev@dpdk.org; Xiaojun Liu > Subject: [PATCH v1 2/5] net/fm10k: add epl serd