From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BC0D141DA2; Wed, 1 Mar 2023 03:49:13 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 18634427F2; Wed, 1 Mar 2023 03:49:05 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2111.outbound.protection.outlook.com [40.107.243.111]) by mails.dpdk.org (Postfix) with ESMTP id 40511427EE for ; Wed, 1 Mar 2023 03:49:04 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NdHnrkNpaZSlnKeZbehta/PtcybfZjfODQSKFKPdKBJd6WI2YXi8FI79Ty3eEXSddxoiiYAwvqGHKWJIzB0e1wBwlDAUIj5PFHvPHXo5AX2vJR9tR7M8TPIA+/5xSCwmxi4aKqMmNn7fUDWqtI8UBj2LYZactiATLkSZfYOSZgxnf4TCYxuxLqdz41pZOfnZ4TpA8tGEMnz5awCOWiqWP/LSpfxXbVSslXecafSGO3sc0OpOkgA+sCzad+RYmRWr2vO993f6MPeb+YkTv9MmBIo6m1jSw7iZ2kgSEhckLRIDiBoX4rDAp7X6FDhBQu6nMFpySNGf1wSnT6qJ5KOAtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+Q4S8LiPVig6EPa+7/SZgCTPt/l5vwNteOaVmZFpiJ8=; b=nD0Sex47WzbSJRBcHL9itTeRiM046w1IWi431SVcNl5QmEx6L5eRhj8bw8xTUeo3kO3Vz/SeA+8REp/V7D3u0Y1uBH1usPS6IgSlHJeO+k5Qoz4GMLySiVw0jvh9VHpwJJsHAODaDC+4mKlc5M8jPD7BquL1mjPUxmNgEVQQhn1fCaetVRY+/lq4QwLOGqNFS0m52zy9m5CMNkwgB4DFxxHG7kKltU8hjw1yzzdcnG35/RlaLISi+crIVGGWLeGI48OX1PG1FM4Jjfr3ZJdEMlYA3tTLGTdHrtLOKVtWcZfvk+m7eAkH/BJV1NqWZ7B0XYJD5HeSM63Z/2pG4BDGtg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+Q4S8LiPVig6EPa+7/SZgCTPt/l5vwNteOaVmZFpiJ8=; b=dc2NvGle7qPFCytBuY7L2VjlAxGVpHyV3dk8C7H9+538oYgITKbexAMFyUL5z5fNwX0tIR/vZbiv0qu9HxeYfg+z3vSVTSEArkheB+8Y0mtZSJbbONePQ8m+NyGoE+i+xmdsS9bKzqvYUFLUofsRFOFZj0TNi4WRGLBdccNkTh0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) by CH0PR13MB4585.namprd13.prod.outlook.com (2603:10b6:610:cb::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.29; Wed, 1 Mar 2023 02:49:02 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::7ea4:e421:5dd5:9f4d]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::7ea4:e421:5dd5:9f4d%7]) with mapi id 15.20.6134.030; Wed, 1 Mar 2023 02:49:02 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com, Long Wu , Chaoyong He Subject: [PATCH v3 2/2] app/testpmd: add support for bonding port's LACP negotiation Date: Wed, 1 Mar 2023 10:48:26 +0800 Message-Id: <20230301024826.885727-3-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230301024826.885727-1-chaoyong.he@corigine.com> References: <20230216083231.4721-1-chaoyong.he@corigine.com> <20230301024826.885727-1-chaoyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SI2P153CA0008.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::19) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|CH0PR13MB4585:EE_ X-MS-Office365-Filtering-Correlation-Id: 542f0a4f-fcb0-4d5e-511c-08db19ff8386 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: M7rZ8xOE2zLZIcSrjw9Ch/y4pv6m+JBis1LdnqVV5X+H7RtIQ+qXwYYbUd+++Xlr+afcCLpNAKRHhzY9x/bpRFsM95XzfzqUnG3Zd+oby6X+lb1EAAbbyLNRvSMawXIl+vyiIFzlob9YCccVtjjfrsJhwgHkQTDe1eF+3REJHEt5UCHhuvV6i1MN7i8f5KokhIMbbZBtuYEXQI/008qdsDRR0nDzJ1tPy81WvulIwsW2cGD4H5rZuOHWeSNB38z6uGdNr0R6jjPEZcI0H5QpR2BKPIzPqh6G4TL1/hDITu+FvjxEwI4txCbCXMvY2jsPqV+krb3NHTAA0uaxRb2XX+QiXPbfxsoGTizaNaznETpSAL1sT+tFkU+L8J+uECqihTYCeelfiN7W6BKZtyAymLuLiknlIDjE91NR+th6TrjMxPx28mIXifjyzsYG/9fsGgn8tSbkEIMu51bv3kIwDdOpM3fTlRdQRcxcfmIk2lopnTI55KqGmOJBAPNVPmZr/S2utuew0Kx2vDkAtag2OTBKQ9o111FjediCqRvXjEpmvCVxnLqRsIr84qoeIGkHqslmPIyTE0JPlwvpGc1yR3lJpd6K78fmrkZ2Ib1UnYWZ52esFzBg3OPlaJbZRtr84xPpdLd3ZY3zN9e4ReFkVT1dCbcD6HMwyB0dN5g67wUCFHJnqqaEwBJajws02Mz9JQULNwciH08wEi1+abBtnpyODk0vVpxpKQ5rAHabSL2cxRmD/JIyvZHttfXDx8Qk X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR13MB5545.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(346002)(366004)(396003)(136003)(376002)(39840400004)(451199018)(66476007)(6506007)(1076003)(66946007)(66556008)(8676002)(4326008)(6916009)(6486002)(316002)(478600001)(5660300002)(36756003)(44832011)(52116002)(66574015)(86362001)(38100700002)(2906002)(54906003)(38350700002)(6666004)(83380400001)(8936002)(107886003)(2616005)(26005)(186003)(41300700001)(6512007); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?a09YemtzL0Y2WFE4V1VCYXYvVkRQbkdzK0d2SkZOb1ZYckJzUUMwVG5yVWtM?= =?utf-8?B?NHJ2UnB4cDA0RUw3N0NxZVlISk1MSjcrazFDK2FKc0gyc1pGRGw4ZldLUDFl?= =?utf-8?B?NmZkZUgrZzFFN2tvYmJJaGpSSGl4NnRrcUFRZEFlMFluYU9rL0M3cmxnWmJu?= =?utf-8?B?TXVvRXIxLzJLbitmM0ljc2RRMnlJeGhTdVFTUCtGNUlUOGVjcmhORnVQV2lG?= =?utf-8?B?bXR6bllMWEE1OGxSUVhqTXVvTDZpQTJlNmhiZlBLYUk0ai9KZVEvMW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9NTHdLMHVTcWg2dmNFMktUWFVDSzdldVVBUUpF?= =?utf-8?B?SVhRdlhycmdkajZLcmtjaFVJVEQwUkJOaTV3MzV3YXNrTXJNSXJtWUFKWlNp?= =?utf-8?B?L2c9PQ==?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 542f0a4f-fcb0-4d5e-511c-08db19ff8386 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2023 02:49:02.0310 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: jzgGCAPOJud5D5g/TtZGegstn9mXV95WItD7CJDh+DrEkUEi0np0mhpJRfUmVs8Es5j7Tt+jGBOwuRhXWuECdzumrtJkVddirUWX+5wf4gU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR13MB4585 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Long Wu If bonding port is mode4 with disabling dedicated queue and there are no other packets, forward loop will not call port's TX function and bonding port will not send LACP packets. Add sending LACP packets periodically in forward loop to avoid LACP negotiation failed. Signed-off-by: Long Wu Reviewed-by: Niklas Söderlund Reviewed-by: Chaoyong He --- app/test-pmd/config.c | 19 ++++++++++++++ app/test-pmd/parameters.c | 4 +++ app/test-pmd/testpmd.c | 37 +++++++++++++++++++++++++++ app/test-pmd/testpmd.h | 4 +++ doc/guides/testpmd_app_ug/run_app.rst | 4 +++ 5 files changed, 68 insertions(+) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index 4121c5c9bb..02757f34de 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c @@ -53,6 +53,11 @@ #ifdef RTE_LIB_GRO #include #endif +#ifdef RTE_NET_BOND +#include +#include +#endif + #include #include "testpmd.h" @@ -4439,6 +4444,17 @@ fwd_topology_tx_port_get(portid_t rxp) } } +static inline void +fwd_config_bond4_send_periodical_lacp(struct fwd_stream *fwd_stream) +{ +#ifdef RTE_NET_BOND + if (rte_eth_bond_8023ad_dedicated_queues_get(fwd_stream->tx_port) == 0) + fwd_stream->bond4_send_periodical_lacp = true; +#else + RTE_SET_USED(fwd_stream); +#endif +} + static void simple_fwd_config_setup(void) { @@ -4469,6 +4485,7 @@ simple_fwd_config_setup(void) fwd_streams[i]->tx_queue = 0; fwd_streams[i]->peer_addr = fwd_streams[i]->tx_port; fwd_streams[i]->retry_enabled = retry_enabled; + fwd_config_bond4_send_periodical_lacp(fwd_streams[i]); } } @@ -4530,6 +4547,7 @@ rss_fwd_config_setup(void) fs->tx_queue = rxq; fs->peer_addr = fs->tx_port; fs->retry_enabled = retry_enabled; + fwd_config_bond4_send_periodical_lacp(fs); rxp++; if (rxp < nb_fwd_ports) continue; @@ -4645,6 +4663,7 @@ dcb_fwd_config_setup(void) fs->tx_queue = txq + j % nb_tx_queue; fs->peer_addr = fs->tx_port; fs->retry_enabled = retry_enabled; + fwd_config_bond4_send_periodical_lacp(fs); } fwd_lcores[lc_id]->stream_nb += rxp_dcb_info.tc_queue.tc_rxq[i][tc].nb_queue; diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c index e734ad9a02..0fee5c5c94 100644 --- a/app/test-pmd/parameters.c +++ b/app/test-pmd/parameters.c @@ -205,6 +205,7 @@ usage(char* progname) printf(" --hairpin-mode=0xXX: bitmask set the hairpin port mode.\n" " 0x10 - explicit Tx rule, 0x02 - hairpin ports paired\n" " 0x01 - hairpin ports loop, 0x00 - hairpin port self\n"); + printf(" --bond4-lacp-fwd: enable LACP update in fwd main loop\n"); } #ifdef RTE_LIB_CMDLINE @@ -705,6 +706,7 @@ launch_args_parse(int argc, char** argv) { "rx-mq-mode", 1, 0, 0 }, { "record-core-cycles", 0, 0, 0 }, { "record-burst-stats", 0, 0, 0 }, + { "bond4-lacp-fwd", 0, 0, 0 }, { PARAM_NUM_PROCS, 1, 0, 0 }, { PARAM_PROC_ID, 1, 0, 0 }, { 0, 0, 0, 0 }, @@ -1462,6 +1464,8 @@ launch_args_parse(int argc, char** argv) num_procs = atoi(optarg); if (!strcmp(lgopts[opt_idx].name, PARAM_PROC_ID)) proc_id = atoi(optarg); + if (!strcmp(lgopts[opt_idx].name, "bond4-lacp-fwd")) + bond4_lacp_fwd = 1; break; case 'h': usage(argv[0]); diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 0c14325b8d..7755243cd6 100644 --- a/app/test-pmd/testpmd.c +++ b/app/test-pmd/testpmd.c @@ -68,6 +68,7 @@ #endif #ifdef RTE_NET_BOND #include +#include #endif #ifdef RTE_NET_MLX5 #include "mlx5_testpmd.h" @@ -519,6 +520,9 @@ struct gro_status gro_ports[RTE_MAX_ETHPORTS]; uint8_t gro_flush_cycles = GRO_DEFAULT_FLUSH_CYCLES; #endif +uint8_t bond4_lacp_fwd; +#define LACP_UPDATE_PERIOD 10000 + /* * hexadecimal bitmask of RX mq mode can be enabled. */ @@ -2252,6 +2256,28 @@ flush_fwd_rx_queues(void) } } +static inline void +try_lacp_send_in_fwd(struct fwd_stream **fsm, streamid_t nb_fs) +{ +#ifdef RTE_NET_BOND + void *qd; + streamid_t sm_id; + struct rte_eth_fp_ops *p; + + for (sm_id = 0; sm_id < nb_fs; sm_id++) { + /* Update bond4 LACP if dedicated queues disabled. */ + if (fsm[sm_id]->bond4_send_periodical_lacp) { + p = &rte_eth_fp_ops[fsm[sm_id]->tx_port]; + qd = p->txq.data[fsm[sm_id]->tx_queue]; + rte_eth_bond_8023ad_lacp_send_one(qd); + } + } +#else + RTE_SET_USED(fsm); + RTE_SET_USED(nb_fs); +#endif +} + static void run_pkt_fwd_on_lcore(struct fwd_lcore *fc, packet_fwd_t pkt_fwd) { @@ -2269,6 +2295,9 @@ run_pkt_fwd_on_lcore(struct fwd_lcore *fc, packet_fwd_t pkt_fwd) tics_datum = rte_rdtsc(); tics_per_1sec = rte_get_timer_hz(); #endif + uint64_t before_tsc = rte_rdtsc(); + const uint64_t bond4_lacp_period = (rte_get_tsc_hz() + US_PER_S - 1) / + US_PER_S * LACP_UPDATE_PERIOD; fsm = &fwd_streams[fc->stream_idx]; nb_fs = fc->stream_nb; prev_tsc = rte_rdtsc(); @@ -2300,6 +2329,13 @@ run_pkt_fwd_on_lcore(struct fwd_lcore *fc, packet_fwd_t pkt_fwd) fc->total_cycles += tsc - prev_tsc; prev_tsc = tsc; } + if (bond4_lacp_fwd != 0) { + uint64_t current_tsc = rte_rdtsc(); + if (unlikely((current_tsc - before_tsc) > bond4_lacp_period)) { + try_lacp_send_in_fwd(fsm, nb_fs); + before_tsc = current_tsc; + } + } } while (! fc->stopped); } @@ -4462,6 +4498,7 @@ main(int argc, char** argv) #ifdef RTE_LIB_LATENCYSTATS latencystats_enabled = 0; #endif + bond4_lacp_fwd = 0; /* on FreeBSD, mlockall() is disabled by default */ #ifdef RTE_EXEC_ENV_FREEBSD diff --git a/app/test-pmd/testpmd.h b/app/test-pmd/testpmd.h index 329a6378a1..8f88223069 100644 --- a/app/test-pmd/testpmd.h +++ b/app/test-pmd/testpmd.h @@ -175,6 +175,8 @@ struct fwd_stream { unsigned int gro_times; /**< GRO operation times */ #endif uint64_t busy_cycles; /**< used with --record-core-cycles */ + bool bond4_send_periodical_lacp; + /**< Send LACP packets periodically in forward loop */ struct pkt_burst_stats rx_burst_stats; struct pkt_burst_stats tx_burst_stats; struct fwd_lcore *lcore; /**< Lcore being scheduled. */ @@ -583,6 +585,8 @@ extern lcoreid_t bitrate_lcore_id; extern uint8_t bitrate_enabled; #endif +extern uint8_t bond4_lacp_fwd; + extern uint32_t max_rx_pkt_len; /* diff --git a/doc/guides/testpmd_app_ug/run_app.rst b/doc/guides/testpmd_app_ug/run_app.rst index f85f323033..8ea8aefde6 100644 --- a/doc/guides/testpmd_app_ug/run_app.rst +++ b/doc/guides/testpmd_app_ug/run_app.rst @@ -538,6 +538,10 @@ The command line options are: Enable display of RX and TX burst stats. +* ``--bond4-lacp-fwd`` + + Enable LACP packets sending in main forward loop to avoid LACP negotiation failed. + * ``--hairpin-mode=0xXXXX`` Set the hairpin port configuration with bitmask, only valid when hairpin queues number is set:: -- 2.39.1