Dump ICE ddp runtime switch rule binary via following command:
testpmd> ddp dump switch
You can covert the binary file to readable texture via dpdt tool.
Signed-off-by: Steve Yang
---
drivers/net/ice/ice_ddp_package.c | 93 +++
drivers/net/ice/ice_testpm
Dump ICE ddp runtime switch rule binary via following command:
testpmd> ddp dump switch
You can covert the binary file to readable texture via dpdt tool.
Signed-off-by: Steve Yang
---
drivers/net/ice/ice_ddp_package.c | 93 +++
drivers/net/ice/ice_ethde
‘__builtin___sprintf_chk’ may write a terminating nul past the end of
the destination [-Werror=format-overflow=]
Enlarge string size to avoid this warning.
Fixes: f2a3245e7aec ("net/ice: support ddp dump switch rule binary")
Signed-off-by: Steve Yang
---
drivers/net/ice/ice_ddp_pac
Protocol header count should be changed when tunnel level is larger than 1.
Fixes: 13a7dcddd8ee ("net/iavf: fix taninted scalar")
Signed-off-by: Steve Yang
---
drivers/net/iavf/iavf_hash.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/iavf/iav
ixes: ef4c16fd9148 ("net/i40e: refactor RSS flow")
Cc: sta...@dpdk.org
Signed-off-by: Steve Yang
---
v3:
- add Cc stable line.
v2:
- add the fix line.
- support simple_xor and toeplitz hash functions explicitly.
drivers/net/i40e/i40e_hash.c | 20 ++--
1 file changed, 14 in
> ddp dump 0 current.pkg
If you want to dump ice VF DDP runtime configure, you need bind other
unused PF port of the NIC first, and then dump the PF's runtime configure
as target output.
Signed-off-by: Steve Yang
---
drivers/net/ice/ice_ddp_package.c | 418 ++
> ddp dump 0 current.pkg
If you want to dump ice VF DDP runtime configure, you need bind other
unused PF port of the NIC first, and then dump the PF's runtime configure
as target output.
Signed-off-by: Steve Yang
---
drivers/net/ice/ice_ddp_package.c | 418 ++
Added the following 2 items of ice_eth_dev_ops for ice:
- ice_get_module_info
- ice_get_module_eeprom
Fixed stack overflow error when displaying a large size info.
Steve Yang (2):
net/ice: add module EEPROM ops for ice
app/testpmd: fix stack overflow for EEPROM display
app/test-pmd
Add new callbacks for eth_dev_ops of ice to get the information
and data of plugin module EEPROM.
Signed-off-by: Steve Yang
---
drivers/net/ice/ice_ethdev.c | 160 +++
drivers/net/ice/ice_ethdev.h | 25 ++
2 files changed, 185 insertions(+)
diff --git a
When the size of EEPROM exceeds the default thread stack size(8MB),
e.g.: 10Mb size, it will be cashed with stack overflow.
Allocate the data of EPPROM information on the heap.
Fixes: 6b67721dee2a ("app/testpmd: add EEPROM command")
Signed-off-by: Steve Yang
---
app/test-pmd/con
s leading to the check.
Coverity issue: 375065
Fixes: fd8480e61490 ("net/ice: support module EEPROM")
Cc: sta...@dpdk.org
Signed-off-by: Steve Yang
---
drivers/net/ice/ice_ethdev.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ice/ice_ethdev.c b/dr
p 0 current.pkg
If you want to dump ice VF ddp package, you need bind other unused PF port
of the NIC first, and then dump the PF ddp package as target output.
Steve Yang (2):
net/ice: support dump ice ddp package
app/testpmd: support dump_pkg command for ice
app/test-pmd/cmdline.c|
Send the AQ command to acquire ice ddp package, and dump the binary to
output file.
Export rte dump package API (rte_pmd_ice_dump_package) for application.
Signed-off-by: Steve Yang
---
drivers/net/ice/ice_ddp_package.c | 418 ++
drivers/net/ice/ice_ethdev.c
p 0 current.pkg
If you want to dump ice VF ddp package, you need bind other unused PF port
of the NIC first, and then dump the PF ddp package as target output.
Signed-off-by: Steve Yang
---
app/test-pmd/cmdline.c | 74 ++
1 file changed, 74 insertions(+)
diff --
p 0 current.pkg
If you want to dump ice VF ddp package, you need bind other unused PF port
of the NIC first, and then dump the PF ddp package as target output.
---
v2:
- fixed compiling issue
- fixed unused variables warning
Steve Yang (2):
net/ice: support dump ice ddp package
app/testpmd: supp
Send the AQ command to acquire ice ddp package, and dump the binary to
output file.
Export rte dump package API (rte_pmd_ice_dump_package) for application.
Signed-off-by: Steve Yang
---
drivers/net/ice/ice_ddp_package.c | 418 ++
drivers/net/ice/ice_ethdev.c
p 0 current.pkg
If you want to dump ice VF ddp package, you need bind other unused PF port
of the NIC first, and then dump the PF ddp package as target output.
Signed-off-by: Steve Yang
---
app/test-pmd/cmdline.c | 74
app/test-pmd/meson.build | 3 ++
2 fi
> ddp dump 0 current.pkg
If you want to dump ice VF DDP runtime configure, you need bind other
unused PF port of the NIC first, and then dump the PF's runtime configure
as target output.
Signed-off-by: Steve Yang
---
v3: change git commit log
---
app/test-pmd/cmdline.
The requirement to support filter by
dst MAC + outer VLAN id + inner VLAN id + dst IP + dst port.
Currently we only support pattern eth / vlan/ vlan/ IP,
in switch filter, the request to add l4 support as
eth / vlan / vlan / IP / udp|tcp.
Steve Yang (2):
net/ice: add L4 support for QinQ switch
Add L4 support for QinQ switch filter as following flow patterns:
eth / vlan / vlan / ipv4 / udp
eth / vlan / vlan / ipv4 / tcp
eth / vlan / vlan / ipv6 / udp
eth / vlan / vlan / ipv6 / tcp
Signed-off-by: Steve Yang
---
drivers/net/ice/ice_generic_flow.c | 4
drivers/net/ice
is 400 / end actions vf id 1 / end
Signed-off-by: Steve Yang
---
drivers/net/ice/base/ice_switch.c | 173 +-
1 file changed, 168 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ice/base/ice_switch.c
b/drivers/net/ice/base/ice_switch.c
index 9179f66c20
tarted;
3. When rx/tx queue offloads capabilities aren't specified, the rx/tx queue
setup will be failed once the port offloads changed.
---
v3:
* rebased code to latest;
* splited to 3 commits;
v2:
* moved the update logic to 'rxtx_port_config';
* added the 'tx_conf
een used for other purposes in many
places now, even though the 'max_rx_pkt_len' is expected 'Only used if
JUMBO_FRAME enabled'.
For examples,
'max_rx_pkt_len' perhaps can be used as the 'rx_ctx.rxmax' in i40e.
Fixes: bf0f90d92d30 ("ethdev: fix max
)', and detect if 'max_rx_pkt_len'
should be update to 1500 + overhead as default configuration.
Fixes: 761c4d6690 ("app/testpmd: fix max Rx packet length for VLAN packets")
Signed-off-by: Steve Yang
---
app/test-pmd/cmdline.c| 1 +
app/test-pmd/parameters.c |
estpmd: fix offload flags after port config")
Signed-off-by: Steve Yang
---
app/test-pmd/testpmd.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c
index a2c9aad960..8307c7f9e9 100644
--- a/app/te
e update logic to 'rxtx_port_config';
* added the 'tx_conf' part;
* optimized the 'default' assignment;
---
Steve Yang (2):
ethdev: fix MTU doesn't update when jumbo frame disabled
app/testpmd: fix max-pkt-len option invalid
app/test-pmd/cmdline.c | 1
een used for other purposes in many
places now, even though the 'max_rx_pkt_len' is expected 'Only used if
JUMBO_FRAME enabled'.
For examples,
'max_rx_pkt_len' perhaps can be used as the 'rx_ctx.rxmax' in i40e.
Fixes: bf0f90d92d30 ("ethdev: fix max
per-queue offload capabilities 0x0 in rte_eth_rx_queue_setup()
Fail to configure port 0 rx queues //<-- Fail error info;
------
Fixes: 761c4d6690 ("app/testpmd: fix max Rx packet length for VLAN packets")
Signed-off-by: Steve Yang
---
app/test-pmd/cmdline.c| 1 +
app/test-pmd/parameters.
Add a known issue: configuring VLAN filters from VF is unsupported
for driver 2.17.15.
Signed-off-by: Steve Yang
---
doc/guides/nics/i40e.rst | 7 +++
1 file changed, 7 insertions(+)
diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst
index 4875774346..78247a496d 100644
--- a
When DDP package state is 'ICE_DDP_PKG_SAME_VERSION_ALREADY_LOADED',
it should be treated as success state, otherwise, the wrong state will
be used within 'ice_load_pkg'.
Fixes: 58e9fd55be0e ("net/ice/base: refactor DDP code")
Signed-off-by: Steve Yang
---
driv
Add a known issue: configuring VLAN filters from VF is unsupported
for i40e driver 2.17.15.
Signed-off-by: Steve Yang
---
doc/guides/nics/intel_vf.rst | 7 +++
1 file changed, 7 insertions(+)
diff --git a/doc/guides/nics/intel_vf.rst b/doc/guides/nics/intel_vf.rst
index 09e1eb7685
7;
e.g.: port config 0 udp_tunnel_port add vxlan-gpe 250
- enable rss via command 'port config all rss all'
Signed-off-by: Steve Yang
---
drivers/net/i40e/base/i40e_type.h | 15 ++
drivers/net/i40e/i40e_ethdev.c| 168 +++-
drivers/net/i40e/i4
: support PPPoL2TPv2oUDP RSS Hash")
Signed-off-by: Steve Yang
---
drivers/net/iavf/iavf_hash.c | 15 +--
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/drivers/net/iavf/iavf_hash.c b/drivers/net/iavf/iavf_hash.c
index dea4e0aa0a..71c80d2c75 100644
--- a/drivers/net/i
ze to avoid data downcast.
Coverity issue: 381131
Fixes: 91f27b2e39ab ("net/iavf: refactor RSS")
Signed-off-by: Steve Yang
---
drivers/net/iavf/iavf_hash.c | 22 +-
1 file changed, 9 insertions(+), 13 deletions(-)
diff --git a/drivers/net/iavf/iavf_hash.c b/drivers/net/
ze to avoid data downcast.
Coverity issue: 381131
Fixes: 91f27b2e39ab ("net/iavf: refactor RSS")
Signed-off-by: Steve Yang
---
drivers/net/iavf/iavf_hash.c | 22 +-
1 file changed, 9 insertions(+), 13 deletions(-)
diff --git a/drivers/net/iavf/iavf_hash.c b/drive
ice & i40e doesn't support transfer attribute of flow rule,
ignore it when validating rule attributes.
Steve Yang (2):
net/i40e: fix unsupported flow rule transfer attribute
net/ice: fix unsupported flow rule transfer attribute
drivers/net/i40e/i40e_flow.c | 8
dr
i40e doesn't support transfer attribute of flow rule,
ignore it when validating rule attributes.
Fixes: 86eb05d6350b ("net/i40e: add flow validate function")
Signed-off-by: Steve Yang
---
drivers/net/i40e/i40e_flow.c | 8
1 file changed, 8 insertions(+)
diff --git a/d
ice doesn't support transfer attribute of flow rule,
ignore it when validating rule attributes.
Fixes: d76116a4678f ("net/ice: add generic flow API")
Signed-off-by: Steve Yang
---
drivers/net/ice/ice_generic_flow.c | 8
1 file changed, 8 insertions(+)
diff --git a/
Add a known issue: configuring VLAN filters from VF is unsupported
for driver 2.17.15.
Signed-off-by: Steve Yang
---
doc/guides/nics/i40e.rst | 7 +++
1 file changed, 7 insertions(+)
diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst
index 4875774346..abb99406b3 100644
--- a
FDIR rules with masks are not supported in current code. Thus add
pattern check for IPv4/UDP/TCP/SCTP addr/port to terminate the FDIR
programming stage.
Fixes: d5eb3e600d9e ("net/iavf: support flow director basic rule")
Cc: sta...@dpdk.org
Signed-off-by: Steve Yang
---
driver
en process was killed abnormally.
Fixes: 453d087ccaff ("net/ice/base: add common functions")
Cc: sta...@dpdk.org
Signed-off-by: Steve Yang
---
drivers/net/ice/base/ice_common.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/net/ice/base/ice_common.c
b/drivers/net/i
Add new protocol ID IPV6_NETX_PROTO support for FDIR and RSS,
and always include proto or next header for l3 only RSS case.
The feature depends on the specific ICE DDP packet.
Signed-off-by: Steve Yang
---
drivers/net/ice/base/ice_flow.c | 6 +-
drivers/net/ice/base/ice_flow.h
t that expects an expression of type uint64_t
(64 bits, unsigned).
Coverity issue: 375812
Fixes: 5fec01c35c49 ("net/i40e: support Linux VF to configure IRQ link list")
Signed-off-by: Steve Yang
---
drivers/net/i40e/i40e_pf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --g
SG_LEN + 1' and ensure the last one can
be set to 0 when received buffer size is EAL_UEV_MSG_LEN.
CID 375864: Memory - illegal accesses (STRING_NULL)
Passing unterminated string "buf" to "dev_uev_parse", which expects
a null-terminated string.
Coverity issue: 375864
Fixes
t that expects an expression of type uint64_t
(64 bits, unsigned).
Coverity issue: 375812
Fixes: 5fec01c35c49 ("net/i40e: support Linux VF to configure IRQ link list")
Cc: sta...@dpdk.org
---
v2: update commit message.
Signed-off-by: Steve Yang
---
drivers/net/i40e/i40e_pf.c | 2 +-
1
t that expects an expression of type uint64_t
(64 bits, unsigned).
Coverity issue: 375812
Fixes: 5fec01c35c49 ("net/i40e: support Linux VF to configure IRQ link list")
Cc: sta...@dpdk.org
---
v2: update commit message;
v3: use RTE_BIT64() to set bit;
Signed-off-by: Steve Yang
---
flex desc metadata extraction")
Cc: sta...@dpdk.org
Signed-off-by: Steve Yang
---
drivers/net/iavf/iavf_rxtx.c | 40 +++-
drivers/net/iavf/iavf_rxtx.h | 2 --
2 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/drivers/net/iavf/iavf_rxtx.c b/driver
;net/iavf: fix function pointer in multi-process")
Cc: sta...@dpdk.org
Signed-off-by: Steve Yang
---
drivers/net/iavf/iavf_rxtx.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c
index 16e8d021f9..3b16609f7d 100644
--- a/driver
Backport all the i40e share code to 19.11.11 based on
cid-i40e.2022.03.08.
Backport all DPDK bug fixes of i40e & i40evf to 19.11.11 from 22.03.
Signed-off-by: Steve Yang
---
drivers/net/i40e/base/README| 2 +-
drivers/net/i40e/base/i40e_adminq.c | 217 --
drivers/net/
Backport all the i40e share code to 21.11 based on cid-i40e.2022.03.08.
Backport all the iavf share code to 21.11 based on cid-avf.2022.03.08.
Backport all DPDK bug fixes of i40e and iavf to 21.11 from 22.03.
Signed-off-by: Steve Yang
---
drivers/common/iavf/README | 2
0e: fix flow director for common pctypes")
Signed-off-by: Steve Yang
---
drivers/net/i40e/i40e_fdir.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/i40e/i40e_fdir.c b/drivers/net/i40e/i40e_fdir.c
index ac0e09bfdd..3c7cf1ba90 100644
--- a/drivers/net/i40e/i40e
f-by: Steve Yang
---
drivers/net/i40e/i40e_hash.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/net/i40e/i40e_hash.c b/drivers/net/i40e/i40e_hash.c
index b1cb24f437..bd734722d9 100644
--- a/drivers/net/i40e/i40e_hash.c
+++ b/drivers/net/i40e/i40e_hash.c
@@ -1107,11 +11
ixes: ef4c16fd9148 ("net/i40e: refactor RSS flow")
Signed-off-by: Steve Yang
---
v2:
- add the fix line.
- support simple_xor and toeplitz hash functions explicitly.
drivers/net/i40e/i40e_hash.c | 20 ++--
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/dr
Backport all the i40e share code to 19.11.11 based on
cid-i40e.2022.03.08.
Backport all DPDK bug fixes of i40e & i40evf to 19.11.11 from 22.03.
Signed-off-by: Steve Yang
---
v2: add new device id for i40e
---
drivers/net/i40e/base/README| 2 +-
drivers/net/i40e/
Backport all the i40e share code to 21.11 based on cid-i40e.2022.03.08.
Backport all the iavf share code to 21.11 based on cid-avf.2022.03.08.
Backport all DPDK bug fixes of i40e and iavf to 21.11 from 22.03.
Signed-off-by: Steve Yang
---
v2: add new device id for i40e.
---
drivers/common/iavf
flow create 0 ingress pattern vlan vid is 6 / end \
actions sample ratio 1 / port_id id 2 / end
or
flow create 0 ingress pattern vlan vid is 4 vid last 6 \
vid mask 0x5 / end \
actions sample ratio 1 / port_id id 2 / end
Signed-off-by:
be filled in according to action type VF/PF.
Signed-off-by: Steve Yang
---
drivers/net/i40e/i40e_flow.c | 264 +-
lib/librte_ethdev/rte_ethdev_driver.h | 1 +
2 files changed, 258 insertions(+), 7 deletions(-)
diff --git a/drivers/net/i40e/i40e_flow.c b
Define i40e_mirror_rule_conf structure that is used for set mirror flow
rule to i40e register, and relocate the mirror related MACORs to header
file.
Signed-off-by: Steve Yang
---
drivers/net/i40e/i40e_ethdev.c | 13 +
drivers/net/i40e/i40e_ethdev.h | 34
be filled in according to action type VF/PF.
Signed-off-by: Steve Yang
---
drivers/net/ixgbe/ixgbe_flow.c | 245 +
1 file changed, 245 insertions(+)
diff --git a/drivers/net/ixgbe/ixgbe_flow.c b/drivers/net/ixgbe/ixgbe_flow.c
index dff04c462..0ad49ca48 100644
w create 0 ingress pattern vlan vid is 4 / end \
actions sample ratio 1 / port_id id 2 / end
flow create 0 ingress pattern vlan vid is 6 / end \
actions sample ratio 1 / port_id id 2 / end
Signed-off-by: Steve Y
Define ixgbe_flow_mirror_conf structure that is used for set mirror flow
rule to ixgbe register, and relocate the mirror related MACORs to header
file.
Signed-off-by: Steve Yang
---
drivers/net/ixgbe/ixgbe_ethdev.c | 8 -
drivers/net/ixgbe/ixgbe_ethdev.h | 54
.
Apply rx offloads configuration once it changed when 'max-pkt-len'
command parsed.
Fixes: 384161e00627 ("app/testpmd: adjust on the fly VLAN configuration")
Signed-off-by: Steve Yang
---
app/test-pmd/cmdline.c | 18 +-
1 file changed, 17 insertions(+),
still kept the old value.
It would cause the failure of offloads check in 'rte_eth_rx_queue_setup'.
This patch applied tx/rx offloads configuration for each queue
once it changed.
Fixes: 5e91aeef218c ("app/testpmd: fix offload flags after port config")
Signed-off-by: Steve Yang
dating mtu;
v2:
- defined the 'RTE_ETHER_MTU + overhead' to 'driver_ETH_MAX_LEN';
- changed the 'mtu > RTE_ETHER_MTU' to 'frame_size > driver_ETH_MAX_LEN';
---
Steve Yang (22):
ethdev: fix MTU size exceeds max rx packet length
app/testpmd: fix max rx p
for port,
instead of default one.
Fixes: 59d0ecdbf0e1 ("ethdev: MTU accessors")
Signed-off-by: Steve Yang
---
lib/librte_ethdev/rte_ethdev.c | 27 ---
1 file changed, 24 insertions(+), 3 deletions(-)
diff --git a/lib/librte_ethdev/rte_ethdev.c b/lib/librte_ethdev
loads API")
Fixes: 150c9ac2df13 ("app/testpmd: update Rx offload after setting MTU")
Signed-off-by: Steve Yang
---
app/test-pmd/cmdline.c| 6 --
app/test-pmd/config.c | 2 +-
app/test-pmd/parameters.c | 7 ++-
app/test-pmd/testpmd.c| 18 ++
4 fi
'RTE_ETHER_MTU' and
overhead, that perhaps impacts the cases of the jumbo frame related.
Fixes: 25f854197abc ("net/dpaa: support jumbo frames")
Signed-off-by: Steve Yang
---
drivers/net/dpaa/dpaa_ethdev.c | 2 +-
drivers/net/dpaa/dpaa_ethdev.h | 4
2 files changed, 5 insertions
'RTE_ETHER_MTU' and
overhead, that perhaps impacts the cases of the jumbo frame related.
Fixes: e16408499412 ("net/dpaa2: configure jumbo frames")
Signed-off-by: Steve Yang
---
drivers/net/dpaa2/dpaa2_ethdev.c | 2 +-
drivers/net/dpaa2/dpaa2_ethdev.h | 4
2 files changed, 5 in
'RTE_ETHER_MTU' and
overhead, that perhaps impacts the cases of the jumbo frame related.
Fixes: ef990fb56e55 ("net/e1000: convert to new Rx offloads API")
Acked-by: Jeff Guo
Signed-off-by: Steve Yang
---
drivers/net/e1000/e1000_ethdev.h | 2 +-
drivers/net/e1000/em_ethdev.c|
tor")
Fixes: c3ac7c5b0b8a ("net/i40e: convert to new Rx offloads API")
Acked-by: Jeff Guo
Signed-off-by: Steve Yang
---
drivers/net/i40e/i40e_ethdev.c| 2 +-
drivers/net/i40e/i40e_ethdev.h| 1 +
drivers/net/i40e/i40e_ethdev_vf.c | 10 +-
drivers/net/i40e/i40e_f
ndary condition with 'HSN3_DEFAULT_FRAME_LEN',
that perhaps impacts the cases of the jumbo frame related.
Fixes: 1f5ca0b460cd ("net/hns3: support some device operations")
Fixes: a5475d61fa34 ("net/hns3: support VF")
Signed-off-by: Steve Yang
---
drivers/net/hns3/hns3_ethdev.c| 2 +-
Fixes: 50370662b727 ("net/ice: support device and queue ops")
Signed-off-by: Steve Yang
---
drivers/net/ice/ice_dcf_ethdev.c | 8
drivers/net/ice/ice_ethdev.c | 2 +-
drivers/net/ice/ice_ethdev.h | 1 +
drivers/net/ice/ice_rxtx.c | 10 +-
4 files ch
'RTE_ETHER_MTU' and
overhead, that perhaps impacts the cases of the jumbo frame related.
Fixes: 3fd7a3719c66 ("net/avf: enable ops for MTU setting")
Fixes: 69dd4c3d0898 ("net/avf: enable queue and device")
Signed-off-by: Steve Yang
---
drivers/net/iavf/iavf.h
'RTE_ETHER_MTU' and
overhead, that perhaps impacts the cases of the jumbo frame related.
Fixes: 70d6b7f550f4 ("net/ipn3ke: add representor")
Reviewed-by: Rosen Xu
Signed-off-by: Steve Yang
---
drivers/net/ipn3ke/ipn3ke_ethdev.h | 1 +
drivers/net/ipn3ke/ipn3ke_
'RTE_ETHER_MTU' and
overhead, that perhaps impacts the cases of the jumbo frame related.
Fixes: 3151e6a687a3 ("net/octeontx: support MTU")
Acked-by: Harman Kalra
Signed-off-by: Steve Yang
---
drivers/net/octeontx/octeontx_ethdev.c | 2 +-
drivers/net/octeontx/octeontx_ethde
'RTE_ETHER_MTU' and
overhead, that perhaps impacts the cases of the jumbo frame related.
Fixes: 0e2efd02db58 ("net/octeontx2: add MTU set operation")
Acked-by: Nithin Dabilpuram
Signed-off-by: Steve Yang
---
drivers/net/octeontx2/otx2_ethdev.h | 2 ++
drivers/net/oct
'RTE_ETHER_MTU' and
overhead, that perhaps impacts the cases of the jumbo frame related.
Fixes: 200645ac7909 ("net/qede: set MTU")
Signed-off-by: Steve Yang
---
drivers/net/qede/qede_ethdev.c | 2 +-
drivers/net/qede/qede_rxtx.h | 1 +
2 files changed, 2 insertions(+), 1 de
#x27;RTE_ETHER_MTU',
that perhaps impacts the cases of the jumbo frame related.
Fixes: ff6a1197c3b1 ("net/sfc: convert to new Rx offload API")
Signed-off-by: Steve Yang
---
drivers/net/sfc/sfc_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/driver
'RTE_ETHER_MTU' and
overhead, that perhaps impacts the cases of the jumbo frame related.
Fixes: 65d9804edc05 ("net/thunderx: support MTU configuration")
Signed-off-by: Steve Yang
---
drivers/net/thunderx/base/nicvf_hw_defs.h | 1 +
drivers/net/thunderx/nicvf_ethdev.c | 2
'RTE_ETHER_MTU'
and overhead even though current overhead is 18.
Fixes: 59d0ecdbf0e1 ("ethdev: MTU accessors")
Fixes: 95a27b3ba5f5 ("net/ixgbe: enable jumbo frame for VF")
Acked-by: Jeff Guo
Signed-off-by: Steve Yang
---
drivers/net/ixgbe/ixgbe_ethdev.c | 2 +-
dri
'RTE_ETHER_MTU'
and overhead even though current overhead is 18.
Fixes: 4b2eff452d2e ("cxgbe: enable jumbo frames")
Fixes: 0ec33be4c857 ("cxgbe: allow to change mtu")
Signed-off-by: Steve Yang
---
drivers/net/cxgbe/cxgbe.h| 4
drivers/net/cxgbe/cxgbe_ethd
'RTE_ETHER_MTU'
and overhead even though current overhead is 18.
Fixes: b58d8781fa1f ("net/axgbe: support setting MTU")
Signed-off-by: Steve Yang
---
drivers/net/axgbe/axgbe_ethdev.c | 2 +-
drivers/net/axgbe/axgbe_ethdev.h | 6 ++
2 files changed, 7 insertions(+), 1 del
'RTE_ETHER_MTU'
and overhead even though current overhead is 18.
Fixes: 5d5589b0c858 ("net/enetc: support MTU update and jumbo frames")
Signed-off-by: Steve Yang
---
drivers/net/enetc/enetc.h| 4
drivers/net/enetc/enetc_ethdev.c | 2 +-
2 files changed, 5 insertions
'RTE_ETHER_MTU'
and overhead even though current overhead is 18.
Fixes: 254bd849b132 ("net/hinic: set jumbo frame offload flag")
Signed-off-by: Steve Yang
---
drivers/net/hinic/hinic_pmd_ethdev.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/net
#x27;RTE_ETHER_MTU',
that perhaps impacts the cases of the jumbo frame related.
Fixes: d4a27a3b092a ("nfp: add basic features")
Signed-off-by: Steve Yang
---
drivers/net/nfp/nfp_net.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/nfp/nfp_net.c b/dr
'RTE_ETHER_MTU'
and overhead even though current overhead is 18.
Fixes: 9f1c00266d82 ("net/liquidio: add API to set MTU")
Signed-off-by: Steve Yang
---
drivers/net/liquidio/lio_ethdev.c | 2 +-
drivers/net/liquidio/lio_ethdev.h | 3 +++
2 files changed, 4 insertions(+), 1 deleti
stpmd;
- adjusted the alignment style;
- added offload check before updating mtu;
v2:
- defined the 'RTE_ETHER_MTU + overhead' to 'driver_ETH_MAX_LEN';
- changed the 'mtu > RTE_ETHER_MTU' to 'frame_size > driver_ETH_MAX_LEN';
---
Steve Yang (22):
ethde
for port,
instead of default one.
Fixes: 59d0ecdbf0e1 ("ethdev: MTU accessors")
Cc: Thomas Monjalon
Cc: Ferruh Yigit
Cc: Andrew Rybchenko
Signed-off-by: Steve Yang
---
lib/librte_ethdev/rte_ethdev.c | 25 ++---
1 file changed, 22 insertions(+), 3 deletions(-)
dif
loads API")
Fixes: 150c9ac2df13 ("app/testpmd: update Rx offload after setting MTU")
Cc: Wenzhuo Lu
Cc: Beilei Xing
Cc: Bernard Iremonger
Signed-off-by: Steve Yang
---
app/test-pmd/cmdline.c| 6 --
app/test-pmd/config.c | 2 +-
app/test-pmd/parameters.c | 7 ++-
'RTE_ETHER_MTU' and
overhead, that perhaps impacts the cases of the jumbo frame related.
Fixes: 25f854197abc ("net/dpaa: support jumbo frames")
Cc: Hemant Agrawal
Cc: Sachin Saxena
Acked-by: Hemant Agrawal
Signed-off-by: Steve Yang
---
drivers/net/dpaa/dpaa_ethdev.c | 2 +-
dr
'RTE_ETHER_MTU' and
overhead, that perhaps impacts the cases of the jumbo frame related.
Fixes: e16408499412 ("net/dpaa2: configure jumbo frames")
Cc: Hemant Agrawal
Cc: Sachin Saxena
Acked-by: Hemant Agrawal
Signed-off-by: Steve Yang
---
drivers/net/dpaa2/dpaa2_ethdev.c | 2
'RTE_ETHER_MTU' and
overhead, that perhaps impacts the cases of the jumbo frame related.
Fixes: ef990fb56e55 ("net/e1000: convert to new Rx offloads API")
Cc: Jeff Guo
Cc: Haiyue Wang
Acked-by: Jeff Guo
Signed-off-by: Steve Yang
---
drivers/net/e1000/e1000_ethdev.h | 2
ndary condition with 'HSN3_DEFAULT_FRAME_LEN',
that perhaps impacts the cases of the jumbo frame related.
Fixes: 1f5ca0b460cd ("net/hns3: support some device operations")
Fixes: a5475d61fa34 ("net/hns3: support VF")
Cc: "Min Hu (Connor)"
Cc: Yisen Zhuang
Cc: Lijun Ou
Acke
tor")
Fixes: c3ac7c5b0b8a ("net/i40e: convert to new Rx offloads API")
Cc: Jeff Guo
Cc: Beilei Xing
Acked-by: Jeff Guo
Signed-off-by: Steve Yang
---
drivers/net/i40e/i40e_ethdev.c| 2 +-
drivers/net/i40e/i40e_ethdev.h| 1 +
drivers/net/i40e/i40e_ethdev_vf.c | 10 +
'RTE_ETHER_MTU' and
overhead, that perhaps impacts the cases of the jumbo frame related.
Fixes: 3fd7a3719c66 ("net/avf: enable ops for MTU setting")
Fixes: 69dd4c3d0898 ("net/avf: enable queue and device")
Cc: Beilei Xing
Cc: Jingjing Wu
Signed-off-by: Steve Yang
-
Fixes: 50370662b727 ("net/ice: support device and queue ops")
Cc: Qiming Yang
Cc: Qi Zhang
Signed-off-by: Steve Yang
---
drivers/net/ice/ice_dcf_ethdev.c | 8
drivers/net/ice/ice_ethdev.c | 2 +-
drivers/net/ice/ice_ethdev.h | 1 +
drivers/net/ice/ice_rxtx.c
'RTE_ETHER_MTU' and
overhead, that perhaps impacts the cases of the jumbo frame related.
Fixes: 70d6b7f550f4 ("net/ipn3ke: add representor")
Cc: Rosen Xu
Reviewed-by: Rosen Xu
Signed-off-by: Steve Yang
---
drivers/net/ipn3ke/ipn3ke_ethdev.h | 1 +
drivers/net/ipn
'RTE_ETHER_MTU' and
overhead, that perhaps impacts the cases of the jumbo frame related.
Fixes: 3151e6a687a3 ("net/octeontx: support MTU")
Cc: Harman Kalra
Acked-by: Harman Kalra
Signed-off-by: Steve Yang
---
drivers/net/octeontx/octeontx_ethdev.c | 2 +-
drivers/net/o
'RTE_ETHER_MTU' and
overhead, that perhaps impacts the cases of the jumbo frame related.
Fixes: 0e2efd02db58 ("net/octeontx2: add MTU set operation")
Cc: Jerin Jacob
Cc: Nithin Dabilpuram
Cc: Kiran Kumar K
Acked-by: Nithin Dabilpuram
Signed-off-by: Steve Yang
---
dri
'RTE_ETHER_MTU' and
overhead, that perhaps impacts the cases of the jumbo frame related.
Fixes: 200645ac7909 ("net/qede: set MTU")
Cc: Rasesh Mody
Cc: Shahed Shaikh
Signed-off-by: Steve Yang
---
drivers/net/qede/qede_ethdev.c | 2 +-
drivers/net/qede/qede_rxtx.h |
1 - 100 of 155 matches
Mail list logo