[v3,0/6] fix lcore ID restriction

Message ID 20231220064502.2830-1-sivaprasad.tummala@amd.com (mailing list archive)
Headers
Series fix lcore ID restriction |

Message

Sivaprasad Tummala Dec. 20, 2023, 6:44 a.m. UTC
  With modern CPUs, it is possible to have higher
CPU count thus we can have higher RTE_MAX_LCORES.
In DPDK sample applications, the current config
lcore options are hard limited to 255.

The patchset fixes these constraints by allowing
all lcore IDs up to RTE_MAX_LCORES.

Sivaprasad Tummala (6):
  examples/l3fwd: fix lcore ID restriction
  examples/l3fwd-power: fix lcore ID restriction
  examples/l3fwd-graph: fix lcore ID restriction
  examples/ipsec-secgw: fix lcore ID restriction
  examples/qos_sched: fix lcore ID restriction
  examples/vm_power_manager: fix lcore ID restriction

 examples/ipsec-secgw/event_helper.h           |  2 +-
 examples/ipsec-secgw/ipsec-secgw.c            | 32 +++++------
 examples/ipsec-secgw/ipsec.c                  |  2 +-
 examples/ipsec-secgw/ipsec.h                  |  2 +-
 examples/ipsec-secgw/ipsec_worker.c           | 10 ++--
 examples/l3fwd-graph/main.c                   | 31 +++++-----
 examples/l3fwd-power/main.c                   | 57 +++++++++----------
 examples/l3fwd-power/main.h                   |  4 +-
 examples/l3fwd-power/perf_core.c              | 10 ++--
 examples/l3fwd/l3fwd.h                        |  2 +-
 examples/l3fwd/l3fwd_acl.c                    |  4 +-
 examples/l3fwd/l3fwd_em.c                     |  4 +-
 examples/l3fwd/l3fwd_event.h                  |  2 +-
 examples/l3fwd/l3fwd_fib.c                    |  4 +-
 examples/l3fwd/l3fwd_lpm.c                    |  5 +-
 examples/l3fwd/main.c                         | 36 ++++++------
 examples/qos_sched/args.c                     |  6 +-
 .../guest_cli/vm_power_cli_guest.c            |  4 +-
 18 files changed, 109 insertions(+), 108 deletions(-)
  

Comments

Sivaprasad Tummala Dec. 20, 2023, 6:45 a.m. UTC | #1
With modern CPUs, it is possible to have higher
CPU count thus we can have higher RTE_MAX_LCORES.
In DPDK sample applications, the current config
lcore options are hard limited to 255.

The patchset fixes these constraints by allowing
all lcore IDs up to RTE_MAX_LCORES.

Sivaprasad Tummala (6):
  examples/l3fwd: fix lcore ID restriction
  examples/l3fwd-power: fix lcore ID restriction
  examples/l3fwd-graph: fix lcore ID restriction
  examples/ipsec-secgw: fix lcore ID restriction
  examples/qos_sched: fix lcore ID restriction
  examples/vm_power_manager: fix lcore ID restriction

 examples/ipsec-secgw/event_helper.h           |  2 +-
 examples/ipsec-secgw/ipsec-secgw.c            | 32 +++++------
 examples/ipsec-secgw/ipsec.c                  |  2 +-
 examples/ipsec-secgw/ipsec.h                  |  2 +-
 examples/ipsec-secgw/ipsec_worker.c           | 10 ++--
 examples/l3fwd-graph/main.c                   | 31 +++++-----
 examples/l3fwd-power/main.c                   | 57 +++++++++----------
 examples/l3fwd-power/main.h                   |  4 +-
 examples/l3fwd-power/perf_core.c              | 10 ++--
 examples/l3fwd/l3fwd.h                        |  2 +-
 examples/l3fwd/l3fwd_acl.c                    |  4 +-
 examples/l3fwd/l3fwd_em.c                     |  4 +-
 examples/l3fwd/l3fwd_event.h                  |  2 +-
 examples/l3fwd/l3fwd_fib.c                    |  4 +-
 examples/l3fwd/l3fwd_lpm.c                    |  5 +-
 examples/l3fwd/main.c                         | 36 ++++++------
 examples/qos_sched/args.c                     |  6 +-
 .../guest_cli/vm_power_cli_guest.c            |  4 +-
 18 files changed, 109 insertions(+), 108 deletions(-)