[PATCH v2 03/14] net/bnxt: log a message when multicast promisc mode changes

Stephen Hemminger stephen at networkplumber.org
Sun Dec 10 18:56:41 CET 2023


On Sat,  9 Dec 2023 17:24:44 -0800
Ajit Khaparde <ajit.khaparde at broadcom.com> wrote:

> +		PMD_DRV_LOG(INFO, "Number of Mcast MACs added (%d) exceeded Max supported (%d)\n",
> +			    nb_mc_addr, BNXT_MAX_MC_ADDRS);

Use %u for unsigned variables.

> +		PMD_DRV_LOG(INFO, "Turning on Mcast promiscuous mode\n");

Do you really need two log lines.


More information about the dev mailing list