[dpdk-dev] [PATCH] net/bonding: Support configuration for LACP fast timers

Min Hu (Connor) humin29 at huawei.com
Wed Nov 25 13:10:24 CET 2020


+/* LACP Rate */
+#define LACP_RATE_SLOW  (0)
+#define LACP_RATE_FAST  (1)

parentheses here can be deleted.


		/* Set balance mode transmit policy*/
		
blank space shoud be added before "*/".
+		if (rte_eth_bond_lacp_rate_set(port_id, lacp_rate)
+				!= 0) {
+			RTE_LOG(ERR, EAL,
+					"Failed to set lacp rate on bonded device %s\n", name);
+			return -1;
+		}


Add a rte APIs to set/get the timeout for LACP

signed-off-by: Kiran KN <kirankn at juniper.net>

By the way, I wish commit info can be more detailed for
These two APIs£¬then we can know the API functino more.
thanks.


More information about the dev mailing list