lkml.org 
[lkml]   [2015]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] net : To avoid execution of extra instructions in NET RX path when rps_map is not set but rps_needed is true.
Hi Ashutosh,

[auto build test ERROR on net-next/master]
[also build test ERROR on v4.4-rc4 next-20151209]

url: https://github.com/0day-ci/linux/commits/Rahul-Jain/net-To-avoid-execution-of-extra-instructions-in-NET-RX-path-when-rps_map-is-not-set-but-rps_needed-is-true/20151209-183932
config: m68k-m5208evb_defconfig (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=m68k

All errors (new ones prefixed by >>):

net/core/dev.c: In function 'netif_rx_internal':
>> net/core/dev.c:3535:48: error: 'struct net_device' has no member named '_rx'
struct netdev_rx_queue *dev_rxqueue = skb->dev->_rx;
^
net/core/dev.c:3535:26: warning: unused variable 'dev_rxqueue' [-Wunused-variable]
struct netdev_rx_queue *dev_rxqueue = skb->dev->_rx;
^
net/core/dev.c: In function 'netif_receive_skb_internal':
net/core/dev.c:3992:48: error: 'struct net_device' has no member named '_rx'
struct netdev_rx_queue *dev_rxqueue = skb->dev->_rx;
^
net/core/dev.c:3992:26: warning: unused variable 'dev_rxqueue' [-Wunused-variable]
struct netdev_rx_queue *dev_rxqueue = skb->dev->_rx;
^

vim +3535 net/core/dev.c

3529 return NET_RX_DROP;
3530 }
3531
3532 static int netif_rx_internal(struct sk_buff *skb)
3533 {
3534 int ret;
> 3535 struct netdev_rx_queue *dev_rxqueue = skb->dev->_rx;
3536
3537 net_timestamp_check(netdev_tstamp_prequeue, skb);
3538

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2015-12-09 17:21    [W:0.047 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site