[dpdk-dev] [PATCH] dpdk: fix a crash during rte_table_hash_key16_ext overload

2015-03-03 Thread miroslaw.walukiew...@intel.com
From: Miroslaw Walukiewicz The hash_key16_ext table allocates a cache entries to support table overload cases. The crash can occur when cache entry is free after use. The problem is with computing the index of the free cache entry. The patch fixes a problem. Signed-off-by: Mirek Walukiewicz -

[dpdk-dev] [PATCH] ixgbe: fix a problem with NIC TSO offload

2014-12-09 Thread miroslaw.walukiew...@intel.com
From: Miroslaw Walukiewicz The patch fixes a minor issue with setting up of TSO feature for ixgbe NICs. The values for l4_len and tso_segsz was chagned first by txoffload mask and next set up in the NIC descriptor. Signed-off-by: Mirek Walukiewicz --- lib/librte_pmd_ixgbe/ixgbe_rxtx.c |4

[dpdk-dev] [PATCH v2] pmd: Add generic support for TCP TSO (Transmit Segmentation Offload)

2014-10-21 Thread miroslaw.walukiew...@intel.com
From: Miroslaw Walukiewicz The NICs supported by DPDK have a possibility to accelerate TCP traffic by sergnention offload. The application preprares a packet with valid TCP header with size up to 64K and NIC makes packet segmenation generating valid checksums and TCP segments. The patch defines

[dpdk-dev] [PATCH] pmd: Add generic support for TCP TSO (Transmit Segmentation Offload)

2014-10-20 Thread miroslaw.walukiew...@intel.com
From: Miroslaw Walukiewicz Add new PKT_TX_TCP_SEG flag Add new fields in the tx offload fields indicating MSS and L4 len Signed-off-by: Mirek Walukiewicz --- lib/librte_mbuf/rte_mbuf.h | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/lib/librte_mb

[dpdk-dev] [PATCH 3/3] pmd i40e: Enable Transmit Segmentation Offload for TCP traffic

2014-10-13 Thread miroslaw.walukiew...@intel.com
From: Miroslaw Walukiewicz The patch enables the TSO HW feature for i40e PMD driver. The feature is reported by rte_dev_info_get() if enabled. Signed-off-by: Mirek Walukiewicz --- lib/librte_pmd_i40e/i40e_ethdev.c |1 + lib/librte_pmd_i40e/i40e_rxtx.c | 56

[dpdk-dev] [PATCH 2/3] pmd: add new header containing TCP offload specific definitions

2014-10-13 Thread miroslaw.walukiew...@intel.com
From: Miroslaw Walukiewicz The function for computing initial TCP header checksum. The file is common for both i40e and ixgbe PMD drivers Signed-off-by: Mirek Walukiewicz --- lib/librte_net/Makefile |3 + lib/librte_net/rte_tcp_off.h | 122 ++

[dpdk-dev] [PATCH 1/3] pmd: add new flag to indicate TX TSO operation on the packet

2014-10-13 Thread miroslaw.walukiew...@intel.com
From: Miroslaw Walukiewicz Transmission of TCP packets could be accelerated by HW Transmit Segmentation Offload. With TSO packets up to 64K could be transmismitted. When this flag is set the PMD drived will enable TCP segmentation. The new field tso_segsz is added to indicate how long is TCP TS