public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c:2547: undefined reference to `vxlan_fdb_find_uc'
@ 2018-12-21  6:13 kbuild test robot
  2018-12-21 10:39 ` Ido Schimmel
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2018-12-21  6:13 UTC (permalink / raw)
  To: Ido Schimmel; +Cc: kbuild-all, linux-kernel, Petr Machata

[-- Attachment #1: Type: text/plain, Size: 2878 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9097a058d49e049925d8da72db07fffcee24efa0
commit: 1231e04f5bba47f87d0b690a2d58c771a59f93aa mlxsw: spectrum_switchdev: Add support for VxLAN encapsulation
date:   9 weeks ago
config: x86_64-randconfig-s2-12211040 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
        git checkout 1231e04f5bba47f87d0b690a2d58c771a59f93aa
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.o: In function `mlxsw_sp_switchdev_bridge_vxlan_fdb_event':
>> drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c:2547: undefined reference to `vxlan_fdb_find_uc'

vim +2547 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c

  2532	
  2533	static void
  2534	mlxsw_sp_switchdev_bridge_vxlan_fdb_event(struct mlxsw_sp *mlxsw_sp,
  2535						  struct mlxsw_sp_switchdev_event_work *
  2536						  switchdev_work,
  2537						  struct mlxsw_sp_fid *fid, __be32 vni)
  2538	{
  2539		struct switchdev_notifier_vxlan_fdb_info vxlan_fdb_info;
  2540		struct switchdev_notifier_fdb_info *fdb_info;
  2541		struct net_device *dev = switchdev_work->dev;
  2542		enum mlxsw_sp_l3proto proto;
  2543		union mlxsw_sp_l3addr addr;
  2544		int err;
  2545	
  2546		fdb_info = &switchdev_work->fdb_info;
> 2547		err = vxlan_fdb_find_uc(dev, fdb_info->addr, vni, &vxlan_fdb_info);
  2548		if (err)
  2549			return;
  2550	
  2551		mlxsw_sp_switchdev_vxlan_addr_convert(&vxlan_fdb_info.remote_ip,
  2552						      &proto, &addr);
  2553	
  2554		switch (switchdev_work->event) {
  2555		case SWITCHDEV_FDB_ADD_TO_DEVICE:
  2556			err = mlxsw_sp_port_fdb_tunnel_uc_op(mlxsw_sp,
  2557							     vxlan_fdb_info.eth_addr,
  2558							     mlxsw_sp_fid_index(fid),
  2559							     proto, &addr, true, false);
  2560			if (err)
  2561				return;
  2562			vxlan_fdb_info.offloaded = true;
  2563			call_switchdev_notifiers(SWITCHDEV_VXLAN_FDB_OFFLOADED, dev,
  2564						 &vxlan_fdb_info.info);
  2565			mlxsw_sp_fdb_call_notifiers(SWITCHDEV_FDB_OFFLOADED,
  2566						    vxlan_fdb_info.eth_addr,
  2567						    fdb_info->vid, dev, true);
  2568			break;
  2569		case SWITCHDEV_FDB_DEL_TO_DEVICE:
  2570			err = mlxsw_sp_port_fdb_tunnel_uc_op(mlxsw_sp,
  2571							     vxlan_fdb_info.eth_addr,
  2572							     mlxsw_sp_fid_index(fid),
  2573							     proto, &addr, false,
  2574							     false);
  2575			vxlan_fdb_info.offloaded = false;
  2576			call_switchdev_notifiers(SWITCHDEV_VXLAN_FDB_OFFLOADED, dev,
  2577						 &vxlan_fdb_info.info);
  2578			break;
  2579		}
  2580	}
  2581	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34872 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-12-21 10:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-21  6:13 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c:2547: undefined reference to `vxlan_fdb_find_uc' kbuild test robot
2018-12-21 10:39 ` Ido Schimmel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox