nvethernet: use info log for default settings case

For TXQ and PTP RX queue, default setting are marked as errors
instead they needs to be marked info level logs.

Bug 200722499

Change-Id: I992a09661eb79a25b48999ef9b154b39be3cbb3d
Signed-off-by: Bhadram Varka <vbhadram@nvidia.com>
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2523246
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
This commit is contained in:
Bhadram Varka
2021-04-14 11:45:05 +05:30
committed by Revanth Kumar Uppala
parent 32ed166339
commit dfc705b07b

View File

@@ -4237,7 +4237,7 @@ static int ether_parse_dt(struct ether_priv_data *pdata)
osi_core->num_mtl_queues);
for (i = 0; i < osi_core->num_mtl_queues; i++) {
if (ret < 0) {
dev_err(dev, "set default TXQ to TC mapping\n");
dev_info(dev, "set default TXQ to TC mapping\n");
osi_core->tc[osi_core->mtl_queues[i]] =
(osi_core->mtl_queues[i] %
OSI_MAX_TC_NUM);
@@ -4253,7 +4253,7 @@ static int ether_parse_dt(struct ether_priv_data *pdata)
ret = of_property_read_u32(np, "nvidia,ptp-rx-queue",
&osi_core->ptp_config.ptp_rx_queue);
if (ret != 0) {
dev_warn(dev, "Setting default PTP RX queue\n");
dev_info(dev, "Setting default PTP RX queue\n");
osi_core->ptp_config.ptp_rx_queue = osi_core->mtl_queues[0];
} else {
/* Validate PTP Rx queue index */