[dpdk-dev] [PATCH v5 0/4] examples/client_server_mp: port id fixes

Stephen Hemminger stephen at networkplumber.org
Fri Aug 2 04:58:22 CEST 2019


The client_server_mp application does not work correctly
with failsafe or other devices using port ownership.

v5 - change logic in server_mp for evaluating port mask

v4 - fix checkpatch warning
     add patches to fix style issues and use ether format addr

v3 - merge both patches in one series
     use alternative algorithm to check port ownership (N^2)
     because reviewer didn't like direct check.

Stephen Hemminger (4):
  examples/multi_process/client_server_mp: check port validity
  examples/multi_process/client_server_mp - fix crash in mp_client with
    sparse ports
  examples/multi_process/client_server_mp/mp_server: fix style
  examples/multi_process/client_server_mp/mp_server: use ether format
    address

 .../client_server_mp/mp_client/client.c       | 18 ++--
 .../client_server_mp/mp_server/args.c         | 70 ++++++++-------
 .../client_server_mp/mp_server/args.h         |  2 +-
 .../client_server_mp/mp_server/init.c         | 86 ++++++++++---------
 .../client_server_mp/mp_server/main.c         | 68 +++++++--------
 5 files changed, 123 insertions(+), 121 deletions(-)

-- 
2.20.1



More information about the dev mailing list