Re: [PATCH 13/17] octeontx2-af: Install ucast and bcast pkt forwarding rules

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

 



Hi Sunil,

I love your patch! Yet something to improve:

[auto build test ERROR on net-next/master]
[also build test ERROR on next-20181019]
[cannot apply to v4.19]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/sunil-kovvuri-gmail-com/octeontx2-af-NPC-parser-and-NIX-blocks-initialization/20181021-094953
config: arm64-allmodconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.2.0 make.cross ARCH=arm64 

All errors (new ones prefixed by >>):

   In file included from drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c:17:0:
>> drivers/net/ethernet/marvell/octeontx2/af/npc.h:251:2: error: expected ',', ';' or '}' before 'u64'
     u64 op  :4;
     ^~~
--
   In file included from drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c:17:0:
>> drivers/net/ethernet/marvell/octeontx2/af/npc.h:251:2: error: expected ',', ';' or '}' before 'u64'
     u64 op  :4;
     ^~~
   drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c: In function 'rvu_npc_install_ucast_entry':
>> drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c:304:9: error: 'struct nix_rx_action' has no member named 'op'
      action.op = NIX_RX_ACTIONOP_UCAST;
            ^
   drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c: In function 'rvu_npc_install_bcast_match_entry':
   drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c:348:8: error: 'struct nix_rx_action' has no member named 'op'
     action.op = NIX_RX_ACTIONOP_UCAST;
           ^
   drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c: In function 'rvu_npc_disable_mcam_entries':
   drivers/net/ethernet/marvell/octeontx2/af/rvu_npc.c:385:13: error: 'struct nix_rx_action' has no member named 'op'
      if (action.op != NIX_RX_ACTIONOP_MCAST)
                ^

vim +251 drivers/net/ethernet/marvell/octeontx2/af/npc.h

   243	
   244	struct nix_rx_action {
   245	#if defined(__BIG_ENDIAN_BITFIELD)
   246		u64	rsvd_63_61	:3;
   247		u64	flow_key_alg	:5;
   248		u64	match_id	:16;
   249		u64	index		:20;
   250		u64	pf_func		:16
 > 251		u64	op		:4;
   252	#else
   253		u64	op		:4;
   254		u64	pf_func		:16;
   255		u64	index		:20;
   256		u64	match_id	:16;
   257		u64	flow_key_alg	:5;
   258		u64	rsvd_63_61	:3;
   259	#endif
   260	};
   261	

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux