Re: [ovs-dev] [PATCH v1] netdev-dpdk: Added xstat statistics interface.

2024-09-19 Thread Jun Wang
> On Wed, Sep 18, 2024 at 4:01 AM Jun Wang wrote: > > > > >On Mon, Sep 16, 2024 at 9:46 AM Eelco Chaudron wrote: > > > > On 14 Sep 2024, at 7:26, Jun Wang wrote: > > > > > > > > > For many network cards, xstat statistics cannot be queried

Re: [ovs-dev] [PATCH v1] netdev-dpdk: Added xstat statistics interface.

2024-09-17 Thread Jun Wang
>On Mon, Sep 16, 2024 at 9:46 AM Eelco Chaudron wrote: > > On 14 Sep 2024, at 7:26, Jun Wang wrote: > > > > > For many network cards, xstat statistics cannot be queried in the > > > ovs interface. A new interface is added to retrieve all xstat > > > i

[ovs-dev] [PATCH v1] netdev-dpdk: Added xstat statistics interface.

2024-09-13 Thread Jun Wang
For many network cards, xstat statistics cannot be queried in the ovs interface. A new interface is added to retrieve all xstat information of the network card. Reported-by: Jun Wang Signed-off-by: Jun Wang --- lib/netdev-dpdk.c | 100 ++ 1

[ovs-dev] [PATCH v1] netdev-dpdk: Disable outer udp checksum offload for txgbe driver.

2024-09-13 Thread Jun Wang
Fixing the issue of incorrect outer UDP checksum in packets sent by the wangxun network card (driver is txgbe), we disabled RTE_ETH_TX_OFFLOAD_OUTER_UDP_CKSUM. Fixes: 084c8087292c ("userspace: Support VXLAN and GENEVE TSO.") Reported-by: Jun Wang Signed-off-by: Jun Wang --- lib/net

[ovs-dev] [PATCH v2] netdev-native-tnl: Fix inner L2 pad loss causing checksum errors.

2024-08-08 Thread Jun Wang
: 084c8087292c ("userspace: Support VXLAN and GENEVE TSO.") Reported-by: Jun Wang Signed-off-by: Jun Wang --- v2: Remove the L2 pad immediately after receiving the packet. --- lib/dp-packet.h | 69 +++ lib/netdev-dpdk.c | 1 + 2 fil

Re: [ovs-dev] [PATCH v1] netdev-native-tnl: Fix inner L2 pad loss causing checksum errors.

2024-08-05 Thread Jun Wang
regards, Jun Wang. Jun Wang ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

[ovs-dev] [PATCH v1] netdev-native-tnl: Fix inner L2 pad loss causing checksum errors.

2024-07-02 Thread Jun Wang
ned-off-by: Jun Wang --- lib/dp-packet.h | 21 - lib/netdev-native-tnl.c | 3 +++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/lib/dp-packet.h b/lib/dp-packet.h index a75b1c5..d583b28 100644 --- a/lib/dp-packet.h +++ b/lib/dp-packet.h @@ -176,6 +176,8

Re: [ovs-dev] [PATCH v1] nedev-dpdk: Fix config with dpdk net_bonding offloads.

2024-04-12 Thread Jun Wang
>On 4/12/24 08:29, Jun Wang wrote: >> If it's a DPDK net_bonding, it may cause >> offload-related configurations to take effect, >> leading to offload failure. >> >> /usr/share/openvswitch/scripts/ovs-ctl restart --no-ovs-vswitchd \ >> --system-id=tes

[ovs-dev] [PATCH v1] nedev-dpdk: Fix config with dpdk net_bonding offloads.

2024-04-11 Thread Jun Wang
uot;, tx_ip_csum_offload="false", tx_out_ip_csum_offload="false", tx_out_udp_csum_offload="false", tx_sctp_csum_offload="false", tx_tcp_csum_offload="false", tx_tcp_seg_offload="false", tx_udp_csum_offload="false", tx_vxlan_tso_offload="f

[ovs-dev] [PATCH v6] netdev-dpdk: Disable outer udp checksum offload for ice/i40e driver.

2024-03-22 Thread Jun Wang
VXLAN and GENEVE TSO.") Reported-at: https://github.com/openvswitch/ovs-issues/issues/321 Signed-off-by: Jun Wang --- v2: Modify the format v3: Add Fixes and Reported v4: Modify Signed-off-by v5: Add disbale i40e driver and vxlan/geneve tso offload v6: Modify subject --- lib/netdev-d

[ovs-dev] [PATCH v5] netdev-dpdk: Disable outer udp checksum offload for ice or i40e driver.

2024-03-22 Thread Jun Wang
VXLAN and GENEVE TSO.") Reported-at: https://github.com/openvswitch/ovs-issues/issues/321 Signed-off-by: Jun Wang --- v2: Modify the format v3: Add Fixes and Reported v4: Modify Signed-off-by v5: Add disbale i40e driver and vxlan/geneve tso offload --- lib/netdev-dpdk.c | 12 ++

[ovs-dev] [PATCH v4] netdev-dpdk: Disable outer udp checksum offload for ice driver.

2024-03-20 Thread Jun Wang
Fixing the issue of incorrect outer UDP checksum in packets sent by E810. Fixes: 084c8087292c ("userspace: Support VXLAN and GENEVE TSO.") Reported-at: https://github.com/openvswitch/ovs-issues/issues/321 Signed-off-by: Jun Wang --- lib/netdev-dpdk.c | 6 ++ 1 file changed, 6

[ovs-dev] [PATCH v3] netdev-dpdk: Disable outer udp checksum offload for ice driver.

2024-03-20 Thread Jun Wang
Fixing the issue of incorrect outer UDP checksum in packets sent by E810. Fixes: 084c8087292c ("userspace: Support VXLAN and GENEVE TSO.") Reported-at: https://github.com/openvswitch/ovs-issues/issues/321 Signed-ff-by: Jun Wang --- lib/netdev-dpdk.c | 6 ++ 1 file changed, 6

[ovs-dev] [PATCH v2] netdev-dpdk: Disable outer udp checksum offload for ice driver.

2024-03-19 Thread Jun Wang
Signed-off-by: Jun Wang --- lib/netdev-dpdk.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index 29a6bf0..1820163 100644 --- a/lib/netdev-dpdk.c +++ b/lib/netdev-dpdk.c @@ -1354,6 +1354,12 @@ dpdk_eth_dev_init(struct netdev_dpdk *dev

[ovs-dev] [PATCH v1] netdev-dpdk: disable outer udp checksum offload for ice driver

2024-03-19 Thread Jun Wang
Signed-off-by: Jun Wang --- lib/netdev-dpdk.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index 29a6bf0..1820163 100644 --- a/lib/netdev-dpdk.c +++ b/lib/netdev-dpdk.c @@ -1354,6 +1354,12 @@ dpdk_eth_dev_init(struct netdev_dpdk *dev