[dpdk-dev] [PATCH v2 1/1] net/e1000: igbvf VLAN offload implementation

2021-09-15 Thread Renata Saiakhova
igbvf_vlan_offload_config and igbvf_vlan_offload_set primal implementation, setting vlan filter mask at igbvf_dev_start time. Without the above a vlan filter for igbvf is not functional. Signed-off-by: Renata Saiakhova --- drivers/net/e1000/igb_ethdev.c | 28 1 file

[dpdk-dev] [PATCH v2 0/1] net/e1000: igbvf VLAN offload implementation

2021-09-15 Thread Renata Saiakhova
rte_eth_dev_vlan_filter() implementation and check for DEV_RX_OFFLOAD_VLAN_FILTER bit in dev_conf.rxmode.offloads at the beginning. v2: * Subject line reworded Renata Saiakhova (1): net/e1000: igbvf VLAN offload implementation drivers/net/e1000/igb_ethdev.c | 28 1 file

[dpdk-dev] [PATCH 1/1] drivers/net/e1000: igbvf_vlan_offload_config and igbvf_vlan_offload_set implementation

2021-08-02 Thread Renata Saiakhova
igbvf_vlan_offload_config and igbvf_vlan_offload_set primal implementation, setting vlan filter mask at igbvf_dev_start time. Without the above a vlan filter for igbvf is not functional. Signed-off-by: Renata Saiakhova --- drivers/net/e1000/igb_ethdev.c | 28 1 file

[dpdk-dev] [PATCH 0/1] drivers/net/e1000: igbvf_vlan_offload_config and igbvf_vlan_offload_set implementation

2021-08-02 Thread Renata Saiakhova
rte_eth_dev_vlan_filter() implementation and check for DEV_RX_OFFLOAD_VLAN_FILTER bit in dev_conf.rxmode.offloads at the beginning. Renata Saiakhova (1): drivers/net/e1000: igbvf_vlan_offload_config and igbvf_vlan_offload_set implementation drivers/net/e1000/igb_ethdev.c | 28

[dpdk-dev] [PATCH v5 1/1] eal/interrupts: add synchronous wrapper around unregister

2021-04-06 Thread Renata Saiakhova
Avoid race with unregister interrupt handler if interrupt source has some active callbacks at the moment, use wrapper around rte_intr_callback_unregister() to check for -EAGAIN return value and to loop until rte_intr_callback_unregister() succeeds. Signed-off-by: Renata Saiakhova Acked-by

[dpdk-dev] [PATCH v5 0/1] eal/interrupts: add synchronous wrapper around unregister

2021-04-06 Thread Renata Saiakhova
d bus for device (XX:XX.X)" v5: Re-spin with windows update and 21.05 edition v4: * Typo spelling in commit message v3: * Subject line reworded v2: * Use only for pci-vfio in pci_vfio_disable_notifier() Renata Saiakhova (1): eal/interrupts: add synchronous wrapper around unregister drive

[dpdk-dev] [PATCH v4 1/1] eal/interrupts: add synchronous wrapper around unregister

2021-02-18 Thread Renata Saiakhova
Avoid race with unregister interrupt handler if interrupt source has some active callbacks at the moment, use wrapper around rte_intr_callback_unregister() to check for -EAGAIN return value and to loop until rte_intr_callback_unregister() succeeds. Signed-off-by: Renata Saiakhova Acked-by

[dpdk-dev] [PATCH v4 0/1] eal/interrupts: add synchronous wrapper around unregister

2021-02-18 Thread Renata Saiakhova
d bus for device (XX:XX.X)" v4: * Typo spelling in commit message v3: * Subject line reworded v2: * Use only for pci-vfio in pci_vfio_disable_notifier() Renata Saiakhova (1): eal/interrupts: add synchronous wrapper around unregister drivers/bus/pci/linux/pci_vfio.c| 2 +- lib/

[dpdk-dev] [PATCH v3 1/1] eal/interrupts: add synchronous wrapper around unregister

2021-02-18 Thread Renata Saiakhova
Avoid race with unregister interrupt hanlder if interrupt source has some active callbacks at the moment, use wrapper around rte_intr_callback_unregister() to check for -EAGAIN return value and to loop until rte_intr_callback_unregister() succeeds. Signed-off-by: Renata Saiakhova Acked-by

[dpdk-dev] [PATCH v3 0/1] eal/interrupts: add synchronous wrapper around unregister

2021-02-18 Thread Renata Saiakhova
d bus for device (XX:XX.X)" v3: * Subject line reworded v2: * Use only for pci-vfio in pci_vfio_disable_notifier() Renata Saiakhova (1): eal/interrupts: add synchronous wrapper around unregister drivers/bus/pci/linux/pci_vfio.c| 2 +- lib/librte_eal/freebsd/eal_interru

Re: [dpdk-dev] [EXT] [PATCH v2 1/1] librte_eal: rte_intr_callback_unregister_sync() - wrapper around rte_intr_callback_unregister().

2020-11-30 Thread Renata Saiakhova
n Kalra Sent: Wednesday, October 28, 2020 9:36 PM To: Renata Saiakhova Cc: Anatoly Burakov ; Bruce Richardson ; Ray Kinsella ; Neil Horman ; dev@dpdk.org Subject: Re: [EXT] [PATCH v2 1/1] librte_eal: rte_intr_callback_unregister_sync() - wrapper around rte_intr_callback_unregister(). On Mon,

[dpdk-dev] [PATCH v2 0/1] pci_vfio_disable_notifier(): avoid race with unregister

2020-08-17 Thread Renata Saiakhova
d bus for device (XX:XX.X)" v1->v2: Use only for pci-vfio in pci_vfio_disable_notifier() Renata Saiakhova (1): librte_eal: rte_intr_callback_unregister_sync() - wrapper around rte_intr_callback_unregister(). drivers/bus/pci/linux/pci_vfio.c| 2 +- lib/librte_eal/freebsd/eal

[dpdk-dev] [PATCH v2 1/1] librte_eal: rte_intr_callback_unregister_sync() - wrapper around rte_intr_callback_unregister().

2020-08-17 Thread Renata Saiakhova
Avoid race with unregister interrupt hanlder if interrupt source has some active callbacks at the moment, use wrapper around rte_intr_callback_unregister() to check for -EAGAIN return value and to loop until rte_intr_callback_unregister() succeeds. Signed-off-by: Renata Saiakhova --- drivers

[dpdk-dev] [PATCH 0/1] Avoid race with unregister interrupt hanlder if interrupt

2020-07-24 Thread Renata Saiakhova
d bus for device (XX:XX.X)" Renata Saiakhova (1): librte_eal: wrapper around rte_intr_callback_unregister(). lib/librte_eal/freebsd/eal_interrupts.c | 16 ++-- lib/librte_eal/linux/eal_interrupts.c | 16 ++-- 2 files changed, 28 insertions(+), 4 deletions(-) -- 2.17.2

[dpdk-dev] [PATCH 1/1] librte_eal: wrapper around rte_intr_callback_unregister().

2020-07-24 Thread Renata Saiakhova
Avoid race with unregister interrupt hanlder if interrupt source has some active callbacks at the moment, use wrapper around rte_intr_callback_unregister() to check for -EAGAIN return value. Signed-off-by: Renata Saiakhova --- lib/librte_eal/freebsd/eal_interrupts.c | 16 ++-- lib

[dpdk-dev] [PATCH v5 4/4] drivers/net: fix in em and ice HW rings memory overlap

2020-06-23 Thread Renata Saiakhova
Delete memzones for HW rings in em and ice while freeing queues Signed-off-by: Renata Saiakhova --- drivers/net/e1000/em_rxtx.c | 2 ++ drivers/net/ice/ice_rxtx.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/net/e1000/em_rxtx.c b/drivers/net/e1000/em_rxtx.c index 49c53712a

[dpdk-dev] [PATCH v5 3/4] drivers/net: fix in i40e HW rings memory overlap

2020-06-23 Thread Renata Saiakhova
Delete memzones for HW rings in i40e while freeing queues Signed-off-by: Renata Saiakhova --- drivers/net/i40e/i40e_fdir.c | 3 +++ drivers/net/i40e/i40e_rxtx.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/drivers/net/i40e/i40e_fdir.c b/drivers/net/i40e/i40e_fdir.c index d59399afe

[dpdk-dev] [PATCH v5 1/4] ethdev: add function to release HW rings

2020-06-23 Thread Renata Saiakhova
Free previously allocated memzone for HW rings Signed-off-by: Renata Saiakhova --- lib/librte_ethdev/rte_ethdev.c | 30 ++-- lib/librte_ethdev/rte_ethdev_driver.h| 17 ++ lib/librte_ethdev/rte_ethdev_version.map | 7 ++ 3 files changed, 52

[dpdk-dev] [PATCH v5 0/4] Memory corruption due to HW rings allocation

2020-06-23 Thread Renata Saiakhova
by calling rte_eth_dma_zone_free(). v2->v3: Remove #undef ETH_DMA_MZONE_NAME and minor changes in code standard. v1->v2: Minor changes on code standard and additional fixes in i40e em and ice drivers. Renata Saiakhova (4): ethdev: add function to release HW rings drivers/net: fix

[dpdk-dev] [PATCH v5 2/4] drivers/net: fix in igb and ixgbe HW rings memory

2020-06-23 Thread Renata Saiakhova
Delete memzones for HW rings in igb and ixgbe while freeing queues Signed-off-by: Renata Saiakhova --- drivers/net/e1000/igb_rxtx.c | 2 ++ drivers/net/ixgbe/ixgbe_rxtx.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/net/e1000/igb_rxtx.c b/drivers/net/e1000/igb_rxtx.c index

Re: [dpdk-dev] [PATCH v4 1/4] librte_ethdev: Introduce a function to release HW rings

2020-06-23 Thread Renata Saiakhova
2: error: ld returned 1 exit status What could be an issue, is that I need to correct the version somewhere? KR, Renata ________ From: Ferruh Yigit Sent: Monday, June 22, 2020 7:09 PM To: Renata Saiakhova ; dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v4 1/4] librte_ethdev

Re: [dpdk-dev] [PATCH v3 0/4] Memory corruption due to HW rings allocation

2020-06-22 Thread Renata Saiakhova
Hi Ferruh, I've just send a new corrected version of the patchset, which takes into account the comments of Wie and Jeff, hope it is OK now. Kind regards and thank you, Renata On 06/19/2020 06:54 PM, Ferruh Yigit wrote: On 5/18/2020 10:48 AM, Renata Saiakhova wrote: Hi Ferruh, t

[dpdk-dev] [PATCH v4 4/4] drivers/net: Fix in em and ice HW rings memory overlap

2020-06-22 Thread Renata Saiakhova
Delete memzones for HW rings in em and ice while freeing queues Signed-off-by: Renata Saiakhova --- drivers/net/e1000/em_rxtx.c | 2 ++ drivers/net/ice/ice_rxtx.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/net/e1000/em_rxtx.c b/drivers/net/e1000/em_rxtx.c index 49c53712a

[dpdk-dev] [PATCH v4 0/4] Memory corruption due to HW rings allocation

2020-06-22 Thread Renata Saiakhova
ges in code standard. v1->v2: Minor changes on code standard and additional fixes in i40e em and ice drivers. Renata Saiakhova (4): librte_ethdev: Introduce a function to release HW rings drivers/net: Fix in igb and ixgbe HW rings memory drivers/net: Fix in i40e HW rings memory overlap drive

[dpdk-dev] [PATCH v4 3/4] drivers/net: Fix in i40e HW rings memory overlap

2020-06-22 Thread Renata Saiakhova
Delete memzones for HW rings in i40e while freeing queues Signed-off-by: Renata Saiakhova --- drivers/net/i40e/i40e_fdir.c | 3 +++ drivers/net/i40e/i40e_rxtx.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/drivers/net/i40e/i40e_fdir.c b/drivers/net/i40e/i40e_fdir.c index d59399afe

[dpdk-dev] [PATCH v4 2/4] drivers/net: Fix in igb and ixgbe HW rings memory

2020-06-22 Thread Renata Saiakhova
Delete memzones for HW rings in igb and ixgbe while freeing queues Signed-off-by: Renata Saiakhova --- drivers/net/e1000/igb_rxtx.c | 2 ++ drivers/net/ixgbe/ixgbe_rxtx.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/net/e1000/igb_rxtx.c b/drivers/net/e1000/igb_rxtx.c index

[dpdk-dev] [PATCH v4 1/4] librte_ethdev: Introduce a function to release HW rings

2020-06-22 Thread Renata Saiakhova
Free previously allocated memzone for HW rings Signed-off-by: Renata Saiakhova --- lib/librte_ethdev/rte_ethdev.c | 30 ++-- lib/librte_ethdev/rte_ethdev_driver.h| 20 lib/librte_ethdev/rte_ethdev_version.map | 1 + 3 files changed, 49

Re: [dpdk-dev] [PATCH v3 0/4] Memory corruption due to HW rings allocation

2020-05-18 Thread Renata Saiakhova
ged in all the drivers). But anyway, I think the real problem is more an absence of memzone pointer, and in long term it should be solved in this way, rather than search by name. Kind regards, Renata From: Ferruh Yigit Sent: Wednesday, May 13, 2020 5:22 PM To: Renat

[dpdk-dev] [PATCH v3 2/4] drivers/net: Fix in igb and ixgbe HW rings memory

2020-05-13 Thread Renata Saiakhova
Delete memzones for HW rings in igb and ixgbe while freeing queues Signed-off-by: Renata Saiakhova --- drivers/net/e1000/igb_rxtx.c | 2 ++ drivers/net/ixgbe/ixgbe_rxtx.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/net/e1000/igb_rxtx.c b/drivers/net/e1000/igb_rxtx.c index

[dpdk-dev] [PATCH v3 3/4] drivers/net: Fix in i40e HW rings memory overlap

2020-05-13 Thread Renata Saiakhova
Delete memzones for HW rings in i40e while freeing queues Signed-off-by: Renata Saiakhova --- drivers/net/i40e/i40e_rxtx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i40e/i40e_rxtx.c index 5e7c86ed8..99cec9b99 100644 --- a/drivers/net/i40e

[dpdk-dev] [PATCH v3 4/4] drivers/net: Fix in em and ice HW rings memory overlap

2020-05-13 Thread Renata Saiakhova
Delete memzones for HW rings in em and ice while freeing queues Signed-off-by: Renata Saiakhova --- drivers/net/e1000/em_rxtx.c | 2 ++ drivers/net/ice/ice_rxtx.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/net/e1000/em_rxtx.c b/drivers/net/e1000/em_rxtx.c index 49c53712a

[dpdk-dev] [PATCH v3 0/4] Memory corruption due to HW rings allocation

2020-05-13 Thread Renata Saiakhova
from switching from igb to ixgbe having the same port id. v2->v3: Remove #undef ETH_DMA_MZONE_NAME and minor changes in code standard v1->v2: Minor changes on code standard and additional fixes in i40e em and ice drivers Renata Saiakhova (4): librte_ethdev: Introduce a function to relea

[dpdk-dev] [PATCH v3 1/4] librte_ethdev: Introduce a function to release HW rings

2020-05-13 Thread Renata Saiakhova
Free previously allocated memzone for HW rings Signed-off-by: Renata Saiakhova --- lib/librte_ethdev/rte_ethdev.c | 28 ++-- lib/librte_ethdev/rte_ethdev_driver.h| 20 + lib/librte_ethdev/rte_ethdev_version.map | 1 + 3 files changed, 47

[dpdk-dev] [PATCH v2 3/4] drivers/net: Fix in i40e HW rings memory overlap

2020-05-13 Thread Renata Saiakhova
Delete memzones for HW rings in i40e while freeing queues Signed-off-by: Renata Saiakhova --- drivers/net/i40e/i40e_rxtx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i40e/i40e_rxtx.c index 5e7c86ed8..99cec9b99 100644 --- a/drivers/net/i40e

[dpdk-dev] [PATCH v2 1/4] librte_ethdev: Introduce a function to release HW rings

2020-05-13 Thread Renata Saiakhova
Free previously allocated memzone for HW rings Signed-off-by: Renata Saiakhova --- lib/librte_ethdev/rte_ethdev.c | 30 ++-- lib/librte_ethdev/rte_ethdev_driver.h| 19 +++ lib/librte_ethdev/rte_ethdev_version.map | 1 + 3 files changed, 48

[dpdk-dev] [PATCH v2 4/4] drivers/net: Fix in em and ice HW rings memory overlap

