linux_dsm_epyc7002/drivers/net/ehea
Arnaldo Carvalho de Melo c9bdd4b525 [IP]: Introduce ip_hdrlen()
For the common sequence "skb->nh.iph->ihl * 4", removing a good number of open
coded skb->nh.iph uses, now to go after the rest...

Just out of curiosity, here are the idioms found to get the same result:

skb->nh.iph->ihl << 2
skb->nh.iph->ihl<<2
skb->nh.iph->ihl * 4
skb->nh.iph->ihl*4
(skb->nh.iph)->ihl * sizeof(u32)

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-04-25 22:25:07 -07:00
..
ehea_ethtool.c [PATCH] ehea: 64K page support fix 2006-11-06 02:55:07 -05:00
ehea_hcall.h [PATCH] ehea: IBM eHEA Ethernet Device Driver 2006-09-13 13:23:52 -04:00
ehea_hw.h [PATCH] ehea: bugfix for register access functions 2006-09-19 00:05:45 -04:00
ehea_main.c [IP]: Introduce ip_hdrlen() 2007-04-25 22:25:07 -07:00
ehea_phyp.c ehea: Fixed error recovery 2007-02-09 16:09:46 -05:00
ehea_phyp.h ehea: Fixed error recovery 2007-02-09 16:09:46 -05:00
ehea_qmr.c ehea: Fixed error recovery 2007-02-09 16:09:46 -05:00
ehea_qmr.h ehea: Fixed error recovery 2007-02-09 16:09:46 -05:00
ehea.h ehea: Fixed error recovery 2007-02-09 16:09:46 -05:00
Makefile [PATCH] ehea: IBM eHEA Ethernet Device Driver 2006-09-13 13:23:52 -04:00