pmd: add commands to test new offload API")
Cc: sta...@dpdk.org
Signed-off-by: Wei Dai
Tested-by: Yuan Peng
Acked-by: Bernard Iremonger
---
app/test-pmd/cmdline.c | 16
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 8
2 files changed,
pmd: add commands to test new offload API")
Cc: sta...@dpdk.org
Signed-off-by: Wei Dai
Tested-by: Yuan Peng
---
app/test-pmd/cmdline.c | 16
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 8
2 files changed, 12 insertions(+), 12 deletions
pmd: add commands to test new offload API")
Cc: sta...@dpdk.org
Signed-off-by: Wei Dai
---
app/test-pmd/cmdline.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
index 5885289..a0ed3a0 100644
--- a/app/tes
n VF")
Cc: sta...@dpdk.org
Signed-off-by: Wei Dai
Signed-off-by: Yanglong Wu
Acked-by: Qi Zhang
---
v5:
reduce redundant codes
add Fixes in git log message
v4:
fix typo error in git log message
v3:
keep vlan strip as per-queue capability
and support config vlan on port level on the
function ixgbe_vlan_offload_config() = old
ixgbe_vlan_offload_set().
New ixgbe_vlan_offload_set = codes to align VLAN strip flags on all
queues with port level setting + ixgbe_vlan_offload_configure().
Signed-off-by: Wei Dai
Signed-off-by: Yanglong Wu
---
v4:
fix typo error in git log message
v3
function ixgbe_vlan_offload_config() = old
ixgbe_vlan_offload_set().
New ixgbe_vlan_offload_set = codes to align VLAN strip flags on all
queues with port level setting + ixgbe_vlan_offload_configure().
Signed-off-by: Wei Dai
Signed-off-by: Yanglong Wu
---
drivers/net/ixgbe/ixgbe_ethdev.c | 69
ncpy by strlcpy")
Cc: sta...@dpdk.org
Signed-off-by: Wei Dai
---
drivers/bus/pci/linux/pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bus/pci/linux/pci.c b/drivers/bus/pci/linux/pci.c
index a73ee49..cc6b383 100644
--- a/drivers/bus/pci/linux/pci.c
+++ b/driver
some optimization or some
code change on base of this patch.
Signed-off-by: Wei Dai
Signed-off-by: Ferruh Yigit
Signed-off-by: Qi Zhang
---
v14:
rework on v13 according to feedback.
This v14 is also based on commit dc33238da4be
("app/testpmd: check if CRC strip offload supported&quo
some optimization or some
code change on base of this patch.
Signed-off-by: Wei Dai
Signed-off-by: Ferruh Yigit
Signed-off-by: Qi Zhang
---
v13:
only rework on v12 according to feedback.
This version is based on commit dc33238da4be
("app/testpmd: check if CRC strip offload supported&qu
some optimization or some
code change on base of this patch.
Signed-off-by: Wei Dai
Signed-off-by: Ferruh Yigit
Signed-off-by: Qi Zhang
---
v12:
fix coding style warning
v11:
This patch set is based on 18.05-rc2 .
document update according to feedback
revise rte_ethdev.h for doxygen
v10:
s
some optimization or some
code change on base of this patch.
Signed-off-by: Wei Dai
Signed-off-by: Ferruh Yigit
Signed-off-by: Qi Zhang
---
v11:
This patch set is based on 18.05-rc2 .
document update according to feedback
revise rte_ethdev.h for doxygen
v10:
sorry, miss the code change, fix
es.
Signed-off-by: Wei Dai
---
drivers/net/e1000/igb_rxtx.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/e1000/igb_rxtx.c b/drivers/net/e1000/igb_rxtx.c
index 128ed0b..5f729f2 100644
--- a/drivers/net/e1000/igb_rxtx.c
+++ b/drivers/net/e1000/igb_rxtx.c
oads to do some optimization or some
code change on base of this patch.
Signed-off-by: Wei Dai
Signed-off-by: Ferruh Yigit
Signed-off-by: Qi Zhang
---
v10:
sorry, miss the code change, fix the buidling error
v9:
replace RTE_PMD_DEBUG_TRACE with ethdev_log(ERR, in ethdev
to avoid failure o
oads to do some optimization or some
code change on base of this patch.
Signed-off-by: Wei Dai
Signed-off-by: Ferruh Yigit
Signed-off-by: Qi Zhang
---
v9:
replace RTE_PMD_DEBUG_TRACE with ethdev_log(ERR, in ethdev
to avoid failure of application which hasn't been completely
converted to ne
roduce Tx queue offloads API")
Cc: sta...@dpdk.org
Signed-off-by: Wei Dai
---
v2: fix coding style issues
---
lib/librte_ethdev/rte_ethdev.h | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h
index 7cc
the port is stopped.
And can be one of "vlan_insert", "udp_cksum", ...
Signed-off-by: Wei Dai
Acked-by: Jingjing Wu
---
v8:
Change the command formats according to feedback from community:
1. Change "[rt]x_offload get capabilit "
to "show port [r
to do some optimization or some
code change on base of this patch.
Signed-off-by: Wei Dai
Signed-off-by: Ferruh Yigit
Signed-off-by: Qi Zhang
---
v8:
Revise PMD codes to comply with offload API in v7
update document
v7:
Give the maximum freedom for upper application,
only minimal checking is
to do some optimization or some
code change on base of this patch.
Signed-off-by: Wei Dai
Signed-off-by: Ferruh Yigit
Signed-off-by: Qi Zhang
---
v8:
Revise PMD codes to comply with offload API in v7
update document
v7:
Give the maximum freedom for upper application,
only minimal checking is
eue but not enabled in
rte_eth_dev_configure( ) and they are certain per-queue type.
This patch can make above such checking in a common way in rte_ethdev
layer to avoid same checking in underlying PMD.
Signed-off-by: Wei Dai
Signed-off-by: Ferruh Yigit
---
v7:
Give the maximum freedom for upper app
).
This patch can make above such checking in a common way in rte_ethdev
layer to avoid same checking in underlying PMD.
Signed-off-by: Wei Dai
---
v6:
No need enable an offload in queue_setup( ) if it has already
been enabled in dev_configure( )
v5:
keep offload settings sent to PMD same
same checking in underlying PMD.
Signed-off-by: Wei Dai
---
lib/librte_ether/rte_ethdev.c | 56 +++
1 file changed, 56 insertions(+)
diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c
index f0f53d4..5485f47 100644
--- a/lib/librte_
same checking in underlying PMD.
Signed-off-by: Wei Dai
---
v4: fix a wrong description in git log message.
v3: rework according to dicision of offloading API in community
v2: add offloads checking in rte_eth_dev_configure( ).
check if a requested offloading is supported.
---
lib/librte_
cking in underlying PMD.
Signed-off-by: Wei Dai
---
v3: rework according to dicision of offloading API in community
v2: add offloads checking in rte_eth_dev_configure( ).
check if a requested offloading is supported.
---
lib/librte_ether/rte_ethdev.c
cking in underlying PMD.
Signed-off-by: Wei Dai
---
v3: rework according to dicision of offloading API in community
v2: add offloads checking in rte_eth_dev_configure( ).
check if a requested offloading is supported.
---
lib/librte_ether/rte_ethdev.c
cking in underlying PMD.
Signed-off-by: Wei Dai
---
v3: rework according to dicision of offloading API in community
v2: add offloads checking in rte_eth_dev_configure( ).
check if a requested offloading is supported.
---
lib/librte_ether/rte_ethdev.c
This patch adds missing supported Tx multi-segs offloading.
Fixes: 51215925a32f ("net/ixgbe: convert to new Tx offloads API")
Cc: sta...@dpdk.org
Signed-off-by: Wei Dai
---
drivers/net/ixgbe/ixgbe_rxtx.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers
pdk.org
Signed-off-by: Wei Dai
---
drivers/net/ixgbe/ixgbe_ethdev.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index a5e2fc0..33ee52e 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/i
"vlan_insert", "udp_cksum", ...
Signed-off-by: Wei Dai
Acked-by: Jingjing Wu
---
app/test-pmd/cmdline.c | 382
app/test-pmd/testpmd.c | 15 +-
app/test-pmd/testpmd.h | 1 +
doc/g
"vlan_strip", "ipv4_cksum", ...
Signed-off-by: Wei Dai
Acked-by: Jingjing Wu
---
app/test-pmd/cmdline.c | 377
app/test-pmd/testpmd.c | 19 +-
app/test-pmd/testpmd.h | 1 +
doc/g
m|...
Same commands like "tx_offload ..." are also added to support new Tx offload
API test.
Signed-off-by: Wei Dai
Acked-by: Jingjing Wu
---
v7:
update testpmd document
v6:
reconfig port and queues if offloading is enabled or disabled
v5:
don't depend on enum types
Ethdev Rx offloads API has changed since:
commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API")
This commit support the new Rx offloads API.
Signed-off-by: Wei Dai
---
drivers/net/e1000/e1000_ethdev.h | 8 +++
drivers/net/e1000/em_ethdev.c| 42 ++-
drivers
number of queues is only one in
Rx or Tx path, let all offloads in the path are per queue for better
convenience.
---
v2: add offloads checking
Wei Dai (2):
net/e1000: convert to new Rx offloads API
net/e1000: convert to new Tx offloads API
drivers/net/e1000/e1000_ethdev.h | 14
drivers
Ethdev Tx offloads API has changed since:
commit cba7f53b717d ("ethdev: introduce Tx queue offloads API")
This commit support the new Tx offloads API.
Signed-off-by: Wei Dai
---
drivers/net/e1000/e1000_ethdev.h | 6
drivers/net/e1000/em_ethdev.c| 16 +++
drivers
same configuration in rte_eth_dev_configure( ) and
rte_eth_rx_queue_setup( )/rte_eth_tx_queue_setup( ).
This patch can make such checking in a common way in
rte_ethdev layer to avoid same checking in underlying PMD.
Signed-off-by: Wei Dai
---
v2: add offlaods checking in rte_eth_dev_configure
Ethdev Tx offloads API has changed since:
commit cba7f53b717d ("ethdev: introduce Tx queue offloads API")
This commit support the new Rx and Tx offloads API.
Signed-off-by: Wei Dai
---
drivers/net/fm10k/fm10k.h | 1 +
drivers/net/fm10k/fm10k_ethde
Ethdev Rx offloads API has changed since:
commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API")
This commit support the new Rx offloads API.
Signed-off-by: Wei Dai
---
drivers/net/fm10k/fm10k.h | 1 +
drivers/net/fm10k/fm10k_ethde
This patch set support new offloads API in fm10k PF and VF.
---
v2:
Add Header_Split in per port Rx capability.
Add Rx/Tx offloading checking
Wei Dai (2):
net/fm10k: convert to new Rx offloads API
net/fm10k: convert to new Tx offloads API
drivers/net/fm10k/fm10k.h | 2
ev_tx_offload_name().
remove static const strings of Rx/Tx offload names.
Wei Dai (2):
app/testpmd: add commands to test new Rx offload API
app/testpmd: add commands to test new Tx offload API
app/test-pmd/cmdline.c | 759 +
app/test-pmd/testp
"vlan_strip", "ipv4_cksum", ...
Signed-off-by: Wei Dai
---
app/test-pmd/cmdline.c | 377 +
app/test-pmd/testpmd.c | 19 ++-
app/test-pmd/testpmd.h | 1 +
3 files changed, 395 insertions(+), 2 deletions(-)
diff --git a/app/test
"vlan_insert", "udp_cksum", ...
Signed-off-by: Wei Dai
---
app/test-pmd/cmdline.c | 382 +
app/test-pmd/testpmd.c | 15 +-
app/test-pmd/testpmd.h | 1 +
3 files changed, 396 insertions(+), 2 deletions(-)
diff --git a/app/test
Ethdev Rx offloads API has changed since:
commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API")
This commit support the new Rx offloads API.
Signed-off-by: Wei Dai
---
drivers/net/ixgbe/ixgbe_ethdev.c | 93 +++---
drivers/net/ixgbe/ixgbe_ipsec.c
Ethdev Tx offloads API has changed since:
commit cba7f53b717d ("ethdev: introduce Tx queue offloads API")
This commit support the new Tx offloads API.
Signed-off-by: Wei Dai
---
drivers/net/ixgbe/ixgbe_ethdev.c | 56 +---
drivers/net/ixgbe/ixgbe_ips
VLAN strip is a per queue offloading in VF. With this patch
it can be enabled or disabled on any Rx queue in VF.
Signed-off-by: Wei Dai
---
drivers/net/ixgbe/ixgbe_ethdev.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net
VLAN strip is a per queue offloading in PF. With this patch
it can be enabled or disabled on any Rx queue in PF.
Signed-off-by: Wei Dai
---
drivers/net/ixgbe/ixgbe_ethdev.c | 109 +--
drivers/net/ixgbe/ixgbe_ethdev.h | 4 +-
drivers/net/ixgbe/ixgbe_pf.c
anmit function only work without any Tx offloads.
v2: improve error checking
Wei Dai (4):
net/ixgbe: support VLAN strip per queue offloading in PF
net/ixgbe: support VLAN strip per queue offloading in VF
net/ixgbe: convert to new Rx offloads API
net/ixgbe: convert to new Tx offload
ETH_TX_OFFLOAD_FIRST_FEATURE and end at
ETH_TX_OFFLOAD_TOTAL_NUM.
Signed-off-by: Wei Dai
---
lib/librte_ether/rte_ethdev.h | 44 +++
1 file changed, 44 insertions(+)
diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h
index 0361533..0089ea3 100644
--- a/lib
"vlan_strip", "ipv4_cksum", ...
Signed-off-by: Wei Dai
---
app/test-pmd/cmdline.c | 373 +
app/test-pmd/testpmd.c | 19 ++-
app/test-pmd/testpmd.h | 1 +
3 files changed, 391 insertions(+), 2 deletions(-)
diff --git a/app/test
"vlan_insert", "udp_cksum", ...
Signed-off-by: Wei Dai
---
app/test-pmd/cmdline.c | 378 +
app/test-pmd/testpmd.c | 15 +-
app/test-pmd/testpmd.h | 1 +
3 files changed, 392 insertions(+), 2 deletions(-)
diff --git a/app/test
uration of all queues.
v3:
add enum rte_eth_rx_offload_type and enum rte_eth_tx_offload_type
free memory of port->rx_offloads and port->tx_offloads when testpmd is
existed
v2:
use rte_eth_dev_rx_offload_name() and rte_eth_dev_tx_offload_name().
remove static const strings of Rx/Tx offload names
"vlan_insert", "udp_cksum", ...
Signed-off-by: Wei Dai
---
app/test-pmd/cmdline.c | 379 +
app/test-pmd/testpmd.c | 15 +-
app/test-pmd/testpmd.h | 1 +
3 files changed, 393 insertions(+), 2 deletions(-)
diff --git a/app/test
"vlan_strip", "ipv4_cksum", ...
Signed-off-by: Wei Dai
---
app/test-pmd/cmdline.c | 374 +
app/test-pmd/testpmd.c | 19 ++-
app/test-pmd/testpmd.h | 1 +
3 files changed, 392 insertions(+), 2 deletions(-)
diff --git a/app/test
ETH_TX_OFFLOAD_FIRST_FEATURE and end at
ETH_TX_OFFLOAD_TOTAL_NUM.
Signed-off-by: Wei Dai
---
lib/librte_ether/rte_ethdev.h | 44 +++
1 file changed, 44 insertions(+)
diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h
index 0361533..0089ea3 100644
--- a/lib
th_tx_offload_type
free memory of port->rx_offloads and port->tx_offloads when testpmd is
existed
v2:
use rte_eth_dev_rx_offload_name() and rte_eth_dev_tx_offload_name().
remove static const strings of Rx/Tx offload names.
Wei Dai (3):
ethdev: add enum type for loop on Rx/Tx
"vlan_insert", "udp_cksum", ...
Signed-off-by: Wei Dai
---
app/test-pmd/cmdline.c | 379 +
app/test-pmd/testpmd.c | 15 +-
app/test-pmd/testpmd.h | 1 +
3 files changed, 393 insertions(+), 2 deletions(-)
diff --git a/app/test
"vlan_strip", "ipv4_cksum", ...
Signed-off-by: Wei Dai
---
app/test-pmd/cmdline.c | 374 +
app/test-pmd/testpmd.c | 19 ++-
app/test-pmd/testpmd.h | 1 +
3 files changed, 392 insertions(+), 2 deletions(-)
diff --git a/app/test
th_tx_offload_type
free memory of port->rx_offloads and port->tx_offloads when testpmd is
existed
v2:
use rte_eth_dev_rx_offload_name() and rte_eth_dev_tx_offload_name().
remove static const strings of Rx/Tx offload names.
Wei Dai (3):
ethdev: add enum type for loop on Rx/Tx
ETH_TX_OFFLOAD_FIRST_FEATURE and end at
ETH_TX_OFFLOAD_TOTAL_NUM.
Signed-off-by: Wei Dai
---
lib/librte_ether/rte_ethdev.h | 44 +++
1 file changed, 44 insertions(+)
diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h
index 0361533..0089ea3 100644
--- a/lib
Ethdev Tx offloads API has changed since:
commit cba7f53b717d ("ethdev: introduce Tx queue offloads API")
This commit support the new Tx offloads API.
Signed-off-by: Wei Dai
---
drivers/net/ixgbe/ixgbe_ethdev.c | 56 +---
drivers/net/ixgbe/ixgbe_ips
Ethdev Rx offloads API has changed since:
commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API")
This commit support the new Rx offloads API.
Signed-off-by: Wei Dai
---
drivers/net/ixgbe/ixgbe_ethdev.c | 93 +
drivers/net/ixgbe/ixgbe_ipsec.c
VLAN strip is a per queue offloading in VF. With this patch
it can be enabled or disabled on any Rx queue in VF.
Signed-off-by: Wei Dai
---
drivers/net/ixgbe/ixgbe_ethdev.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net
.
v2: improve error checking
Wei Dai (4):
net/ixgbe: support VLAN strip per queue offloading in PF
net/ixgbe: support VLAN strip per queue offloading in VF
net/ixgbe: convert to new Rx offloads API
net/ixgbe: convert to new Tx offloads API
drivers/net/ixgbe/ixgbe_ethdev.c
VLAN strip is a per queue offloading in PF. With this patch
it can be enabled or disabled on any Rx queue in PF.
Signed-off-by: Wei Dai
---
drivers/net/ixgbe/ixgbe_ethdev.c | 109 +--
drivers/net/ixgbe/ixgbe_ethdev.h | 4 +-
drivers/net/ixgbe/ixgbe_pf.c
ETH_TX_OFFLOAD_FIRST_FEATURE and end at
ETH_TX_OFFLOAD_TOTAL_NUM.
Signed-off-by: Wei Dai
---
lib/librte_ether/rte_ethdev.h | 44 +++
1 file changed, 44 insertions(+)
diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h
index 0361533..0089ea3 100644
--- a/lib
type
free memory of port->rx_offloads and port->tx_offloads when testpmd is
existed
v2:
use rte_eth_dev_rx_offload_name() and rte_eth_dev_tx_offload_name().
remove static const strings of Rx/Tx offload names.
Wei Dai (3):
ethdev: add enum type for loop on Rx/Tx offloads
app/tes
"vlan_strip", "ipv4_cksum", ...
Signed-off-by: Wei Dai
---
app/test-pmd/cmdline.c | 367 +
app/test-pmd/testpmd.c | 19 ++-
app/test-pmd/testpmd.h | 1 +
3 files changed, 385 insertions(+), 2 deletions(-)
diff --git a/app/test
"vlan_insert", "udp_cksum", ...
Signed-off-by: Wei Dai
---
app/test-pmd/cmdline.c | 372 +
app/test-pmd/testpmd.c | 15 +-
app/test-pmd/testpmd.h | 1 +
3 files changed, 386 insertions(+), 2 deletions(-)
diff --git a/app/test
ad_name().
remove static const strings of Rx/Tx offload names.
Wei Dai (2):
app/testpmd: add commands to test new Rx offload API
app/testpmd: add commands to test new Tx offload API
app/test-pmd/cmdline.c | 863 +
app/test-pmd/testpmd.c | 28
"vlan_insert", "udp_cksum", ...
Signed-off-by: Wei Dai
---
app/test-pmd/cmdline.c | 439 +
app/test-pmd/testpmd.c | 13 +-
app/test-pmd/testpmd.h | 1 +
3 files changed, 451 insertions(+), 2 deletions(-)
diff --git a/app/test
"vlan_strip", "ipv4_cksum", ...
Signed-off-by: Wei Dai
---
app/test-pmd/cmdline.c | 424 +
app/test-pmd/testpmd.c | 15 +-
app/test-pmd/testpmd.h | 1 +
3 files changed, 438 insertions(+), 2 deletions(-)
diff --git a/app/test
when the port is stopped.
Signed-off-by: Wei Dai
---
app/test-pmd/cmdline.c | 456 +
app/test-pmd/testpmd.c | 15 +-
app/test-pmd/testpmd.h | 1 +
3 files changed, 470 insertions(+), 2 deletions(-)
diff --git a/app/test-pmd/cmdline.c b/app/test
when the port is stopped.
Signed-off-by: Wei Dai
---
app/test-pmd/cmdline.c | 474 +
app/test-pmd/testpmd.c | 13 +-
app/test-pmd/testpmd.h | 1 +
3 files changed, 486 insertions(+), 2 deletions(-)
diff --git a/app/test-pmd/cmdline.c b/app/test
r disable a Tx per port offloading, please run:
testpmd > rx_offload enable|disable per_queue vlan_strip|ipv4_cksum|...
Same commands like "tx_offload ..." are also added to support new Tx offload
API test.
Wei Dai (2):
app/testpmd: add commands to test new Rx offload API
a
VLAN strip is a per queue offloading in PF. With this patch
it can be enabled or disabled on any Rx queue in PF.
Signed-off-by: Wei Dai
---
drivers/net/ixgbe/ixgbe_ethdev.c | 109 +--
drivers/net/ixgbe/ixgbe_ethdev.h | 4 +-
drivers/net/ixgbe/ixgbe_pf.c
Ethdev Rx offloads API has changed since:
commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API")
This commit support the new Rx offloads API.
Signed-off-by: Wei Dai
---
drivers/net/ixgbe/ixgbe_ethdev.c | 93 +
drivers/net/ixgbe/ixgbe_ipsec.c
This patch set adds support of per queue VLAN strip offloading
in ixgbe PF and VF.
This patch support new offloads API in ixgbe PF and VF.
---
v2: improve error checking
Wei Dai (4):
net/ixgbe: support VLAN strip per queue offloading in PF
net/ixgbe: support VLAN strip per queue offloading
Ethdev Tx offloads API has changed since:
commit cba7f53b717d ("ethdev: introduce Tx queue offloads API")
This commit support the new Tx offloads API.
Signed-off-by: Wei Dai
---
drivers/net/ixgbe/ixgbe_ethdev.c | 56 +--
drivers/net/ixgbe/ixgbe_ipsec.c | 5 ++
VLAN strip is a per queue offloading in VF. With this patch
it can be enabled or disabled on any Rx queue in VF.
Signed-off-by: Wei Dai
---
drivers/net/ixgbe/ixgbe_ethdev.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net
Ethdev Rx offloads API has changed since:
commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API")
Ethdev Tx offloads API has changed since:
commit cba7f53b717d ("ethdev: introduce Tx queue offloads API")
This commit support the new Rx and Tx offloads API.
Si
Ethdev Tx offloads API has changed since:
commit cba7f53b717d ("ethdev: introduce Tx queue offloads API")
This commit support the new Tx offloads API.
Signed-off-by: Wei Dai
---
drivers/net/e1000/em_ethdev.c | 1 +
drivers/net/e1000/em_rxtx.c| 3 +++
drivers/net/e1000/igb_et
Ethdev Rx offloads API has changed since:
commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API")
This commit support the new Rx offloads API.
Signed-off-by: Wei Dai
---
drivers/net/e1000/em_ethdev.c | 32 +++-
drivers/net/e1000/em_rxtx
number of queues is only one in
Rx or Tx path, let all offloads in the path are per queue for better
convenience.
Wei Dai (2):
net/e1000: convert to new Rx offloads API
net/e1000: convert to new Tx offloads API
drivers/net/e1000/em_ethdev.c | 33 +++-
drivers/net/e1000/em_rxtx.c
VLAN strip is a per queue offloading in VF. With this patch
it can be enabled or disabled on any Rx queue in VF.
Signed-off-by: Wei Dai
---
drivers/net/ixgbe/ixgbe_ethdev.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net
Ethdev Rx offloads API has changed since:
commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API")
This commit support the new Rx offloads API.
Signed-off-by: Wei Dai
---
drivers/net/ixgbe/ixgbe_ethdev.c | 88 +-
drivers/net/ixgbe/ixgbe_ipsec.c
Ethdev Tx offloads API has changed since:
commit cba7f53b717d ("ethdev: introduce Tx queue offloads API")
This commit support the new Tx offloads API.
Signed-off-by: Wei Dai
---
drivers/net/ixgbe/ixgbe_ethdev.c | 40 +++--
drivers/net/ixgbe/ixgbe_ipsec.c | 5 +++
VLAN strip is a per queue offloading in PF. With this patch
it can be enabled or disabled on any Rx queue in PF.
Signed-off-by: Wei Dai
---
drivers/net/ixgbe/ixgbe_ethdev.c | 109 +--
drivers/net/ixgbe/ixgbe_ethdev.h | 4 +-
drivers/net/ixgbe/ixgbe_pf.c
This patch set adds support of per queue VLAN strip offloading
in ixgbe PF and VF.
This patch support new offloads API in ixgbe PF and VF.
Wei Dai (4):
net/ixgbe: support VLAN strip per queue offloading in PF
net/ixgbe: support VLAN strip per queue offloading in VF
net/ixgbe: convert to new
( )/rte_eth_tx_queue_setup( ).
This patch can make such checking in a common way in
rte_ethdev layer to avoid same checking in underlying PMD.
Signed-off-by: Wei Dai
---
lib/librte_ether/rte_ethdev.c | 70 +++
1 file changed, 70 insertions(+)
diff --git a/lib
roduce Tx queue offloads API")
Cc: sta...@dpdk.org
Signed-off-by: Wei Dai
---
lib/librte_ether/rte_ethdev.h | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h
index 0361533..6ab6552 100644
--- a/lib/librt
nvalid txq setting and keeps its last correct value.
Fixes: ce8d561418d4 ("app/testpmd: add port configuration settings")
Cc: sta...@dpdk.org
Signed-off-by: Wei Dai
Acked-by: Konstantin Ananyev
Tested-by: Yuan Peng
---
app/test-pmd/cmdline.c| 2 ++
app/test-pmd/parameters.c | 6
nvalid rxq setting and keeps its last correct value.
Fixes: ce8d561418d4 ("app/testpmd: add port configuration settings")
Cc: sta...@dpdk.org
Signed-off-by: Wei Dai
Acked-by: Konstantin Ananyev
Tested-by: Yuan Peng
---
app/test-pmd/cmdline.c| 2 ++
app/test-pmd/parameters.c |
d testpmd keeps last correct values of nb_rxq and nb_txq.
Fixes: ce8d561418d4 ("app/testpmd: add port configuration settings")
Cc: sta...@dpdk.org
Signed-off-by: Wei Dai
Aced-by: Konstantin Ananyev
Tested-by: Yuan Peng
---
v6: same as v5. only correct patchwork mail format error
nvalid txq setting and keeps its last correct value.
Fixes: ce8d561418d4 ("app/testpmd: add port configuration settings")
Cc: sta...@dpdk.org
Signed-off-by: Wei Dai
Acked-by: Konstantin Ananyev
---
app/test-pmd/cmdline.c| 2 ++
app/test-pmd/parameters.c | 6 +++---
app/test-p
nvalid rxq setting and keeps its last correct value.
Fixes: ce8d561418d4 ("app/testpmd: add port configuration settings")
Cc: sta...@dpdk.org
Signed-off-by: Wei Dai
Acked-by: Konstantin Ananyev
---
app/test-pmd/cmdline.c| 2 ++
app/test-pmd/parameters.c | 7 ---
app/test-p
d
testpmd keeps last correct values of nb_rxq and nb_txq.
Fixes: ce8d561418d4 ("app/testpmd: add port configuration settings")
Cc: sta...@dpdk.org
Signed-off-by: Wei Dai
Aced-by: Konstantin Ananyev
---
v5: fix building failure with -Werror=maybe-uninitialized by gcc 5.3.1
fix t
d
testpmd keeps last correct values of nb_rxq and nb_txq.
Fixes: ce8d561418d4 ("app/testpmd: add port configuration settings")
Cc: sta...@dpdk.org
Signed-off-by: Wei Dai
Aced-by: Konstantin Ananyev
---
v4: update git log message and rename 2 new added functions
v3: follow the guide
nvalid rxq setting and keeps its last correct value.
Fixes: ce8d561418d4 ("app/testpmd: add port configuration settings")
Cc: sta...@dpdk.org
Signed-off-by: Wei Dai
Acked-by: Konstantin Ananyev
---
app/test-pmd/cmdline.c| 2 ++
app/test-pmd/parameters.c | 7 ---
app/test-p
nvalid txq setting and keeps its last correct value.
Fixes: ce8d561418d4 ("app/testpmd: add port configuration settings")
Cc: sta...@dpdk.org
Signed-off-by: Wei Dai
Acked-by: Konstantin Ananyev
---
app/test-pmd/cmdline.c| 2 ++
app/test-pmd/parameters.c | 6 +++---
app/test-p
8d561418d4 ("app/testpmd: add port configuration settings")
Cc: sta...@dpdk.org
Signed-off-by: Wei Dai
---
app/test-pmd/cmdline.c| 2 ++
app/test-pmd/parameters.c | 7 ---
app/test-pmd/testpmd.c| 47 +++
app/test-pmd/testpmd.h
8d561418d4 ("app/testpmd: add port configuration settings")
Cc: sta...@dpdk.org
Signed-off-by: Wei Dai
---
app/test-pmd/cmdline.c| 2 ++
app/test-pmd/parameters.c | 6 +++---
app/test-pmd/testpmd.c| 47 +++
app/test-pmd/testpmd.h| 2
rash.
Fixes: ce8d561418d4 ("app/testpmd: add port configuration settings")
Cc: sta...@dpdk.org
Signed-off-by: Wei Dai
---
v3: follow the guide from Konstantin to use functions to check
input rxq and txq instead of usage of new added global variables.
v2: fix a bug in v1
Wei
1 - 100 of 363 matches
Mail list logo