All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Wojciech Drewek <wojciech.drewek@intel.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [Intel-wired-lan] [PATCH iwl-next v10 14/14] iavf: add support for Rx timestamps to hotpath
Date: Thu, 22 Aug 2024 21:22:44 +0800	[thread overview]
Message-ID: <202408222123.LEHTAhtq-lkp@intel.com> (raw)
In-Reply-To: <20240821121539.374343-15-wojciech.drewek@intel.com>

Hi Wojciech,

kernel test robot noticed the following build errors:

[auto build test ERROR on tnguy-next-queue/dev-queue]

url:    https://github.com/intel-lab-lkp/linux/commits/Wojciech-Drewek/virtchnl-add-support-for-enabling-PTP-on-iAVF/20240821-202156
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue.git dev-queue
patch link:    https://lore.kernel.org/r/20240821121539.374343-15-wojciech.drewek%40intel.com
patch subject: [Intel-wired-lan] [PATCH iwl-next v10 14/14] iavf: add support for Rx timestamps to hotpath
config: i386-buildonly-randconfig-002-20240822 (https://download.01.org/0day-ci/archive/20240822/202408222123.LEHTAhtq-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240822/202408222123.LEHTAhtq-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202408222123.LEHTAhtq-lkp@intel.com/

All errors (new ones prefixed by >>):

   ld: drivers/net/ethernet/intel/iavf/iavf_main.o: in function `iavf_hwstamp_set':
   drivers/net/ethernet/intel/iavf/iavf_main.c:5095: undefined reference to `iavf_ptp_set_ts_config'
   ld: drivers/net/ethernet/intel/iavf/iavf_main.o: in function `iavf_select_rx_desc_format':
>> drivers/net/ethernet/intel/iavf/iavf_main.c:734: undefined reference to `iavf_ptp_cap_supported'
   ld: drivers/net/ethernet/intel/iavf/iavf_main.o: in function `iavf_remove':
   drivers/net/ethernet/intel/iavf/iavf_main.c:5517: undefined reference to `iavf_ptp_release'
   ld: drivers/net/ethernet/intel/iavf/iavf_main.o: in function `iavf_init_config_adapter':
   drivers/net/ethernet/intel/iavf/iavf_main.c:2851: undefined reference to `iavf_ptp_init'
   ld: drivers/net/ethernet/intel/iavf/iavf_virtchnl.o: in function `iavf_configure_queues':
   drivers/net/ethernet/intel/iavf/iavf_virtchnl.c:409: undefined reference to `iavf_ptp_cap_supported'
   ld: drivers/net/ethernet/intel/iavf/iavf_virtchnl.o: in function `iavf_virtchnl_completion':
   drivers/net/ethernet/intel/iavf/iavf_virtchnl.c:2595: undefined reference to `iavf_ptp_process_caps'
   ld: drivers/net/ethernet/intel/iavf/iavf_txrx.o: in function `iavf_flex_rx_tstamp':
>> drivers/net/ethernet/intel/iavf/iavf_txrx.c:1124: undefined reference to `iavf_ptp_extend_32b_timestamp'
   ld: net/core/net-sysfs.o: in function `netdev_queue_update_kobjects':
   net/core/net-sysfs.c:1852: undefined reference to `dql_group'
   ld: net/core/net-sysfs.o: in function `netdev_queue_add_kobject':
   net/core/net-sysfs.c:1792: undefined reference to `dql_group'


vim +734 drivers/net/ethernet/intel/iavf/iavf_main.c

   712	
   713	/**
   714	 * iavf_select_rx_desc_format - Select Rx descriptor format
   715	 * @adapter: adapter private structure
   716	 *
   717	 * Select what Rx descriptor format based on availability and enabled
   718	 * features.
   719	 *
   720	 * Return: the desired RXDID to select for a given Rx queue, as defined by
   721	 *         enum virtchnl_rxdid_format.
   722	 */
   723	static u8 iavf_select_rx_desc_format(const struct iavf_adapter *adapter)
   724	{
   725		u64 rxdids = adapter->supp_rxdids;
   726	
   727		/* If we did not negotiate VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC, we must
   728		 * stick with the default value of the legacy 32 byte format.
   729		 */
   730		if (!IAVF_RXDID_ALLOWED(adapter))
   731			return VIRTCHNL_RXDID_1_32B_BASE;
   732	
   733		/* Rx timestamping requires the use of flexible NIC descriptors */
 > 734		if (iavf_ptp_cap_supported(adapter, VIRTCHNL_1588_PTP_CAP_RX_TSTAMP)) {
   735			if (rxdids & BIT(VIRTCHNL_RXDID_2_FLEX_SQ_NIC))
   736				return VIRTCHNL_RXDID_2_FLEX_SQ_NIC;
   737	
   738			pci_warn(adapter->pdev,
   739				 "Unable to negotiate flexible descriptor format\n");
   740		}
   741	
   742		/* Warn if the PF does not list support for the default legacy
   743		 * descriptor format. This shouldn't happen, as this is the format
   744		 * used if VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC is not supported. It is
   745		 * likely caused by a bug in the PF implementation failing to indicate
   746		 * support for the format.
   747		 */
   748		if (!(rxdids & VIRTCHNL_RXDID_1_32B_BASE_M))
   749			pci_warn(adapter->pdev, "PF does not list support for default Rx descriptor format\n");
   750	
   751		return VIRTCHNL_RXDID_1_32B_BASE;
   752	}
   753	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  reply	other threads:[~2024-08-22 13:23 UTC|newest]

Thread overview: 81+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-21 12:15 [Intel-wired-lan] [PATCH iwl-next v10 00/14] Add support for Rx timestamping for both ice and iavf drivers Wojciech Drewek
2024-08-21 12:15 ` Wojciech Drewek
2024-08-21 12:15 ` [Intel-wired-lan] [PATCH iwl-next v10 01/14] virtchnl: add support for enabling PTP on iAVF Wojciech Drewek
2024-08-21 12:15   ` Wojciech Drewek
2024-08-21 13:32   ` [Intel-wired-lan] " Alexander Lobakin
2024-08-21 13:32     ` Alexander Lobakin
2024-08-21 12:15 ` [Intel-wired-lan] [PATCH iwl-next v10 02/14] ice: support Rx timestamp on flex descriptor Wojciech Drewek
2024-08-21 12:15   ` Wojciech Drewek
2024-08-21 13:29   ` [Intel-wired-lan] " Alexander Lobakin
2024-08-21 13:29     ` Alexander Lobakin
2024-08-23  9:52     ` [Intel-wired-lan] " Wojciech Drewek
2024-08-23  9:52       ` Wojciech Drewek
2024-08-21 12:15 ` [Intel-wired-lan] [PATCH iwl-next v10 03/14] virtchnl: add enumeration for the rxdid format Wojciech Drewek
2024-08-21 12:15   ` Wojciech Drewek
2024-08-21 13:30   ` [Intel-wired-lan] " Alexander Lobakin
2024-08-21 13:30     ` Alexander Lobakin
2024-08-21 12:15 ` [Intel-wired-lan] [PATCH iwl-next v10 04/14] iavf: add support for negotiating flexible RXDID format Wojciech Drewek
2024-08-21 12:15   ` Wojciech Drewek
2024-08-21 13:52   ` [Intel-wired-lan] " Alexander Lobakin
2024-08-21 13:52     ` Alexander Lobakin
2024-08-26  9:45     ` [Intel-wired-lan] " Wojciech Drewek
2024-08-26  9:45       ` Wojciech Drewek
2024-08-21 12:15 ` [Intel-wired-lan] [PATCH iwl-next v10 05/14] iavf: negotiate PTP capabilities Wojciech Drewek
2024-08-21 12:15   ` Wojciech Drewek
2024-08-21 14:06   ` [Intel-wired-lan] " Alexander Lobakin
2024-08-21 14:06     ` Alexander Lobakin
2024-08-26 12:43     ` [Intel-wired-lan] " Wojciech Drewek
2024-08-26 12:43       ` Wojciech Drewek
2024-08-21 12:15 ` [Intel-wired-lan] [PATCH iwl-next v10 06/14] iavf: add initial framework for registering PTP clock Wojciech Drewek
2024-08-21 12:15   ` Wojciech Drewek
2024-08-21 14:20   ` [Intel-wired-lan] " Alexander Lobakin
2024-08-21 14:20     ` Alexander Lobakin
2024-08-27 10:59     ` [Intel-wired-lan] " Wojciech Drewek
2024-08-27 10:59       ` Wojciech Drewek
2024-08-22  2:42   ` [Intel-wired-lan] " kernel test robot
2024-08-21 12:15 ` [Intel-wired-lan] [PATCH iwl-next v10 07/14] iavf: add support for indirect access to PHC time Wojciech Drewek
2024-08-21 12:15   ` Wojciech Drewek
2024-08-21 14:31   ` [Intel-wired-lan] " Alexander Lobakin
2024-08-21 14:31     ` Alexander Lobakin
2024-08-28 11:15     ` [Intel-wired-lan] " Wojciech Drewek
2024-08-28 11:15       ` Wojciech Drewek
2024-08-28 12:05       ` [Intel-wired-lan] " Alexander Lobakin
2024-08-28 12:05         ` Alexander Lobakin
2024-08-28 14:50         ` [Intel-wired-lan] " Wojciech Drewek
2024-08-28 14:50           ` Wojciech Drewek
2024-10-01  7:20     ` [Intel-wired-lan] " Mateusz Polchlopek
2024-10-01  7:20       ` Mateusz Polchlopek
2024-10-01 13:49       ` [Intel-wired-lan] " Alexander Lobakin
2024-10-01 13:49         ` Alexander Lobakin
2024-08-21 12:15 ` [Intel-wired-lan] [PATCH iwl-next v10 08/14] iavf: periodically cache " Wojciech Drewek
2024-08-21 12:15   ` Wojciech Drewek
2024-08-21 14:43   ` [Intel-wired-lan] " Alexander Lobakin
2024-08-21 14:43     ` Alexander Lobakin
2024-08-28 11:31     ` [Intel-wired-lan] " Wojciech Drewek
2024-08-28 11:31       ` Wojciech Drewek
2024-08-21 12:15 ` [Intel-wired-lan] [PATCH iwl-next v10 09/14] libeth: move idpf_rx_csum_decoded and idpf_rx_extracted Wojciech Drewek
2024-08-21 12:15   ` Wojciech Drewek
2024-08-21 15:03   ` [Intel-wired-lan] " Alexander Lobakin
2024-08-21 15:03     ` Alexander Lobakin
2024-08-21 12:15 ` [Intel-wired-lan] [PATCH iwl-next v10 10/14] iavf: define Rx descriptors as qwords Wojciech Drewek
2024-08-21 12:15   ` Wojciech Drewek
2024-08-22 16:16   ` [Intel-wired-lan] " Alexander Lobakin
2024-08-22 16:16     ` Alexander Lobakin
2024-08-21 12:15 ` [Intel-wired-lan] [PATCH iwl-next v10 11/14] iavf: refactor iavf_clean_rx_irq to support legacy and flex descriptors Wojciech Drewek
2024-08-21 12:15   ` Wojciech Drewek
2024-08-22 16:40   ` [Intel-wired-lan] " Alexander Lobakin
2024-08-22 16:40     ` Alexander Lobakin
2024-08-21 12:15 ` [Intel-wired-lan] [PATCH iwl-next v10 12/14] iavf: Implement checking DD desc field Wojciech Drewek
2024-08-21 12:15   ` Wojciech Drewek
2024-08-22 16:46   ` [Intel-wired-lan] " Alexander Lobakin
2024-08-22 16:46     ` Alexander Lobakin
2024-08-21 12:15 ` [Intel-wired-lan] [PATCH iwl-next v10 13/14] iavf: handle set and get timestamps ops Wojciech Drewek
2024-08-21 12:15   ` Wojciech Drewek
2024-08-22  7:12   ` [Intel-wired-lan] " kernel test robot
2024-08-22 16:48   ` Alexander Lobakin
2024-08-22 16:48     ` Alexander Lobakin
2024-08-21 12:15 ` [Intel-wired-lan] [PATCH iwl-next v10 14/14] iavf: add support for Rx timestamps to hotpath Wojciech Drewek
2024-08-21 12:15   ` Wojciech Drewek
2024-08-22 13:22   ` kernel test robot [this message]
2024-08-22 16:54   ` [Intel-wired-lan] " Alexander Lobakin
2024-08-22 16:54     ` Alexander Lobakin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202408222123.LEHTAhtq-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=wojciech.drewek@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.