[dpdk-dev] [PATCH 2/5] ixgbe: don't print PCI address on link change

Bruce Richardson bruce.richardson at intel.com
Mon May 18 11:32:39 CEST 2015


On Fri, May 15, 2015 at 10:08:24AM -0700, Stephen Hemminger wrote:
> Printing PCI information on link state change is unnecessary since
> the same information has already been displayed earlier in the log.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>

Acked-by: Bruce Richardson <bruce.richardson at intel.com>

> ---
>  lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/lib/librte_pmd_ixgbe/ixgbe_ethdev.c b/lib/librte_pmd_ixgbe/ixgbe_ethdev.c
> index a585151..fa335f4 100644
> --- a/lib/librte_pmd_ixgbe/ixgbe_ethdev.c
> +++ b/lib/librte_pmd_ixgbe/ixgbe_ethdev.c
> @@ -2315,11 +2315,6 @@ ixgbe_dev_link_status_print(struct rte_eth_dev *dev)
>  		PMD_INIT_LOG(INFO, "Port %u: Link Down",
>  				dev->data->port_id);
>  	}
> -	PMD_INIT_LOG(INFO, "PCI Address: %04d:%02d:%02d:%d",
> -				dev->pci_dev->addr.domain,
> -				dev->pci_dev->addr.bus,
> -				dev->pci_dev->addr.devid,
> -				dev->pci_dev->addr.function);
>  }
>  
>  /*
> -- 
> 2.1.4
> 


More information about the dev mailing list