be in new event callback as discussed in following commit. So this
patch moves setup_attached_port() to the time point 100ms after received
the new event.
Bugzilla ID: 1663
Fixes: 994635edb2c0 ("app/testpmd: add port attach/detach for multiple process")
Signed-off-by: Huisong Li
---
state is changed from 'ATTACHED' to 'UNUSED' only after the
event callback finished. But the remove_invalid_ports() function removes
invalid port only if ethdev state is 'UNUSED'. If we don't add alarm
callback, this detached port information can not be remo
ntrol APIs")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Acked-by: Thomas Monjalon
---
lib/ethdev/rte_ethdev.c | 14 +++---
lib/ethdev/rte_ethdev.h | 3 ++-
2 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/lib/ethdev/rte_ethdev.c b/lib/ethdev/rte_ethdev.c
index 64
703-1-lihuis...@huawei.com/
---
-v3:
- add "the" before application as Thomas suggested.
- add Acked-by Thomas Monjalon
-v2: fix some descriptions as Thomas suggested.
Huisong Li (2):
ethdev: clarify something about the new event
ethdev: fix some functions are available i
If application verify the validity of the port id or configure this port in
the new event callback, application may happen to the port id is invalid.
In case of similar confusion, this patch have to clarify something about
RTE_ETH_EVENT_NEW in code.
Signed-off-by: Huisong Li
Acked-by: Thomas
ntrol APIs")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
---
lib/ethdev/rte_ethdev.c | 14 +++---
lib/ethdev/rte_ethdev.h | 3 ++-
2 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/lib/ethdev/rte_ethdev.c b/lib/ethdev/rte_ethdev.c
index 6413c54e3b..9cfb397cee 100
If application verify the validity of the port id or configure this port in
the new event callback, application may happen to the port id is invalid.
In case of similar confusion, this patch have to clarify something about
RTE_ETH_EVENT_NEW in code.
Signed-off-by: Huisong Li
---
lib/ethdev
703-1-lihuis...@huawei.com/
---
-v2: fix some descriptions as Thomas suggested.
Huisong Li (2):
ethdev: clarify something about the new event
ethdev: fix some functions are available in the new event
lib/ethdev/rte_ethdev.c | 14 +++---
lib/ethdev/rte_ethdev.h | 7 ++-
2
703-1-lihuis...@huawei.com/
Huisong Li (2):
ethdev: clarify do not something in the new event
ethdev: fix some APIs can be used in the new event
lib/ethdev/rte_ethdev.c | 14 +++---
lib/ethdev/rte_ethdev.h | 9 -
2 files changed, 19 insertions(+), 4 deletions(-)
--
2.22.0
need
to verify the validity of the port id because it is definitely valid.
What's more, application shouldn't do something like configuring this port
or querying some information of this port by ethdev ops.
Signed-off-by: Huisong Li
---
lib/ethdev/rte_ethdev.h | 9 -
1
ntrol APIs")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
---
lib/ethdev/rte_ethdev.c | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/lib/ethdev/rte_ethdev.c b/lib/ethdev/rte_ethdev.c
index 6413c54e3b..9cfb397cee 100644
--- a/lib/ethdev/rte_ethde
lows:
---
testpmd>
testpmd> port attach :7d:00.1
Attaching a new port...
Port 1 is attached. Now total ports is 2
Done
---
BTW, the modification method for this issue is from the following thread.
https://mails.dpdk.org/archives/dev/2024-January/286026.html
Huisong Li (2):
app/testpmd: check t
be8cd210379a ("ethdev: fix port probing notification")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Acked-by: Chengwen Feng
---
drivers/net/bnxt/bnxt_ethdev.c | 2 +-
drivers/net/cpfl/cpfl_ethdev.h | 2 +-
drivers/net/ionic/ionic_ethdev.c | 2 +-
drivers/net/mlx5/mlx5.c
This patch checks the validity of port id for all events in
'eth_event_callback()'.
Signed-off-by: Huisong Li
Acked-by: Aman Singh
Acked-by: Chengwen Feng
---
app/test-pmd/testpmd.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/app/test-pmd/testpmd.c b/ap
The queue_list_entry structure data is used in rx_callback of io path
when enable PMD Power Management. However its memory is currently from
normal heap memory. For better performance, use hugepage memory to
replace it.
Signed-off-by: Huisong Li
---
lib/power/rte_power_pmd_mgmt.c | 10
The typo in the guide is hard to understand. Necessary to fix it.
Fixes: dd6fd75bf662 ("power: introduce PM QoS API on CPU wide")
Signed-off-by: Huisong Li
---
doc/guides/prog_guide/power_man.rst | 2 +-
lib/power/rte_power_qos.h | 4 ++--
2 files changed, 3 insert
The typo in the guide is hard to understand. Necessary to fix it.
Fixes: dd6fd75bf662 ("power: introduce PM QoS API on CPU wide")
Signed-off-by: Huisong Li
---
doc/guides/prog_guide/power_man.rst | 2 +-
lib/power/rte_power_qos.h | 2 +-
2 files changed, 2 insertions(+), 2
The typo in the guide is hard to understand. Necessary to fix it.
Fixes: dd6fd75bf662 ("power: introduce PM QoS API on CPU wide")
Signed-off-by: Huisong Li
---
doc/guides/prog_guide/power_man.rst | 2 +-
lib/power/rte_power_qos.h | 2 +-
2 files changed, 2 insertions(+), 2
uot;)
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Acked-by: Konstantin Ananyev
Acked-by: Chengwen Feng
Acked-by: Sivaprasad Tummala
---
examples/l3fwd-power/main.c | 41 +++--
1 file changed, 21 insertions(+), 20 deletions(-)
diff --git a/examples/l3fwd-po
shallowest idle state to low the delay
when wake up from by setting strict resume latency (zero value).
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
Acked-by: Chengwen Feng
Acked-by: Konstantin Ananyev
Acked-by: Sivaprasad Tummala
---
doc/guides/prog_guide/power_man.rst| 19 +
The '--cpu-resume-latency' can use to control C-state selection.
Setting the CPU resume latency to 0 can limit the CPU just to enter
C0-state to improve performance, which also may increase the power
consumption of platform.
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
Acked-by
macro in header
- add the check for lcore_id with rte_lcore_is_enabled
v2:
- use PM QoS on CPU wide to replace the one on system wide
Huisong Li (3):
power: introduce PM QoS API on CPU wide
examples/l3fwd-power: fix data overflow when parse command line
examples/l3fwd-power: add PM Qo
The '--cpu-resume-latency' can use to control C-state selection.
Setting the CPU resume latency to 0 can limit the CPU just to enter
C0-state to improve performance, which also may increase the power
consumption of platform.
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
Acked-by
shallowest idle state to low the delay
when wake up from by setting strict resume latency (zero value).
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
Acked-by: Chengwen Feng
Acked-by: Konstantin Ananyev
Acked-by: Sivaprasad Tummala
---
doc/guides/prog_guide/power_man.rst| 19 +
uot;)
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Acked-by: Konstantin Ananyev
Acked-by: Chengwen Feng
Acked-by: Sivaprasad Tummala
---
examples/l3fwd-power/main.c | 41 +++--
1 file changed, 21 insertions(+), 20 deletions(-)
diff --git a/examples/l3fwd-po
macro in header
- add the check for lcore_id with rte_lcore_is_enabled
v2:
- use PM QoS on CPU wide to replace the one on system wide
Huisong Li (3):
power: introduce PM QoS API on CPU wide
examples/l3fwd-power: fix data overflow when parse command line
examples/l3fwd-power: add PM Qo
The '--cpu-resume-latency' can use to control C-state selection.
Setting the CPU resume latency to 0 can limit the CPU just to enter
C0-state to improve performance, which also may increase the power
consumption of platform.
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
Acked-by
shallowest idle state to low the delay
when wake up from by setting strict resume latency (zero value).
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
Acked-by: Chengwen Feng
Acked-by: Konstantin Ananyev
Acked-by: Sivaprasad Tummala
---
doc/guides/prog_guide/power_man.rst| 19 +
uot;)
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Acked-by: Konstantin Ananyev
Acked-by: Chengwen Feng
Acked-by: Sivaprasad Tummala
---
examples/l3fwd-power/main.c | 41 +++--
1 file changed, 21 insertions(+), 20 deletions(-)
diff --git a/examples/l3fwd-po
on system wide
Huisong Li (3):
power: introduce PM QoS API on CPU wide
examples/l3fwd-power: fix data overflow when parse command line
examples/l3fwd-power: add PM QoS configuration
doc/guides/prog_guide/power_man.rst | 19 +++
doc/guides/rel_notes/release_24_11.rst| 5 +
..
shallowest idle state to low the delay
when wake up from by setting strict resume latency (zero value).
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
Acked-by: Chengwen Feng
Acked-by: Konstantin Ananyev
---
doc/guides/prog_guide/power_man.rst| 19
doc/guides/rel_notes/release_
The '--cpu-resume-latency' can use to control C-state selection.
Setting the CPU resume latency to 0 can limit the CPU just to enter
C0-state to improve performance, which also may increase the power
consumption of platform.
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
Acked-by
e
- add Acked-by Morten Brørup
v3:
- add RTE_POWER_xxx prefix for some macro in header
- add the check for lcore_id with rte_lcore_is_enabled
v2:
- use PM QoS on CPU wide to replace the one on system wide
Huisong Li (3):
power: introduce PM QoS API on CPU wide
examples/l3fwd-power: fi
uot;)
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Acked-by: Konstantin Ananyev
---
examples/l3fwd-power/main.c | 36
1 file changed, 16 insertions(+), 20 deletions(-)
diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c
index 2bb6b092c3
r lcore_id with rte_lcore_is_enabled
v2:
- use PM QoS on CPU wide to replace the one on system wide
Huisong Li (3):
power: introduce PM QoS API on CPU wide
examples/l3fwd-power: fix data overflow when parse command line
examples/l3fwd-power: add PM QoS configuration
doc/guides/prog_guid
uot;)
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
---
examples/l3fwd-power/main.c | 36
1 file changed, 16 insertions(+), 20 deletions(-)
diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c
index 2bb6b092c3..0ce4aa04d4 100644
--- a/ex
The '--cpu-resume-latency' can use to control C-state selection.
Setting the CPU resume latency to 0 can limit the CPU just to enter
C0-state to improve performance, which also may increase the power
consumption of platform.
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
Acked-by
shallowest idle state to low the delay
when wake up from by setting strict resume latency (zero value).
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
Acked-by: Chengwen Feng
Acked-by: Konstantin Ananyev
---
doc/guides/prog_guide/power_man.rst| 19
doc/guides/rel_notes/release_
- add stdint.h include
- add Acked-by Morten Brørup
v3:
- add RTE_POWER_xxx prefix for some macro in header
- add the check for lcore_id with rte_lcore_is_enabled
v2:
- use PM QoS on CPU wide to replace the one on system wide
Huisong Li (2):
power: introduce PM QoS API on CPU wide
examp
Add PM QoS configuration to declease the delay after sleep in case of
entering deeper idle state.
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
---
examples/l3fwd-power/main.c | 24
1 file changed, 24 insertions(+)
diff --git a/examples/l3fwd-power/main.c b
shallowest idle state to low the delay
when wake up from by setting strict resume latency (zero value).
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
---
doc/guides/prog_guide/power_man.rst| 19
doc/guides/rel_notes/release_24_11.rst | 5 +
lib/power/meson.build
state is changed from 'ATTACHED' to 'UNUSED' only after the event
callback finished. But the remove_invalid_ports() function removes invalid
port only if ethdev state is 'UNUSED'. If we don't add alarm callback, this
detached port information can not be removed.
Sign
When testpmd receives the new or destroy event, the port related
information will be updated. Testpmd must stop packet forwarding
before updating the information to avoid some serious problems.
Signed-off-by: Huisong Li
Acked-by: Chengwen Feng
---
app/test-pmd/testpmd.c | 4
1 file
This patch checks the validity of port id for all events in
'eth_event_callback()'.
Signed-off-by: Huisong Li
Acked-by: Aman Singh
Acked-by: Chengwen Feng
---
app/test-pmd/testpmd.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/app/test-pmd/testpmd.c b/ap
be8cd210379a ("ethdev: fix port probing notification")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Acked-by: Chengwen Feng
---
drivers/net/bnxt/bnxt_ethdev.c | 3 ++-
drivers/net/mlx5/mlx5.c| 2 +-
lib/ethdev/ethdev_driver.c | 13 ++---
lib/ethdev/ethdev_drive
need to be updated if we do that. The
driver pointer in rte_device is set before probing and needs to be reset
if probing failed. And rte_dev_is_probed can not be called inside probing.
Fixes: 391797f04208 ("drivers/bus: move driver assignment to end of probing")
Cc: sta...@dpdk.org
Si
i break.
-v4: fix a misspelling.
-v3:
#1 merge patch 1/6 and patch 2/6 into patch 1/5, and add modification
for other bus type.
#2 add a RTE_ETH_DEV_ALLOCATED state in rte_eth_dev_state to resolve
the probelm in patch 2/5.
-v2: resend due to CI unexplained failure.
Huisong L
Add PM QoS configuration to declease the delay after sleep in case of
entering deeper idle state.
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
---
examples/l3fwd-power/main.c | 24
1 file changed, 24 insertions(+)
diff --git a/examples/l3fwd-power/main.c b
shallowest idle state to low the delay
after sleep by setting strict resume latency (zero value).
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
---
doc/guides/prog_guide/power_man.rst| 24 ++
doc/guides/rel_notes/release_24_11.rst | 5 ++
lib/power/meson.build |
d the check for lcore_id with rte_lcore_is_enabled
v2:
- use PM QoS on CPU wide to replace the one on system wide
Huisong Li (2):
power: introduce PM QoS API on CPU wide
examples/l3fwd-power: add PM QoS configuration
doc/guides/prog_guide/power_man.rst| 24 ++
doc/guides/rel_notes/re
shallowest idle state to low the delay
after sleep by setting strict resume latency (zero value).
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
---
doc/guides/prog_guide/power_man.rst| 24 ++
doc/guides/rel_notes/release_24_11.rst | 5 ++
lib/power/meson.build |
on CPU wide to replace the one on system wide
Huisong Li (2):
power: introduce PM QoS API on CPU wide
examples/l3fwd-power: add PM QoS configuration
doc/guides/prog_guide/power_man.rst| 24 ++
doc/guides/rel_notes/release_24_11.rst | 5 ++
examples/l3fwd-power/main.c|
Add PM QoS configuration to declease the delay after sleep in case of
entering deeper idle state.
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
---
examples/l3fwd-power/main.c | 24
1 file changed, 24 insertions(+)
diff --git a/examples/l3fwd-power/main.c b
omments basd on Stephen
- add stdint.h include
- add Acked-by Morten Brørup
v3:
- add RTE_POWER_xxx prefix for some macro in header
- add the check for lcore_id with rte_lcore_is_enabled
v2:
- use PM QoS on CPU wide to replace the one on system wide
Huisong Li (2):
power: introduce PM
shallowest idle state to low the delay
after sleep by setting strict resume latency (zero value).
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
---
doc/guides/prog_guide/power_man.rst| 24 ++
doc/guides/rel_notes/release_24_07.rst | 4 +
lib/power/meson.build |
Add PM QoS configuration to declease the delay after sleep in case of
entering deeper idle state.
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
---
examples/l3fwd-power/main.c | 24
1 file changed, 24 insertions(+)
diff --git a/examples/l3fwd-power/main.c b
shallowest idle state to low the delay
after sleep by setting strict resume latency (zero value).
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
---
doc/guides/prog_guide/power_man.rst| 24 ++
doc/guides/rel_notes/release_24_07.rst | 4 +
lib/power/meson.build |
Add PM QoS configuration to declease the delay after sleep in case of
entering deeper idle state.
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
---
examples/l3fwd-power/main.c | 24
1 file changed, 24 insertions(+)
diff --git a/examples/l3fwd-power/main.c b
- add Acked-by Morten Brørup
v3:
- add RTE_POWER_xxx prefix for some macro in header
- add the check for lcore_id with rte_lcore_is_enabled
v2:
- use PM QoS on CPU wide to replace the one on system wide
Huisong Li (2):
power: introduce PM QoS API on CPU wide
examples/l3fwd-power: add PM Qo
shallowest idle state to low the delay
after sleep by setting strict resume latency (zero value).
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
---
doc/guides/prog_guide/power_man.rst| 24 ++
doc/guides/rel_notes/release_24_07.rst | 4 +
lib/power/meson.build |
Add PM QoS configuration to declease the delay after sleep in case of
entering deeper idle state.
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
---
examples/l3fwd-power/main.c | 28
1 file changed, 28 insertions(+)
diff --git a/examples/l3fwd-power/main.c b
r some macro in header
- add the check for lcore_id with rte_lcore_is_enabled
v2:
- use PM QoS on CPU wide to replace the one on system wide
Huisong Li (2):
power: introduce PM QoS API on CPU wide
examples/l3fwd-power: add PM QoS configuration
doc/guides/prog_guide/power_man.rst|
Add PM QoS configuration to declease the delay after sleep in case of
entering deeper idle state.
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
---
examples/l3fwd-power/main.c | 28
1 file changed, 28 insertions(+)
diff --git a/examples/l3fwd-power/main.c b
shallowest idle state to low the delay
after sleep by setting strict resume latency (zero value).
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
---
doc/guides/prog_guide/power_man.rst| 24 ++
doc/guides/rel_notes/release_24_07.rst | 4 +
lib/power/meson.build |
ed
v2:
- use PM QoS on CPU wide to replace the one on system wide
Huisong Li (2):
power: introduce PM QoS API on CPU wide
examples/l3fwd-power: add PM QoS configuration
doc/guides/prog_guide/power_man.rst| 24 ++
doc/guides/rel_notes/release_24_07.rst | 4 +
examples/l3f
Add PM QoS configuration to declease the delay after sleep in case of
entering deeper idle state.
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
---
examples/l3fwd-power/main.c | 28
1 file changed, 28 insertions(+)
diff --git a/examples/l3fwd-power/main.c b
ncy-us
---
v4:
- fix some comments basd on Stephen
- add stdint.h include
- add Acked-by Morten Brørup
v3:
- add RTE_POWER_xxx prefix for some macro in header
- add the check for lcore_id with rte_lcore_is_enabled
v2:
- use PM QoS on CPU wide to replace the one on system wide
Huisong
shallowest idle state to low the delay
after sleep by setting strict resume latency (zero value).
Signed-off-by: Huisong Li
Acked-by: Morten Brørup
---
doc/guides/prog_guide/power_man.rst| 24 ++
doc/guides/rel_notes/release_24_07.rst | 4 +
lib/power/meson.build |
shallowest idle state to low the delay
after sleep by setting strict resume latency (zero value).
Signed-off-by: Huisong Li
---
doc/guides/prog_guide/power_man.rst| 22 +
doc/guides/rel_notes/release_24_07.rst | 4 +
lib/power/meson.build | 2 +
lib/power/
ncy-us
---
v3:
- add RTE_POWER_xxx prefix for some macro in header
- add the check for lcore_id with rte_lcore_is_enabled
v2:
- use PM QoS on CPU wide to replace the one on system wide
Huisong Li (2):
power: introduce PM QoS API on CPU wide
examples/l3fwd-power: add PM QoS configurati
Add PM QoS configuration to declease the delay after sleep in case of
entering deeper idle state.
Signed-off-by: Huisong Li
---
examples/l3fwd-power/main.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power
shallowest idle state to low the delay
after sleep by setting strict resume latency (zero value).
Signed-off-by: Huisong Li
---
doc/guides/prog_guide/power_man.rst| 22 +
doc/guides/rel_notes/release_24_07.rst | 4 +
lib/power/meson.build | 2 +
lib/power/
Add PM QoS configuration to declease the delay after sleep in case of
entering deeper idle state.
Signed-off-by: Huisong Li
---
examples/l3fwd-power/main.c | 29 +
1 file changed, 29 insertions(+)
diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power
27;s idle state
selection and limit just enter the shallowest idle state to low the delay
after sleep by setting strict resume latency (zero value).
[1]
https://www.kernel.org/doc/html/latest/admin-guide/abi-testing.html?highlight=pm_qos_resume_latency_us#abi-sys-devices-power-pm-qos-resume-latency
te the CPU latency request to zero when need.
3) back to the default value when no need(this step is optional).
4) release QoS request when process exit.
Signed-off-by: Huisong Li
---
doc/guides/prog_guide/power_man.rst| 16
doc/guides/rel_notes/release_24_03.rst | 4 +
lib/power/m
Add PM QoS request configuration to declease the process resume latency.
Signed-off-by: Huisong Li
---
examples/l3fwd-power/main.c | 41 -
1 file changed, 40 insertions(+), 1 deletion(-)
diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c
time. Some service are delay sensitive and very except the low
resume time, like interrupt packet receiving mode.
So this series introduce PM QoS interface.
Huisong Li (2):
power: introduce PM QoS interface
examples/l3fwd-power: add PM QoS request configuration
doc/guides/prog_guide/pow
state is changed from 'ATTACHED' to 'UNUSED' only after the event
callback finished. But the remove_invalid_ports() function removes invalid
port only if ethdev state is 'UNUSED'. If we don't add alarm callback, this
detached port information can not be removed.
Sign
When testpmd receives the new or destroy event, the port related
information will be updated. Testpmd must stop packet forwarding
before updating the information to avoid some serious problems.
Signed-off-by: Huisong Li
Acked-by: Chengwen Feng
---
app/test-pmd/testpmd.c | 4
1 file
need to be updated if we do that. The
driver pointer in rte_device is set before probing and needs to be reset
if probing failed. And rte_dev_is_probed can not be called inside probing.
Fixes: 391797f04208 ("drivers/bus: move driver assignment to end of probing")
Cc: sta...@dpdk.org
Si
be8cd210379a ("ethdev: fix port probing notification")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Acked-by: Chengwen Feng
---
drivers/net/bnxt/bnxt_ethdev.c | 3 ++-
drivers/net/mlx5/mlx5.c| 2 +-
lib/ethdev/ethdev_driver.c | 13 ++---
lib/ethdev/ethdev_drive
This patch checks the validity of port id for all events in
'eth_event_callback()'.
Signed-off-by: Huisong Li
Acked-by: Aman Singh
Acked-by: Chengwen Feng
---
app/test-pmd/testpmd.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/app/test-pmd/testpmd.c b/ap
i break.
-v4: fix a misspelling.
-v3:
#1 merge patch 1/6 and patch 2/6 into patch 1/5, and add modification
for other bus type.
#2 add a RTE_ETH_DEV_ALLOCATED state in rte_eth_dev_state to resolve
the probelm in patch 2/5.
-v2: resend due to CI unexplained failure.
Huisong L
ome to jumping into discussion.
[1]
https://patchwork.dpdk.org/project/dpdk/patch/20230203132810.14187-1-tho...@monjalon.net/
[2] https://inbox.dpdk.org/dev/20230817084226.55327-1-lihuis...@huawei.com/
Signed-off-by: Huisong Li
---
lib/ethdev/rte_ethdev.h | 6 ++
1 file changed, 6 insertions(+)
diff
Add link speed configuration feature for sfc.
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
---
doc/guides/nics/features/sfc.ini | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/nics/features/sfc.ini b/doc/guides/nics/features/sfc.ini
index 8a9198adcb..f9654e69ed 100644
--- a/doc
Add link speed configuration feature for dpaa.
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
---
doc/guides/nics/features/dpaa.ini | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/nics/features/dpaa.ini
b/doc/guides/nics/features/dpaa.ini
index a382c7160c..b136ed191a 100644
Add link speed configuration feature for ionic.
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
---
doc/guides/nics/features/ionic.ini | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/nics/features/ionic.ini
b/doc/guides/nics/features/ionic.ini
index af0fc5462a..64b2316288 100644
Add link speed configuration feature for ice.
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
---
doc/guides/nics/features/ice.ini | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/nics/features/ice.ini b/doc/guides/nics/features/ice.ini
index 13f8871dcc..390558f495 100644
--- a/doc
Add link speed configuration feature for thunderx.
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
---
doc/guides/nics/features/thunderx.ini | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/nics/features/thunderx.ini
b/doc/guides/nics/features/thunderx.ini
index b33bb37c82
Add link speed configuration feature for igb.
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
---
doc/guides/nics/features/igb.ini | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/nics/features/igb.ini b/doc/guides/nics/features/igb.ini
index 7b4af6f86c..ee2408f3ee 100644
--- a/doc
Add link speed configuration feature for txgbe.
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
---
doc/guides/nics/features/txgbe.ini | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/nics/features/txgbe.ini
b/doc/guides/nics/features/txgbe.ini
index e21083052c..f697642783 100644
Add link speed configuration feature for ngbe.
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
---
doc/guides/nics/features/ngbe.ini | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/nics/features/ngbe.ini
b/doc/guides/nics/features/ngbe.ini
index 2701c5f051..1dfd92e96b 100644
Add link speed configuration feature for hns3.
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
---
doc/guides/nics/features/hns3.ini | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/nics/features/hns3.ini
b/doc/guides/nics/features/hns3.ini
index 338b4e6864..24e9784c25 100644
Add link speed configuration feature for i40e.
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
---
doc/guides/nics/features/i40e.ini | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/nics/features/i40e.ini
b/doc/guides/nics/features/i40e.ini
index e241dad047..1c6a476a51 100644
Add link speed configuration feature for atlantic.
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
---
doc/guides/nics/features/atlantic.ini | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/nics/features/atlantic.ini
b/doc/guides/nics/features/atlantic.ini
index ef4155027c
Add link speed configuration feature for octeontx.
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
---
doc/guides/nics/features/octeontx.ini | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/nics/features/octeontx.ini
b/doc/guides/nics/features/octeontx.ini
index fa1e18b120
Add link speed configuration feature for ixgbe.
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
---
doc/guides/nics/features/ixgbe.ini | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/nics/features/ixgbe.ini
b/doc/guides/nics/features/ixgbe.ini
index 8590ac857f..0ceffcd85d 100644
Add link speed configuration feature for igc.
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
---
doc/guides/nics/features/igc.ini | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/nics/features/igc.ini b/doc/guides/nics/features/igc.ini
index 47d9344435..d6db18c1e8 100644
--- a/doc
Add link speed configuration feature for bnxt.
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
---
doc/guides/nics/features/bnxt.ini | 1 +
1 file changed, 1 insertion(+)
diff --git a/doc/guides/nics/features/bnxt.ini
b/doc/guides/nics/features/bnxt.ini
index bd4e2295dc..c33889663d 100644
Add features for link speeds.
Fixes: 82113036e4e5 ("ethdev: redesign link speed config")
Cc: sta...@dpdk.org
Signed-off-by: Huisong Li
Acked-by: Chengwen Feng
---
doc/guides/nics/features.rst | 11 +++
doc/guides/nics/features/default.ini | 1 +
2 files changed, 12
1 - 100 of 419 matches
Mail list logo