Update new feature section with virtio offload feature description.
Signed-off-by: Jijiang Liu
---
doc/guides/rel_notes/release_2_3.rst |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/doc/guides/rel_notes/release_2_3.rst
b/doc/guides/rel_notes/release_2_3.rst
index
,
the reason is explained in patch 2.
Signed-off-by: Jijiang Liu
Acked-by: Yuanhan Liu
---
examples/vhost/main.c | 105 +++-
1 files changed, 102 insertions(+), 3 deletions(-)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index 044c680
Remove the ipv4_hdr structure defination in vhost sample.
The same structure has already defined in the rte_ip.h file, so we
remove the defination from the sample, and include that header file.
Signed-off-by: Jijiang Liu
Acked-by: Yuanhan Liu
---
examples/vhost/main.c | 15
side, it means the packet is from
another VM at same host. So, it's safe to set the
VIRTIO_NET_HDR_F_NEEDS_CSUM, to skip checksum validation.
Signed-off-by: Jijiang Liu
Acked-by: Yuanhan Liu
---
lib/librte_vhost/vhost_rxtx.c | 47 +++-
lib/librte_vhost
to the
related fileds in mbuf.
Signed-off-by: Jijiang Liu
Acked-by: Yuanhan Liu
---
lib/librte_vhost/vhost_rxtx.c | 103 +
lib/librte_vhost/virtio-net.c |6 ++-
2 files changed, 108 insertions(+), 1 deletions(-)
diff --git a/lib/librte_vhost
anup code as a separate patch.
v3 change:
rebase latest codes.
v2 change:
fill virtio device information for TX offloads.
Tested-by: Qian Xu
---
Jijiang Liu (4):
add vhost offload capabilities
remove ipv4_hdr structure from vhost sample.
add guest offload setting ln the vhost lib.
ch
,
the reason is explained in patch 2.
Signed-off-by: Jijiang Liu
---
examples/vhost/main.c | 105 +++-
1 files changed, 102 insertions(+), 3 deletions(-)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index 044c680..210e631 100644
Remove the ipv4_hdr structure defination in vhost sample.
The same structure has already defined in the rte_ip.h file, so we
remove the defination from the sample, and include that header file.
Signed-off-by: Jijiang Liu
---
examples/vhost/main.c | 15 +--
1 files changed, 1
side, it means the packet is from
another VM at same host. So, it's safe to set the
VIRTIO_NET_HDR_F_NEEDS_CSUM, to skip checksum validation.
Signed-off-by: Jijiang Liu
---
lib/librte_vhost/vhost_rxtx.c | 47 +++-
lib/librte_vhost/virtio-net.c |5 +++-
2
to the
related fileds in mbuf.
Signed-off-by: Jijiang Liu
---
lib/librte_vhost/vhost_rxtx.c | 103 +
lib/librte_vhost/virtio-net.c |6 ++-
2 files changed, 108 insertions(+), 1 deletions(-)
diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost
ange:
rebase latest codes.
v2 change:
fill virtio device information for TX offloads.
---
Jijiang Liu (4):
add vhost offload capabilities
remove ipv4_hdr structure from vhost sample.
add guest offload setting ln the vhost lib.
change vhost application to test checksum and TSO for VM to NIC
Add i40e_udp_tunnel_flow_configre() to implement the configuration of flow rule
with 'src IP, dst IP, src port, dst port and tunnel ID' using flow director.
Signed-off-by: Jijiang Liu
---
drivers/net/i40e/i40e_ethdev.c | 41
1 files changed, 41
Using SIMD instruction to accelarate encapsulation operation.
Signed-off-by: Jijiang Liu
---
lib/librte_ether/libtunnel/rte_vxlan_opt.c | 251
1 files changed, 251 insertions(+), 0 deletions(-)
create mode 100644 lib/librte_ether/libtunnel/rte_vxlan_opt.c
diff
This function parameters should be the same as callback function
(rte_rx/tx_callback_fn).
But we can redefine some parameters as 'unused'.
Signed-off-by: Jijiang Liu
---
lib/librte_ether/libtunnel/rte_vxlan_opt.h | 49
1 files changed, 49 insertions(+), 0
Signed-off-by: Jijiang Liu
---
lib/librte_ether/rte_ethdev.c | 60 +
1 files changed, 60 insertions(+), 0 deletions(-)
diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c
index c3eed49..6725398 100644
--- a/lib/librte_ether
Add the struct 'rte_eth_tunnel_conf' and the tunnel configuration API.
Signed-off-by: Jijiang Liu
---
lib/librte_ether/rte_ethdev.h | 28
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h
The purpose of extending this structure is to support more tunnel filter
conditions.
Signed-off-by: Jijiang Liu
---
lib/librte_ether/rte_eth_ctrl.h | 14 +++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether
x_burst_cbs[].param.
In this patch set, I have not finished all of codes, the purpose of sending
patch set is that I would like to collect more comments and sugestions on this
idea.
Jijiang Liu (6):
extend rte_eth_tunnel_flow
define tunnel flow structure and APIs
implement tunnel flow AP
, the reason
is explained in patch 2.
Signed-off-by: Jijiang Liu
---
examples/vhost/main.c | 105 +++-
1 files changed, 102 insertions(+), 3 deletions(-)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index 044c680..210e631 100644
--- a/examples
Remove the ipv4_hdr structure defination in vhost sample.
The same structure has already defined in the rte_ip.h file, so we remove the
defination from the sample, and include that header file.
Signed-off-by: Jijiang Liu
---
examples/vhost/main.c | 15 +--
1 files changed, 1
, it's
safe to set the VIRTIO_NET_HDR_F_NEEDS_CSUM, to skip checksum validation.
Signed-off-by: Jijiang Liu
---
lib/librte_vhost/vhost_rxtx.c | 47 +++-
lib/librte_vhost/virtio-net.c |5 +++-
2 files changed, 49 insertions(+), 3 deletions(-)
diff --git a/lib
the fileds in virtio_net_hdr to the related
fileds in mbuf.
Signed-off-by: Jijiang Liu
---
lib/librte_vhost/vhost_rxtx.c | 103 +
lib/librte_vhost/virtio-net.c |6 ++-
2 files changed, 108 insertions(+), 1 deletions(-)
diff --git a/lib/librte_vhost/vhos
tion for TX offloads.
*** BLURB HERE ***
Jijiang Liu (4):
add vhost offload capabilities
remove ipv4_hdr structure from vhost sample.
add guest offload setting ln the vhost lib.
change vhost application to test checksum and TSO for VM to NIC case
examples/vhost/main.c |
l_conf *tunnel_conf[RTE_MAX_QUEUES_PER_PORT];
/**< Tunnel configuration. */
};
v2 change:
Add more description for the change.
v3 change:
Change ABI announcement description.
Signed-off-by: Jijiang Liu
---
doc/guides/rel_notes/deprecation.rst |6 ++
1 files changed, 6 inserti
and classification information and store it in a device
configuration.
And tunneling packet encapsulation operation will benifit from the change.
v2 change:
Add more description for the change.
Signed-off-by: Jijiang Liu
---
doc/guides/rel_notes/deprecation.rst |5 +
1 files changed, 5 insertions
flow ipv6;
};
};
Note: It have not finalized yet.
Signed-off-by: Jijiang Liu
---
doc/guides/rel_notes/deprecation.rst |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/doc/guides/rel_notes/deprecation.rst
b/doc/guides/rel_notes/deprecation.rst
index 1c7ab01..5c458
Announce ABI change for struct rte_eth_conf.
Signed-off-by: Jijiang Liu
---
doc/guides/rel_notes/deprecation.rst |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/doc/guides/rel_notes/deprecation.rst
b/doc/guides/rel_notes/deprecation.rst
index 1c7ab01..f50f0c7 100644
, the reason
is explained in patch 2.
Signed-off-by: Jijiang Liu
---
examples/vhost/main.c | 105 +++-
1 files changed, 102 insertions(+), 3 deletions(-)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index 044c680..210e631 100644
--- a/examples
Remove the ipv4_hdr structure defination in vhost sample.
The same structure has already defined in the rte_ip.h file, so we remove the
defination from the sample, and include that header file.
Signed-off-by: Jijiang Liu
---
examples/vhost/main.c | 15 +--
1 files changed, 1
, it's
safe to set the VIRTIO_NET_HDR_F_NEEDS_CSUM, to skip checksum validation.
Signed-off-by: Jijiang Liu
---
lib/librte_vhost/vhost_rxtx.c | 47 +++-
lib/librte_vhost/virtio-net.c |5 +++-
2 files changed, 49 insertions(+), 3 deletions(-)
diff --git a/lib
the fileds in virtio_net_hdr to the related
fileds in mbuf.
Signed-off-by: Jijiang Liu
---
lib/librte_vhost/vhost_rxtx.c | 103 +
lib/librte_vhost/virtio-net.c |6 ++-
2 files changed, 108 insertions(+), 1 deletions(-)
diff --git a/lib/librte_vhost/vhos
change:
rebase latest codes.
v2 change:
fill virtio device information for TX offloads.
*** BLURB HERE ***
Jijiang Liu (4):
add vhost offload capabilities
remove ipv4_hdr structure from vhost sample.
add guest offload setting ln the vhost lib.
change vhost application to test checksum
Enqueue guest offload(CSUM and TSO) handle.
Signed-off-by: Jijiang Liu
---
lib/librte_vhost/vhost_rxtx.c | 45 +++-
1 files changed, 43 insertions(+), 2 deletions(-)
diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c
index 9e70990
Add virtio guest offload capabilities.
Signed-off-by: Jijiang Liu
---
lib/librte_vhost/virtio-net.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/lib/librte_vhost/virtio-net.c b/lib/librte_vhost/virtio-net.c
index 81bd309..839a333 100644
--- a/lib/librte_vhost
Change the vhost sample to support and test TX offload.
Signed-off-by: Jijiang Liu
---
examples/vhost/main.c | 110 +++-
1 files changed, 107 insertions(+), 3 deletions(-)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index 044c680
Remove the ip_hdr structure defination.
Signed-off-by: Jijiang Liu
---
examples/vhost/main.c | 15 +--
1 files changed, 1 insertions(+), 14 deletions(-)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index c081b18..044c680 100644
--- a/examples/vhost/main.c
+++ b
Dequeue vhost TX offload(CSUM and TSO) in vhost lib
Signed-off-by: Jijiang Liu
---
lib/librte_vhost/vhost_rxtx.c | 104 -
1 files changed, 103 insertions(+), 1 deletions(-)
diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c
index
Add vhost TX offload(CSUM and TSO) support capabilities.
Signed-off-by: Jijiang Liu
---
lib/librte_vhost/virtio-net.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/lib/librte_vhost/virtio-net.c b/lib/librte_vhost/virtio-net.c
index 14278de..81bd309 100644
Record virtual address of virtio net header.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_ethdev.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtio_ethdev.c
b/drivers/net/virtio/virtio_ethdev.c
index 74c00ee..dd39715 100644
The virtual address for virtio net header need to be recorded.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtqueue.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtqueue.h b/drivers/net/virtio/virtqueue.h
index 689c321..5b43eeb 100644
change, only keep vhost changes.
add guest TX offload capabilities to support VM to VM case.
split the cleanup code as a seperate patch.
v3 change:
rebase latest codes.
v2 change:
fill virtio device information for TX offloads.
*** BLURB HERE ***
Jijiang Liu (8):
add virtual addr of virtio
Change the vhost sample to support and test TX offload.
Signed-off-by: Jijiang Liu
---
examples/vhost/main.c | 128 ++---
1 files changed, 111 insertions(+), 17 deletions(-)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index 9eac2d0
Dequeue vhost TX offload in vhost lib.
Signed-off-by: Jijiang Liu
---
lib/librte_vhost/vhost_rxtx.c | 108 -
1 files changed, 107 insertions(+), 1 deletions(-)
diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c
index 9322ce6
Enqueue vhost TX checksum and TSO4/6 offload in virtio-net lib.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_rxtx.c | 61 ++
1 files changed, 61 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtio_rxtx.c b/drivers/net/virtio
Enqueue vhost TX checksum and TSO4/6 offload in virtio-net lib.
Signed-off-by: Jijiang Liu
---
lib/librte_vhost/virtio-net.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/lib/librte_vhost/virtio-net.c b/lib/librte_vhost/virtio-net.c
index 14278de..81bd309 100644
Fill virtio device info for TX offload.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_ethdev.c | 10 ++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtio_ethdev.c
b/drivers/net/virtio/virtio_ethdev.c
index cb5dfee..b831c02 100644
Add vhost TX checksum and TSO capabilities in virtio-net lib.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_ethdev.h |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/drivers/net/virtio/virtio_ethdev.h
b/drivers/net/virtio/virtio_ethdev.h
index 9026d42
Record virtual address of virtio net header.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_ethdev.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtio_ethdev.c
b/drivers/net/virtio/virtio_ethdev.c
index 465d3cd..cb5dfee 100644
The virtual addr for virtio net header need to be recorded.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtqueue.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtqueue.h b/drivers/net/virtio/virtqueue.h
index 689c321..5b43eeb 100644
:
fill virtio device information for TX offloads.
Jijiang Liu (8):
add virtual address of virtio net header
store virtual address of virtio hdr
add vhost TX offload support capability in virtio-net
fill virtio device information for TX offloads.
add vhost TX offload support capability
Change the vhost sample to support and test TX offload.
Signed-off-by: Jijiang Liu
---
examples/vhost/main.c | 128 ++---
1 files changed, 111 insertions(+), 17 deletions(-)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index 9eac2d0
Dequeue vhost TX offload in vhost lib.
Signed-off-by: Jijiang Liu
---
lib/librte_vhost/vhost_rxtx.c | 108 -
1 files changed, 107 insertions(+), 1 deletions(-)
diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c
index 7026bfa
Enqueue vhost TX checksum and TSO4/6 offload in virtio-net lib.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_rxtx.c | 61 ++
1 files changed, 61 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtio_rxtx.c b/drivers/net/virtio
Enqueue vhost TX checksum and TSO4/6 offload in virtio-net lib.
Signed-off-by: Jijiang Liu
---
lib/librte_vhost/virtio-net.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/lib/librte_vhost/virtio-net.c b/lib/librte_vhost/virtio-net.c
index 14278de..81bd309 100644
Fill virtio device info for TX offload.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_ethdev.c | 10 ++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtio_ethdev.c
b/drivers/net/virtio/virtio_ethdev.c
index cb5dfee..b831c02 100644
Add vhost TX checksum and TSO capabilities in virtio-net lib.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_ethdev.h |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/drivers/net/virtio/virtio_ethdev.h
b/drivers/net/virtio/virtio_ethdev.h
index 9026d42
Record virtual address of virtio net header.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_ethdev.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtio_ethdev.c
b/drivers/net/virtio/virtio_ethdev.c
index 465d3cd..cb5dfee 100644
The virtual addr for virtio net header need to be recorded.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtqueue.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtqueue.h b/drivers/net/virtio/virtqueue.h
index 7789411..530f840 100644
:
fill virtio device information for TX offloads.
Jijiang Liu (8):
add virtual address of virtio net header
store virtual address of virtio hdr
add vhost TX offload support capability in virtio-net
fill virtio device information for TX offloads.
add vhost TX offload support capability
Fixes an initialization issue of 'valid_group' in the delete_depth_small
function.
In this function, use new rte_lpm_tbl8_entry we call A to replace the old
rte_lpm_tbl8_entry. But the valid_group do not set VALID, so it
will be INVALID.
Then when adding a new route which depth is > 24,the
Fixes an issue of check logic in delete_depth_small function.
For a tbl24 entry, the 'ext_entry' field indicates whether we need to use
tbl8_gindex to read the next_hop from a tbl8 entry, or whether it can be read
directly from this entry.
If a route is deleted, the prefix of previous route is
Fixes two issues in the delete_depth_small() function.
v2 changes:
Split a patch into two patches for two issues.
Add more clear issue description.
*** BLURB HERE ***
Jijiang Liu (2):
fix an issue of condition check in delete_depth_small().
fix an initialization issue of valid_group
Change the vhost sample to support and test TX offload.
Signed-off-by: Jijiang Liu
---
examples/vhost/main.c | 128 ++---
1 files changed, 111 insertions(+), 17 deletions(-)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index 9eac2d0
Enqueue vhost TX checksum and TSO4/6 offload in virtio-net lib.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_rxtx.c | 61 ++
1 files changed, 61 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtio_rxtx.c b/drivers/net/virtio
Add vhost TSO support capability in vhost lib.
Signed-off-by: Jijiang Liu
---
lib/librte_vhost/virtio-net.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/lib/librte_vhost/virtio-net.c b/lib/librte_vhost/virtio-net.c
index d0f1764..a5989a2 100644
--- a/lib
Add vhost TX checksum and TSO capabilities in virtio-net lib.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_ethdev.h |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/drivers/net/virtio/virtio_ethdev.h
b/drivers/net/virtio/virtio_ethdev.h
index 9026d42
Record virtual address of virtio net header.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_ethdev.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtio_ethdev.c
b/drivers/net/virtio/virtio_ethdev.c
index 465d3cd..cb5dfee 100644
The virtual addr for virtio net header need to be recorded.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtqueue.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtqueue.h b/drivers/net/virtio/virtqueue.h
index 7789411..530f840 100644
for TX offloads.
Jijiang Liu (8):
add virtual address of virtio net header
store virtual address of virtio hdr
add vhost TX offload support capability in virtio-net
fill virtio device information for TX offloads.
add vhost TX offload support capability in vhost
enqueue TX offload
The change will affect on the csum fwd performance.
But I also think the change is necessary, or we cannot use csumonly fwd mode in
a VM.
Signed-off-by: Jijiang Liu
---
app/test-pmd/csumonly.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/app/test-pmd/csumonly.c
Change the vhost sample to support and test TX offload.
Signed-off-by: Jijiang Liu
---
examples/vhost/main.c | 128 ++---
1 files changed, 111 insertions(+), 17 deletions(-)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index 9eac2d0
Dequeue vhost TX offload in vhost lib.
Signed-off-by: Jijiang Liu
---
lib/librte_vhost/vhost_rxtx.c | 108 -
1 files changed, 107 insertions(+), 1 deletions(-)
diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c
index 7026bfa
Add vhost TX checksum and TSO support capability in vhost lib.
Signed-off-by: Jijiang Liu
---
lib/librte_vhost/virtio-net.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/lib/librte_vhost/virtio-net.c b/lib/librte_vhost/virtio-net.c
index d0f1764..a5989a2 100644
Record virtual address of virtio net header.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_ethdev.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtio_ethdev.c
b/drivers/net/virtio/virtio_ethdev.c
index 465d3cd..cb5dfee 100644
The virtual addr for virtio net header need to be recorded.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtqueue.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtqueue.h b/drivers/net/virtio/virtqueue.h
index 7789411..530f840 100644
support in the libs and
change vhost sample and csum application to test these changes.
[1]http://dpdk.org/ml/archives/dev/2015-September/023686.html
Jijiang Liu (8):
add virtual address of virtio net header
store virtual address of virtio hdr
add vhost TX offload support capability
, each vmdq pool has 4 queues, there will be required 316 queues in a port.
Signed-off-by: Jijiang Liu
---
config/common_bsdapp |2 +-
config/common_linuxapp |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/config/common_bsdapp b/config/common_bsdapp
index c2374c0
The change will affect on the csum fwd performance.
But I also think the change is necessary, or we cannot use csumonly fwd mode in
a VM.
Signed-off-by: Jijiang Liu
---
app/test-pmd/csumonly.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/app/test-pmd/csumonly.c
Change the vhost sample in order to support and test TSO offload.
Signed-off-by: Jijiang Liu
---
examples/vhost/main.c | 20 ++--
1 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index 1b137b9..482f7af 100644
Add host TSO support into vhost features bits
Signed-off-by: Jijiang Liu
---
lib/librte_vhost/virtio-net.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/lib/librte_vhost/virtio-net.c b/lib/librte_vhost/virtio-net.c
index b520ec5..2f9ac25 100644
--- a/lib
Dequeue host TSO4/6 offload in host side.
Signed-off-by: Jijiang Liu
---
lib/librte_vhost/vhost_rxtx.c | 29 -
1 files changed, 28 insertions(+), 1 deletions(-)
diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c
index 0d07338..b84ec64
Enqueue host TSO4/6 offload in guest side.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_rxtx.c | 28
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtio_rxtx.c b/drivers/net/virtio/virtio_rxtx.c
index c5b53bb
Record virtual address of virtio net header.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_ethdev.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtio_ethdev.c
b/drivers/net/virtio/virtio_ethdev.c
index 465d3cd..cb5dfee 100644
The virtual addr for virtio net header need to be recorded.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtqueue.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtqueue.h b/drivers/net/virtio/virtqueue.h
index 7789411..530f840 100644
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_ethdev.h |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/net/virtio/virtio_ethdev.h
b/drivers/net/virtio/virtio_ethdev.h
index 9026d42..3a66491 100644
--- a/drivers/net/virtio/virtio_ethdev.h
+++ b
The patch set add the negotiation between us-vhost and virtio-net for vhost TSO
feature, and enqueue/dequeue vhost TSO offload and change vhost sample and csum
application to test these.
*** BLURB HERE ***
Jijiang Liu (8):
add host TSO support in virtio_ethdev.h file
add virtual addr
The change will affect on the csum fwd performance.
But I also think the change is necessary, or we cannot use csumonly fwd mode in
a VM.
Signed-off-by: Jijiang Liu
---
app/test-pmd/csumonly.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/app/test-pmd/csumonly.c
Change the vhost sample in order to support and test TSO offload.
Signed-off-by: Jijiang Liu
---
examples/vhost/main.c | 20 ++--
1 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/examples/vhost/main.c b/examples/vhost/main.c
index 1b137b9..482f7af 100644
Add TSO into supported vhost features
Signed-off-by: Jijiang Liu
---
lib/librte_vhost/virtio-net.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/lib/librte_vhost/virtio-net.c b/lib/librte_vhost/virtio-net.c
index b520ec5..2f9ac25 100644
--- a/lib/librte_vhost
Dequeue vhost TSO offload
Signed-off-by: Jijiang Liu
---
lib/librte_vhost/vhost_rxtx.c | 29 -
1 files changed, 28 insertions(+), 1 deletions(-)
diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c
index 0d07338..9adfdb1 100644
--- a/lib
Enqueue TSO4/6 offload.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_rxtx.c | 23 +++
1 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtio_rxtx.c b/drivers/net/virtio/virtio_rxtx.c
index c5b53bb..4c2d838 100644
--- a/drivers
Record virtual address of virtio net header.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_ethdev.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtio_ethdev.c
b/drivers/net/virtio/virtio_ethdev.c
index 465d3cd..cb5dfee 100644
The virtual addr for virtio net header need to be recorded.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtqueue.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/virtio/virtqueue.h b/drivers/net/virtio/virtqueue.h
index 7789411..530f840 100644
Extend the VIRTIO_PMD_GUEST_FEATURES for supporting vhost TSO.
Signed-off-by: Jijiang Liu
---
drivers/net/virtio/virtio_ethdev.h |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/net/virtio/virtio_ethdev.h
b/drivers/net/virtio/virtio_ethdev.h
index 9026d42
The patch set add the negotiation between us-vhost and virtio-net for vhost TSO
feature, and enqueue/dequeue vhost TSO offload, and change vhost sample and
csum application to test these.
Jijiang Liu (8):
add host TSO support in virtio_ethdev.h file
add virtual addr for virtio net header
The i40e_xmit_pkts() is called, which often means HW offload is used here, so
we had better remove 'unlikely' check for checksum offload.
Signed-off-by: Jijiang Liu
---
drivers/net/i40e/i40e_rxtx.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/i40e
Add a comment for outer-ip option in csum command.
Set outer-ip option only when the packet is a IPv4 packet.
Signed-off-by: Jijiang Liu
---
doc/guides/testpmd_app_ug/testpmd_funcs.rst |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/doc/guides/testpmd_app_ug
The significant ABI change of all shared libraries is planned for struct
rte_eth_dev to support up to 1024 queues per port which will be taken effect
from release 2.2.
Signed-off-by: Jijiang Liu
---
doc/guides/rel_notes/abi.rst |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff
Revert the CONFIG_RTE_MAX_QUEUES_PER_PORT to 256.
The previous commit changed the size and the offsets of struct rte_eth_dev,
so it is an ABI breakage. I revert it, and will send a deprecation notice for
this.
Signed-off-by: Jijiang Liu
---
config/common_linuxapp |2 +-
1 files changed, 1
.
Signed-off-by: Jijiang Liu
Signed-off-by: Thomas Long
v2 changes:
optimize the two pictures
add tep_termination index in index.rst file
fix a typo and a command line
---
.../sample_app_ug/img/overlay_networking.svg | 786
.../sample_app_ug/img
1 - 100 of 319 matches
Mail list logo