Re: [PATCH for-next 3/3] IB/mlx5: Add support for don't trap rules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Maor,

[auto build test ERROR on rdma/master]
[also build test ERROR on v4.5-rc7 next-20160307]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Matan-Barak/DONT_TRAP-support-for-mlx5-flow-steering/20160308-005435
base:   https://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma master
config: sparc64-allmodconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=sparc64 

All errors (new ones prefixed by >>):

   drivers/infiniband/hw/mlx5/main.c: In function 'get_flow_table':
>> drivers/infiniband/hw/mlx5/main.c:1385:38: error: 'IB_FLOW_ATTR_FLAGS_DONT_TRAP' undeclared (first use in this function)
     bool dont_trap = flow_attr->flags & IB_FLOW_ATTR_FLAGS_DONT_TRAP;
                                         ^
   drivers/infiniband/hw/mlx5/main.c:1385:38: note: each undeclared identifier is reported only once for each function it appears in
   drivers/infiniband/hw/mlx5/main.c: In function 'mlx5_ib_create_flow':
   drivers/infiniband/hw/mlx5/main.c:1598:27: error: 'IB_FLOW_ATTR_FLAGS_DONT_TRAP' undeclared (first use in this function)
         (flow_attr->flags & ~IB_FLOW_ATTR_FLAGS_DONT_TRAP))
                              ^

vim +/IB_FLOW_ATTR_FLAGS_DONT_TRAP +1385 drivers/infiniband/hw/mlx5/main.c

  1379	
  1380	#define MLX5_FS_MAX_TYPES	 10
  1381	#define MLX5_FS_MAX_ENTRIES	 32000UL
  1382	static struct mlx5_ib_flow_prio *get_flow_table(struct mlx5_ib_dev *dev,
  1383							struct ib_flow_attr *flow_attr)
  1384	{
> 1385		bool dont_trap = flow_attr->flags & IB_FLOW_ATTR_FLAGS_DONT_TRAP;
  1386		struct mlx5_flow_namespace *ns = NULL;
  1387		struct mlx5_ib_flow_prio *prio;
  1388		struct mlx5_flow_table *ft;

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux