[PATCH] lib/gro: use hash function for flow lookup

2025-01-01 Thread Kumara Parameshwaran
optimize the GRO lookup using hash based implementation Signed-off-by: Kumara Parameshwaran --- The patch helps improving the CPU cycles during flow lookup in the GRO library. The current approach iterates over all the flows in the GRO table to find a matching flow for every incoming packet

[PATCH v1] app/testpmd : return if no packets in GRO heavy weight mode

2024-02-24 Thread Kumara Parameshwaran
If there are no packets flushed in GRO heavy weight mode, return false as this fall through code would return true indicating that packets are available Fixes: 461c287ab553 ("app/testpmd: fix GRO packets flush on timeout") Cc: sta...@dpdk.org Signed-off-by: Kumara Parameshwaran ---

[PATCH v8] app/testpmd : fix packets not getting flushed in heavy-weight mode API

2024-02-15 Thread Kumara Parameshwaran
mode TCP/IPv4 GRO") Cc: hujiayu...@foxmail.com Signed-off-by: Kumara Parameshwaran --- v1: Changes to make sure that the GRO flush API is invoked if there are no packets in current poll and timer expiry. v2: Fix code organisation issue v3: Fix warnings v4: Fix error an

[PATCH v7] app/testpmd : fix packets not getting flushed in heavy-weight mode API

2024-02-15 Thread Kumara Parameshwaran
mode TCP/IPv4 GRO") Cc: jiayu...@intel.com Signed-off-by: Kumara Parameshwaran --- v1: Changes to make sure that the GRO flush API is invoked if there are no packets in current poll and timer expiry. v2: Fix code organisation issue v3: Fix warnings v4: Fix error and wa

[PATCH v6] gro : packets not getting flushed in heavy-weight mode API

2024-02-10 Thread Kumara Parameshwaran
In heavy-weight mode GRO which is based on timer, the GRO packets will not be flushed in spite of timer expiry if there is no packet in the current poll. If timer mode GRO is enabled the rte_gro_timeout_flush API should be invoked. Signed-off-by: Kumara Parameshwaran --- v1: Changes to make

[PATCH v5] gro : packets not getting flushed in heavy-weight mode API

2024-01-18 Thread Kumara Parameshwaran
In heavy-weight mode GRO which is based on timer, the GRO packets will not be flushed in spite of timer expiry if there is no packet in the current poll. If timer mode GRO is enabled the rte_gro_timeout_flush API should be invoked. Signed-off-by: Kumara Parameshwaran --- v1: Changes to make

[PATCH v4] gro : packets not getting flushed in heavy-weight mode API

2024-01-17 Thread Kumara Parameshwaran
In heavy-weight mode GRO which is based on timer, the GRO packets will not be flushed in spite of timer expiry if there is no packet in the current poll. If timer mode GRO is enabled the rte_gro_timeout_flush API should be invoked. Signed-off-by: Kumara Parameshwaran --- v1: Changes to make

[PATCH v3] gro : packets not getting flushed in heavy-weight mode API

2024-01-17 Thread Kumara Parameshwaran
In heavy-weight mode GRO which is based on timer, the GRO packets will not be flushed inspite of timer expiry if there is no packet in the current poll. If timer mode GRO is enabled the rte_gro_timeout_flush API should be invoked. Signed-off-by: Kumara Parameshwaran --- v1: Changes to make

[PATCH v2] gro : packets not getting flushed in heavy-weight mode API

2024-01-17 Thread Kumara Parameshwaran
In heavy-weight mode GRO which is based on timer, the GRO packets will not be flushed inspite of timer expiry if there is no packet in the current poll. If timer mode GRO is enabled the rte_gro_timeout_flush API should be invoked. Signed-off-by: Kumara Parameshwaran --- v1: Changes to make

[PATCH v9] gro: fix reordering of packets in GRO layer

2024-01-17 Thread Kumara Parameshwaran
the special flag(s) set which is how the Linux GRO is also implemented Signed-off-by: Kumara Parameshwaran Co-authored-by: Kumara Parameshwaran --- If the received packet is not a pure ACK packet, we check if there are any previous packets in the flow, if present we indulge

[PATCH v1] gro : packets not getting flushed in heavy-weight mode API

2024-01-17 Thread Kumara Parameshwaran
In heavy-weight mode GRO which is based on timer, the GRO packets will not be flushed inspite of timer expiry if there is no packet in the current poll. If timer mode GRO is enabled the rte_gro_timeout_flush API should be invoked. Signed-off-by: Kumara Parameshwaran --- v1: Changes to make

[PATCH v13] gro: fix reordering of packets in GRO layer

2024-01-08 Thread Kumara Parameshwaran
the special flag(s) set which is how the Linux GRO is also implemented Signed-off-by: Kumara Parameshwaran --- If the received packet is not a pure ACK packet, we check if there are any previous packets in the flow, if present we indulge the received packet also in the

[PATCH v12] gro: fix reordering of packets in GRO layer

2024-01-08 Thread Kumara Parameshwaran
the special flag(s) set which is how the Linux GRO is also implemented Signed-off-by: Kumara Parameshwaran --- If the received packet is not a pure ACK packet, we check if there are any previous packets in the flow, if present we indulge the received packet also in the

[PATCH v11] gro: fix reordering of packets in GRO layer

2024-01-07 Thread Kumara Parameshwaran
the special flag(s) set which is how the Linux GRO is also implemented Signed-off-by: Kumara Parameshwaran --- If the received packet is not a pure ACK packet, we check if there are any previous packets in the flow, if present we indulge the received packet also in the

[PATCH v10] gro: fix reordering of packets in GRO layer

2024-01-07 Thread Kumara Parameshwaran
the special flag(s) set which is how the Linux GRO is also implemented Signed-off-by: Kumara Parameshwaran Co-authored-by: Kumara Parameshwaran --- If the received packet is not a pure ACK packet, we check if there are any previous packets in the flow, if present we indulge

[PATCH v9] gro: fix reordering of packets in GRO layer

2023-12-08 Thread Kumara Parameshwaran
the special flag(s) set which is how the Linux GRO is also implemented Signed-off-by: Kumara Parameshwaran Co-authored-by: Kumara Parameshwaran --- If the received packet is not a pure ACK packet, we check if there are any previous packets in the flow, if present we indulge

[PATCH v8] gro: fix reordering of packets in GRO layer

2023-12-08 Thread Kumara Parameshwaran
special flag(s) set which is how the Linux GRO is also implemented Signed-off-by: Kumara Parameshwaran Co-authored-by: Kumara Parameshwaran --- If the received packet is not a pure ACK packet, we check if there are any previous packets in the flow, if present we indulge the

[PATCH v7] gro: fix reordering of packets in GRO layer

2023-12-08 Thread Kumara Parameshwaran
special flag(s) set which is how the Linux GRO is also implemented Signed-off-by: Kumara Parameshwaran Co-authored-by: Kumara Parameshwaran --- If the received packet is not a pure ACK packet, we check if there are any previous packets in the flow, if present we indulge the

[PATCH v6] gro: fix reordering of packets in GRO layer

2023-12-08 Thread Kumara Parameshwaran
special flag(s) set which is how the Linux GRO is also implemented Signed-off-by: Kumara Parameshwaran Co-authored-by: Kumara Parameshwaran --- If the received packet is not a pure ACK packet, we check if there are any previous packets in the flow, if present we indulge the

[PATCH v11 2/2] gro : add support for IPv6 GRO

2023-06-21 Thread Kumara Parameshwaran
Add support for IPv6 GRO for TCP packets Signed-off-by: Kumara Parameshwaran --- v1: * Changes to support GRO for TCP/ipv6 packets. This does not include vxlan changes. * The GRO is performed only for ipv6 packets that does not contain extension headers

[PATCH v11 1/2] gro : refactor IPv4 to add GRO support for IPv6

2023-06-21 Thread Kumara Parameshwaran
Refactor the existing code to reuse data strutures and functions to add support for IPv6 GRO Signed-off-by: Kumara Parameshwaran --- v1: * Changes to support GRO for TCP/ipv6 packets. This does not include vxlan changes. * The GRO is performed only for ipv6 packets

[PATCH v10 2/2] gro : add support for IPv6 GRO

2023-06-21 Thread Kumara Parameshwaran
Signed-off-by: Kumara Parameshwaran --- v1: * Changes to support GRO for TCP/ipv6 packets. This does not include vxlan changes. * The GRO is performed only for ipv6 packets that does not contain extension headers. * The logic for the TCP coalescing

[PATCH v10 1/2] gro : refactor IPv4 to add GRO support for IPv6

2023-06-21 Thread Kumara Parameshwaran
Refactor the existing code to reuse data strutures and functions to add support for IPv6 GRO Signed-off-by: Kumara Parameshwaran --- v1: * Changes to support GRO for TCP/ipv6 packets. This does not include vxlan changes. * The GRO is performed only for ipv6 packets

[PATCH v9] gro : ipv6 changes to support GRO for TCP/ipv6

2023-06-14 Thread Kumara Parameshwaran
The patch adds GRO support for TCP/ipv6 packets. This does not include the support for vxlan, udp ipv6 packets. Signed-off-by: Kumara Parameshwaran --- v1: * Changes to support GRO for TCP/ipv6 packets. This does not include vxlan changes. * The GRO is performed only

[PATCH v8] gro : ipv6 changes to support GRO for TCP/ipv6

2023-06-14 Thread Kumara Parameshwaran
The patch adds GRO support for TCP/ipv6 packets. This does not include the support for vxlan, udp ipv6 packets. Signed-off-by: Kumara Parameshwaran --- v1: * Changes to support GRO for TCP/ipv6 packets. This does not include vxlan changes. * The GRO is performed only

[PATCH v7] gro : ipv6 changes to support GRO for TCP/ipv6

2023-06-12 Thread Kumara Parameshwaran
The patch adds GRO support for TCP/ipv6 packets. This does not include the support for vxlan, udp ipv6 packets. Signed-off-by: Kumara Parameshwaran --- v1: * Changes to support GRO for TCP/ipv6 packets. This does not include vxlan changes. * The GRO is performed only

[PATCH v6] gro : ipv6 changes to support GRO for TCP/ipv6

2023-06-12 Thread Kumara Parameshwaran
The patch adds GRO support for TCP/ipv6 packets. This does not include the support for vxlan, udp ipv6 packets. Signed-off-by: Kumara Parameshwaran --- v1: * Changes to support GRO for TCP/ipv6 packets. This does not include vxlan changes. * The GRO is performed only

[PATCH v5] gro : ipv6 changes to support GRO for TCP/ipv6

2023-06-12 Thread Kumara Parameshwaran
The patch adds GRO support for TCP/ipv6 packets. This does not include the support for vxlan, udp ipv6 packets. Signed-off-by: Kumara Parameshwaran --- v1: * Changes to support GRO for TCP/ipv6 packets. This does not include vxlan changes. * The GRO is performed only

[PATCH v4] gro : ipv6 changes to support GRO for TCP/ipv6

2023-06-06 Thread Kumara Parameshwaran
The patch adds GRO support for TCP/ipv6 packets. This does not include the support for vxlan, udp ipv6 packets. Signed-off-by: Kumara Parameshwaran --- v1: * Changes to support GRO for TCP/ipv6 packets. This does not include vxlan changes. * The GRO is performed only

[PATCH v3] gro : ipv6 changes to support GRO for TCP/ipv6

2023-06-01 Thread Kumara Parameshwaran
The patch adds GRO support for TCP/ipv6 packets. This does not include the support for vxlan, udp ipv6 packets. Signed-off-by: Kumara Parameshwaran --- v1: * Changes to support GRO for TCP/ipv6 packets. This does not include vxlan changes. * The GRO is performed only

[PATCH v3] gro : ipv6-gro review comments to reduce code duplication across v4 and v6

2023-06-01 Thread Kumara Parameshwaran
Signed-off-by: Kumara Parameshwaran --- v1: * Changes to support GRO for TCP/ipv6 packets. This does not include vxlan changes. * The GRO is performed only for ipv6 packets that does not contain extension headers. * The logic for the TCP coalescing

[PATCH v5] gro : fix reordering of packets in GRO library

2022-11-01 Thread Kumara Parameshwaran
From: Kumara Parameshwaran When a TCP packet contains flags like PSH it is returned immediately to the application though there might be packets of the same flow in the GRO table. If PSH flag is set on a segment packets up to the segment should be delivered immediately. But the current

[PATCH v5] gro : fix reordering of packets in GRO library

2022-11-01 Thread Kumara Parameshwaran
From: Kumara Parameshwaran When a TCP packet contains flags like PSH it is returned immediately to the application though there might be packets of the same flow in the GRO table. If PSH flag is set on a segment packets up to the segment should be delivered immediately. But the current

[PATCH v4] gro : fix reordering of packets in GRO library

2022-10-28 Thread Kumara Parameshwaran
From: Kumara Parameshwaran When a TCP packet contains flags like PSH it is returned immediately to the application though there might be packets of the same flow in the GRO table. If PSH flag is set on a segment packets up to the segment should be delivered immediately. But the current

[PATCH v3] gro : fix reordering of packets in GRO library

2022-10-28 Thread Kumara Parameshwaran
From: Kumara Parameshwaran When a TCP packet contains flags like PSH it is returned immediately to the application though there might be packets of the same flow in the GRO table. If PSH flag is set on a segment packets up to the segment should be delivered immediately. But the current

[PATCH v2] gro : fix reordering of packets in GRO library

2022-10-28 Thread Kumara Parameshwaran
From: Kumara Parameshwaran When a TCP packet contains flags like PSH it is returned immediately to the application though there might be packets of the same flow in the GRO table. If PSH flag is set on a segment packets up to the segment should be delivered immediately. But the current

[PATCH v2] gro : ipv6 changes to support GRO for TCP/ipv6

2022-10-20 Thread Kumara Parameshwaran
From: Kumara Parameshwaran The patch adds GRO support for TCP/ipv6 packets. This does not include the support for vxlan, udp ipv6 packets. Signed-off-by: Kumara Parameshwaran --- v1: * Changes to support GRO for TCP/ipv6 packets. This does not include vxlan changes

[PATCH] gro : ipv6 changes to support GRO for TCP/ipv6

2022-10-20 Thread Kumara Parameshwaran
From: Kumara Parameshwaran The patch adds GRO support for TCP/ipv6 packets. This does not include the support for vxlan, udp ipv6 packets. Signed-off-by: Kumara Parameshwaran --- v1: * Changes to support GRO for TCP/ipv6 packets. This does not include vxlan changes

[PATCH] gro : ipv6 changes to support GRO for TCP/ipv6

2022-10-20 Thread Kumara Parameshwaran
From: Kumara Parameshwaran The patch adds GRO support for TCP/ipv6 packets. This does not include the support for vxlan, udp ipv6 packets. Signed-off-by: Kumara Parameshwaran --- v1: * Changes to support GRO for TCP/ipv6 packets. This does not include vxlan changes

[PATCH v2] gro : check for payload length after the trim

2022-10-16 Thread Kumara Parameshwaran
From: Kumara Parameshwaran When packet is padded with extra bytes the the validation of the payload length should be done after the trim operation Fixes: b8a55871d5af ("gro: trim tail padding bytes") Cc: sta...@dpdk.org Signed-off-by: Kumara Parameshwaran --- v1: If there

[PATCH] gro : fix reordering of packets in GRO library

2022-10-13 Thread Kumara Parameshwaran
From: Kumara Parameshwaran When a TCP packet contains flags like PSH it is returned immediately to the application though there might be packets of the same flow in the GRO table. If PSH flag is set on a segment packets upto the segment should be delivered immediately. But the current

[PATCH] gro : fix pkt length when extra bytes are padded to ethernet frame

2022-10-10 Thread Kumara Parameshwaran
From: Kumara Parameshwaran When GRO packets are merged the packet length is used while merging the adjacent packets. If the padded bytes are accounted we would end up acking unsent TCP segments. Signed-off-by: Kumara Parameshwaran v1: If there is padding to the ethernet frame cases

[PATCH] gro: fix the chain index in insert_new_item for more than 2 packets

2022-09-07 Thread Kumara Parameshwaran
From: Kumara Parameshwaran When more than two packets are merged in a flow, and if we receive a 3rd packet which is matching the sequence of the 2nd packet the prev_idx will be 1 and not 2, hence resulting in packet re-ordering Signed-off-by: Kumara Parameshwaran --- V1: Initial

[PATCH] gro: fix the chain index in insert_new_item for more than 2 packets

2022-09-07 Thread Kumara Parameshwaran
From: Kumara Parameshwaran When more than two packets are merged in a flow, and if we receive a 3rd packet which is matching the sequence of the 2nd packet the prev_idx will be 1 and not 2, hence resulting in packet re-ordering Signed-off-by: Kumara Parameshwaran --- V1: Initial

[PATCH v5] gro: bug fix in identifying fragmented packets

2022-06-27 Thread Kumara Parameshwaran
From: Kumara Parameshwaran A packet with RTE_PTYPE_L4_FRAG(0x300) contains both RTE_PTYPE_L4_TCP (0x100) & RTE_PTYPE_L4_UDP (0x200). A fragmented packet as defined in rte_mbuf_ptype.h cannot be recognized as other L4 types and hence the GRO layer should not use IS_IPV4_TCP_PKT or IS_IPV4_UDP

[PATCH v4] gro: bug fix in identifying fragmented packets

2022-06-08 Thread Kumara Parameshwaran
From: Kumara Parameshwaran A packet with RTE_PTYPE_L4_FRAG(0x300) contains both RTE_PTYPE_L4_TCP (0x100) & RTE_PTYPE_L4_UDP (0x200). A fragmented packet as defined in rte_mbuf_ptype.h cannot be recognized as other L4 types and hence the GRO layer should not use IS_IPV4_TCP_PKT or IS_IPV4_UDP

[PATCH v3] gro: bug fix in identifying fragmented packets

2022-06-08 Thread Kumara Parameshwaran
From: Kumara Parameshwaran A packet with RTE_PTYPE_L4_FRAG(0x300) contains both RTE_PTYPE_L4_TCP (0x100) & RTE_PTYPE_L4_UDP (0x200). A fragmented packet as defined in rte_mbuf_ptype.h cannot be recognized as other L4 types and hence the GRO layer should not use IS_IPV4_TCP_PKT or IS_IPV4_UDP

[PATCH v2] gro: bug fix in identifying 0 length tcp packets

2022-04-22 Thread Kumara Parameshwaran
From: Kumara Parameshwaran As the minimum Ethernet frame size is 64 bytes, a 0 length tcp payload without tcp options would be 54 bytes and hence there would be padding. So it would be incorrect to use the packet length to determine the tcp data length. Fixes: 1e4cf4d6d4fb ("gro: cleanup

[PATCH v2] gro: bug fix in identifying 0 length tcp packets

2022-04-22 Thread Kumara Parameshwaran
From: Kumara Parameshwaran As the minimum Ethernet frame size is 64 bytes, a 0 length tcp payload without tcp options would be 54 bytes and hence there would be padding. So it would be incorrect to use the packet length to determine the tcp data length. Fixes: 1e4cf4d6d4fb ("gro: cleanup

[PATCH v2] gro: bug fix in identifying 0 length tcp packets

2022-04-22 Thread Kumara Parameshwaran
From: Kumara Parameshwaran As the minimum Ethernet frame size is 64 bytes, a 0 length tcp payload without tcp options would be 54 bytes and hence there would be padding. So it would be incorrect to use the packet length to determine the tcp data length. Fixes: 1e4cf4d6d4fb ("gro: cleanup

[PATCH v1] gro: bug fix in identifying 0 length tcp packets

2022-04-03 Thread Kumara Parameshwaran
Signed-off-by: Kumara Parameshwaran --- v1: Do not use packet length to determine the tcp data length as the packet length could have padded bytes. This would lead to addition of 0 length tcp packets into the GRO layer when there ethernet fram is padded. lib/gro/

[PATCH v2] gro: fix gro for UDP fragmented packets

2022-03-20 Thread Kumara Parameshwaran
From: Kumara Parameshwaran A packet with RTE_PTYPE_L4_FRAG(0x300) contains both RTE_PTYPE_L4_TCP (0x100) & RTE_PTYPE_L4_UDP (0x200). A fragmented packet as defined in rte_mbuf_ptype.h cannot be recognized as other L4 types and hence the GRO layer should not use IS_IPV4_TCP_PKT or IS_IPV4_UDP

[PATCH v1] gro: fix gro for UDP fragmented packets

2022-03-19 Thread Kumara Parameshwaran
From: Kumara Parameshwaran A packet with RTE_PTYPE_L4_FRAG(0x300) contains both RTE_PTYPE_L4_TCP (0x100) & RTE_PTYPE_L4_UDP (0x200). A fragmented packet as defined in rte_mbuf_ptype.h cannot be recognized as other L4 types and hence the GRO layer should not use IS_IPV4_TCP_PKT or IS_IPV4_UDP

UDP-GRO not working

2022-03-11 Thread Kumara Parameshwaran
Hi , I tried using the UDP GRO feature in DPDK recently and it did not see working. I understand the GRO for UDP is applicable only for fragmented packets, there is the following check in gro_udp4.c /* * Don't process non-fragment packet. */ if (!is_ipv4_fragment(ipv4_hdr)) return -1; There lo

[PATCH v1] drivers/net: use internal API to get eth dev from name

2022-02-03 Thread Kumara Parameshwaran
From: Kumara Parameshwaran Make changes in PMDs to use the new function where rte_eth_dev_get_port_by_name is used to get port_id to access rte_eth_devices Signed-off-by: Kumara Parameshwaran --- v1 * Replace rte_eth_get_get_port_by_name in PMDs with rte_eth_dev_get_by_name where port_id is

[PATCH v3 2/2] net/tap: fix to populate fds in secondary process

2022-01-31 Thread Kumara Parameshwaran
From: Kumara Parameshwaran When a tap device is hotplugged to primary process which in turn adds the device to all secondary process, the secondary process does a tap_mp_attach_queues, but the fds are not populated in the primary during the probe they are populated during the queue_setup, added

[PATCH v3 1/2] ethdev: define a function to get eth dev structure

2022-01-31 Thread Kumara Parameshwaran
From: Kumara Parameshwaran The PMDs would need a function to access the rte_eth_devices global array Cc: sta...@dpdk.org Signed-off-by: Kumara Parameshwaran --- lib/ethdev/ethdev_driver.h | 18 ++ lib/ethdev/rte_ethdev.c| 11 +++ lib/ethdev/version.map | 1

[PATCH v3 2/2] net/tap: fix to populate fds in secondary process

2022-01-31 Thread Kumara Parameshwaran
From: Kumara Parameshwaran When a tap device is hotplugged to primary process which in turn adds the device to all secondary process, the secondary process does a tap_mp_attach_queues, but the fds are not populated in the primary during the probe they are populated during the queue_setup, added

[PATCH v3 1/2] ethdev: define a function to get eth dev structure

2022-01-31 Thread Kumara Parameshwaran
From: Kumara Parameshwaran The PMDs would need a function to access the rte_eth_devices global array Cc:sta...@dpdk.org Signed-off-by: Kumara Parameshwaran --- lib/ethdev/ethdev_driver.h | 18 ++ lib/ethdev/rte_ethdev.c| 11 +++ lib/ethdev/version.map | 1

Re: [PATCH v2] net/tap: fix to populate fds in secondary process

2022-01-25 Thread Kumara Parameshwaran
From: Ferruh Yigit Sent: 24 January 2022 18:05 To: Kumara Parameshwaran ; dev@dpdk.org Cc: Kumara Parameshwaran ; sta...@dpdk.org Subject: Re: [PATCH v2] net/tap: fix to populate fds in secondary process On 1/24/2022 12:12 PM, Kumara Parameshwaran wrote

[PATCH v2] net/tap: fix to populate fds in secondary process

2022-01-24 Thread Kumara Parameshwaran
From: Kumara Parameshwaran When a tap device is hotplugged to primary process which in turn adds the device to all secondary process, the secondary process does a tap_mp_attach_queues, but the fds are not populated in the primary during the probe they are populated during the queue_setup, added

[PATCH v2] net/tap: fix to populate fds in secondary process

2022-01-24 Thread Kumara Parameshwaran
From: Kumara Parameshwaran When a tap device is hotplugged to primary process which in turn adds the device to all secondary process, the secondary process does a tap_mp_attach_queues, but the fds are not populated in the primary during the probe they are populated during the queue_setup, added

[PATCH] net/tap: Bug fix to populate fds in secondary process

2022-01-20 Thread Kumara Parameshwaran
From: Kumara Parameshwaran When a tap device is hotplugged to primary process which in turn adds the device to all secondary process, the secondary process does a tap_mp_attach_queues, but the fds are not populated in the primary during the probe they are populated during the queue_setup, added

[PATCH] net/tap: Bug fix to populate fds in secondary process

2022-01-20 Thread Kumara Parameshwaran
From: Kumara Parameshwaran When a tap device is hotplugged to primary process which in turn adds the device to all secondary process, the secondary process does a tap_mp_attach_queues, but the fds are not populated in the primary during the probe they are populated during the queue_setup, added

[PATCH] net/tap: Bug fix to populate fds in secondary process

2022-01-20 Thread Kumara Parameshwaran
From: Kumara Parameshwaran When a tap device is hotplugged to primary process which in turn adds the device to all secondary process, the secondary process does a tap_mp_attach_queues, but the fds are not populated in the primary during the probe they are populated during the queue_setup, added

[PATCH] net/tap: Bug fix to populate fds in secondary process

2022-01-20 Thread Kumara Parameshwaran
From: Kumara Parameshwaran When a tap device is hotplugged to primary process which in turn adds the device to all secondary process, the secondary process does a tap_mp_attach_queues, but the fds are not populated in the primary during the probe they are populated during the queue_setup, added

Re: [PATCH] net/tap: Bug fix to populate fds in secondary process

2022-01-18 Thread Kumara Parameshwaran
inger Sent: 18 January 2022 03:46 To: Kumara Parameshwaran Cc: keith.wi...@intel.com ; dev@dpdk.org ; Kumara Parameshwaran Subject: Re: [PATCH] net/tap: Bug fix to populate fds in secondary process On Fri, 26 Nov 2021 09:45:15 +0530 Kumara Parameshwaran wrote: > + ret = rte_eth_dev_ge

Re: [PATCH] net/tap: Bug fix to populate fds in secondary process

2022-01-18 Thread Kumara Parameshwaran
From: Ferruh Yigit Sent: 17 January 2022 23:52 To: Kumara Parameshwaran ; keith.wi...@intel.com Cc: dev@dpdk.org ; Kumara Parameshwaran ; Raslan Darawsheh Subject: Re: [PATCH] net/tap: Bug fix to populate fds in secondary process On 11/26/2021 4:15 AM

[PATCH] net/tap: Bug fix to populate fds in secondary process

2021-11-25 Thread Kumara Parameshwaran
From: Kumara Parameshwaran When a tap device is hotplugged to primary process which in turn adds the device to all secondary process, the secondary process does a tap_mp_attach_queues, but the fds are not populated in the primary during the probe they are populated during the queue_setup, added

[PATCH] net/tap: Bug fix to populate fds in secondary process

2021-11-25 Thread Kumara Parameshwaran
From: Kumara Parameshwaran When a tap device is hotplugged to primary process which in turn adds the device to all secondary process, the secondary process does a tap_mp_attach_queues, but the fds are not populated in the primary during the probe they are populated during the queue_setup, added

[PATCH] net/tap: Bug fix to populate fds in secondary process

2021-11-25 Thread Kumara Parameshwaran
From: Kumara Parameshwaran When a tap device is hotplugged to primary process which in turn adds the device to all secondary process, the secondary process does a tap_mp_attach_queues, but the fds are not populated in the primary during the probe they are populated during the queue_setup, added

[PATCH] net/tap: Bug fix to populate fds in secondary process

2021-11-25 Thread Kumara Parameshwaran
From: Kumara Parameshwaran When a tap device is hotplugged to primary process which in turn adds the device to all secondary process, the secondary process does a tap_mp_attach_queues, but the fds are are not populated in the primary during the probe they are populated during the queue_setup

[PATCH] failsafe: Bug fix for the secondary process RX-TX support

2021-11-11 Thread Kumara Parameshwaran
ndary process") Cc: qi.z.zh...@intel.com Signed-off-by: Kumara Parameshwaran --- drivers/net/failsafe/failsafe.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/failsafe/failsafe.c b/drivers/net/failsafe/failsafe.c index ad6b43538e..3c754a5f66 100644 --- a/d

[PATCH] failsafe: Bug fix for the secondary process RX-TX support

2021-11-11 Thread Kumara Parameshwaran
Remove the vdev args check for secondary process which prevents the secondary from attaching to the device created by the primary process via the hotplug framework. This check was removed for other vdevs but was missed for failsafe. Signed-off-by: Kumara Parameshwaran --- drivers/net/failsafe

[PATCH] failsafe: Bug fix for the secondary process RX-TX support

2021-11-11 Thread Kumara Parameshwaran
Remove the vdev args check for secondary process which prevents the secondary from attaching to the device created by the primary process via the hotplug framework. This check was removed for other vdevs but was missed for failsafe. Signed-off-by: Kumara Parameshwaran --- drivers/net/failsafe

[PATCH] failsafe: Bug fix for the secondary process to support RX-TX

2021-11-11 Thread Kumara Parameshwaran
Remove the vdev args check for secondary process which prevents the secondary from attaching to the device created by the primary process via the hotplug framework. This check was removed for other vdevs but was missed for failsafe. Signed-off-by: Kumara Parameshwaran --- drivers/net/failsafe

[PATCH] failsafe: Bug fix for the secondary process to support RX and TX

2021-11-11 Thread Kumara Parameshwaran
Remove the vdev args check for secondary process which prevents the secondary from attaching to the device created by the primary process via the hotplug framework. This check was removed for other vdevs but was missed for failsafe. Signed-off-by: Kumara Parameshwaran --- drivers/net/failsafe

[dpdk-dev] [PATCH] failsafe: Bug fix to support secondary process attach to the device created by primary for RX and TX

2021-11-09 Thread Kumara Parameshwaran
Remove the vdev args check for secondary process which prevents the secondary from attaching to the device created by the primary process via the hotplug framework. This check was removed for other vdevs but was missed for failsafe. Signed-off-by: Kumara Parameshwaran --- drivers/net/failsafe

[dpdk-dev] [PATCH] failsafe: Remove the vdev args check for secondary process which prevents the secondary from attaching to the device created by the primary process via the hotplug framework. This c

2021-11-03 Thread Kumara Parameshwaran
Signed-off-by: Kumara Parameshwaran --- drivers/net/failsafe/failsafe.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/failsafe/failsafe.c b/drivers/net/failsafe/failsafe.c index ad6b43538e..3c754a5f66 100644 --- a/drivers/net/failsafe/failsafe.c +++ b/drivers

[dpdk-dev] [PATCH] failsafe : support secondary process to attach to vdev created by primary process

2021-10-26 Thread Kumara Parameshwaran
Signed-off-by: Kumara Parameshwaran --- drivers/net/failsafe/failsafe.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/failsafe/failsafe.c b/drivers/net/failsafe/failsafe.c index 8216063..1adccaf 100644 --- a/drivers/net/failsafe/failsafe.c +++ b/drivers/net

[dpdk-dev] Failsafe PMD - Attach to Secondary Process

2021-08-13 Thread Kumara Parameshwaran
Hi, Recently I was using the failsafe PMD with multi process scenario and found the secondary process was not working as expected. . I saw you were mentioned as the maintainer for this PMD. I have attached the patch, please let me know if this is okay. I think in the following commit, the fail