2020-05-13 Thread Renata Saiakhova
Delete memzones for HW rings in em and ice while freeing queues Signed-off-by: Renata Saiakhova --- drivers/net/e1000/em_rxtx.c | 2 ++ drivers/net/ice/ice_rxtx.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/net/e1000/em_rxtx.c b/drivers/net/e1000/em_rxtx.c index 49c53712a

[dpdk-dev] [PATCH v2 0/4] Memory corruption due to HW rings allocation

2020-05-13 Thread Renata Saiakhova
from switching from igb to ixgbe having the same port id. Renata Saiakhova (4): librte_ethdev: Introduce a function to release HW rings drivers/net: Fix in igb and ixgbe HW rings memory drivers/net: Fix in i40e HW rings memory overlap drivers/net: Fix in em and ice HW rings memory overlap dr

[dpdk-dev] [PATCH v2 2/4] drivers/net: Fix in igb and ixgbe HW rings memory

2020-05-13 Thread Renata Saiakhova
Delete memzones for HW rings in igb and ixgbe while freeing queues Signed-off-by: Renata Saiakhova --- drivers/net/e1000/igb_rxtx.c | 2 ++ drivers/net/ixgbe/ixgbe_rxtx.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/net/e1000/igb_rxtx.c b/drivers/net/e1000/igb_rxtx.c index

Re: [dpdk-dev] [PATCH 1/2] librte_ethdev: Introduce a function to release HW rings

2020-05-06 Thread Renata Saiakhova
turb the original code of rte_eth_dma_zone_reserve() ? Just a question. Kind regards, Renata From: Lukasz Wojciechowski Sent: Tuesday, May 5, 2020 5:47 PM To: Renata Saiakhova ; dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 1/2] librte_ethdev: Introduce a function to re

Re: [dpdk-dev] [PATCH 0/2] Memory corruption due to HW rings allocation

2020-05-06 Thread Renata Saiakhova
Tuesday, May 5, 2020 1:01 PM To: Renata Saiakhova Cc: dev@dpdk.org ; ferruh.yi...@intel.com ; arybche...@solarflare.com Subject: Re: [dpdk-dev] [PATCH 0/2] Memory corruption due to HW rings allocation 03/05/2020 18:26, Renata Saiakhova: > igb and ixgbe drivers allocate HW rings using rte_eth

Re: [dpdk-dev] [PATCH 1/2] librte_ethdev: Introduce a function to release HW rings

2020-05-06 Thread Renata Saiakhova
Saiakhova ; dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 1/2] librte_ethdev: Introduce a function to release HW rings On 05-May-20 11:25 AM, Burakov, Anatoly wrote: > On 03-May-20 5:26 PM, Renata Saiakhova wrote: >> Free previously allocated memzone for HW rings >> >> Signed-off

[dpdk-dev] [PATCH 0/2] Memory corruption due to HW rings allocation

2020-05-04 Thread Renata Saiakhova
gb to ixgbe having the same port id. Renata Saiakhova (2): librte_ethdev: Introduce a function to release HW rings drivers/net: Fix in e1000 and ixgbe HW rings memory overlap drivers/net/e1000/igb_rxtx.c | 2 ++ drivers/net/ixgbe/ixgbe_rxtx.c | 2 ++ lib/librte_e

[dpdk-dev] [PATCH 1/2] librte_ethdev: Introduce a function to release HW rings

2020-05-04 Thread Renata Saiakhova
Free previously allocated memzone for HW rings Signed-off-by: Renata Saiakhova --- lib/librte_ethdev/rte_ethdev.c | 23 +++ lib/librte_ethdev/rte_ethdev_driver.h| 14 ++ lib/librte_ethdev/rte_ethdev_version.map | 1 + 3 files changed, 38 insertions

[dpdk-dev] [PATCH 2/2] drivers/net: Fix in e1000 and ixgbe HW rings memory overlap

2020-05-04 Thread Renata Saiakhova
Delete memzones for HW rings in igb and ixgbe while freeing queues Signed-off-by: Renata Saiakhova --- drivers/net/e1000/igb_rxtx.c | 2 ++ drivers/net/ixgbe/ixgbe_rxtx.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/net/e1000/igb_rxtx.c b/drivers/net/e1000/igb_rxtx.c index