android_kernel_xiaomi_sm8350/drivers/net
Dhananjay Phadke 5dc162682d netxen: fix byte-swapping in tx and rx
Here's the reworked patch.

This cleans up some unnecessary byte-swapping while setting up tx and
interpreting rx desc. The 64 bit rx status data should be converted
to host endian format only once and the macros just need to extract
bitfields.

This saves a spate of interrupts on pseries blades caused by buggy
(non) processing rx status ring.

Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2008-01-12 17:35:38 -05:00
..
appletalk
arcnet [NET]: Remove references to net-modules.txt. 2007-11-12 21:03:58 -08:00
arm [EP93xx_ETH]: Build fix after 2.6.24 NAPI changes. 2007-11-13 20:46:09 -08:00
atl1
bonding bonding: Fix race at module unload 2007-12-07 15:00:34 -05:00
chelsio cxgb - revert file mode changes. 2007-12-04 14:52:58 -05:00
cris CRISv10 Ethernet declare mac fix 2007-11-14 18:45:47 -08:00
cxgb3 cxgb3 - T3C support update 2007-12-07 15:00:36 -05:00
e1000 [NET]: Make ->poll() breakout consistent in Intel ethernet drivers. 2008-01-08 23:30:14 -08:00
e1000e [NET]: Make ->poll() breakout consistent in Intel ethernet drivers. 2008-01-08 23:30:14 -08:00
ehea ehea: Reworked rcv queue handling to log only fatal errors 2007-11-23 22:09:01 -05:00
fec_8xx [NET]: Do not check netif_running() and carrier state in ->poll() 2008-01-08 23:30:09 -08:00
fs_enet [NET]: Do not check netif_running() and carrier state in ->poll() 2008-01-08 23:30:09 -08:00
hamradio [TTY]: Use tty_mode_ioctl() in network drivers. 2007-11-07 04:14:24 -08:00
ibm_emac Add dcr_host_t.base in dcr_read()/dcr_write() 2007-10-15 14:29:49 -04:00
ibm_newemac Net: ibm_newemac, remove SPIN_LOCK_UNLOCKED 2007-12-14 16:12:45 -05:00
irda [IRDA]: stir4200 fixes. 2007-12-16 14:09:44 -08:00
ixgb [NET]: Make ->poll() breakout consistent in Intel ethernet drivers. 2008-01-08 23:30:14 -08:00
ixgbe [NET]: Make ->poll() breakout consistent in Intel ethernet drivers. 2008-01-08 23:30:14 -08:00
ixp2000 [NET]: Do not check netif_running() and carrier state in ->poll() 2008-01-08 23:30:09 -08:00
mlx4 mlx4_core: Fix state check in mlx4_qp_modify() 2007-11-20 13:01:28 -08:00
myri10ge [NET]: Do not check netif_running() and carrier state in ->poll() 2008-01-08 23:30:09 -08:00
netxen netxen: fix byte-swapping in tx and rx 2008-01-12 17:35:38 -05:00
pcmcia 3c574 and 3c589 endianness fixes (.24?) 2007-12-22 22:53:07 -05:00
phy PHY: Add the phy_device_release device method. 2007-12-04 15:06:33 -05:00
sk98lin
skfp
tokenring 3c359 endianness annotations and fixes 2007-12-22 23:16:42 -05:00
tulip endianness noise in tulip_core 2008-01-12 17:33:04 -05:00
usb [NET]: mcs7830 passes msecs instead of jiffies to usb_control_msg 2008-01-08 23:30:19 -08:00
wan cycx: annotations and fixes (.24 fodder?) 2007-12-22 22:53:06 -05:00
wireless b43: Fix rxheader channel parsing 2008-01-08 23:30:06 -08:00
3c59x.c vortex_up should initialize "err" 2007-10-17 20:23:30 -04:00
3c501.c
3c501.h
3c503.c
3c503.h
3c505.c
3c505.h
3c507.c
3c509.c
3c515.c
3c523.c
3c523.h
3c527.c
3c527.h
7990.c
7990.h
8139cp.c
8139too.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
8390.c
8390.h
82596.c 82596: free nonexistent resource fix 2007-11-05 17:57:30 -05:00
a2065.c
a2065.h
ac3200.c
acenic_firmware.h
acenic.c
acenic.h
amd8111e.c amd8111e: don't call napi_enable if configured w/o NAPI 2007-11-23 22:09:00 -05:00
amd8111e.h
apne.c
ariadne.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
ariadne.h Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
at1700.c
atarilance.c
atp.c
atp.h
au1000_eth.c Fix misspellings of "system", "controller", "interrupt" and "necessary". 2007-10-19 23:10:43 +02:00
au1000_eth.h
ax88796.c Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
b44.c
b44.h
bfin_mac.c Merge branch 'master' into upstream-fixes 2007-12-01 16:18:56 -05:00
bfin_mac.h Blackfin arch: change get_bf537_ether_addr() to bfin_get_ether_addr() since this is not BF537 specific and to better match other Blackfin-specific conventions 2007-11-15 21:21:20 +08:00
bmac.c
bmac.h
bnx2_fw2.h [BNX2]: Update 5709 firmware to 3.7.1. 2007-10-17 19:25:27 -07:00
bnx2_fw.h
bnx2.c [BNX2]: Update version to 1.6.9. 2007-12-11 02:45:31 -08:00
bnx2.h [BNX2]: Fix RX packet rot. 2007-12-11 02:45:30 -08:00
bsd_comp.c
cassini.c [CASSINI]: Bump driver version and release date. 2008-01-04 03:55:30 -08:00
cassini.h [CASSINI]: Fix endianness bug. 2008-01-04 00:47:04 -08:00
cpmac.c cpmac: update to new fixed phy driver interface 2007-10-25 03:31:15 -04:00
cs89x0.c
cs89x0.h
de600.c
de600.h
de620.c
de620.h
declance.c
defxx.c defxx.c: dfx_bus_init() is __devexit not __devinit 2007-10-23 20:18:13 -04:00
defxx.h
depca.c
depca.h
dl2k.c dl2k endianness fixes (.24 fodder?) 2007-12-22 22:53:06 -05:00
dl2k.h dl2k endianness fixes (.24 fodder?) 2007-12-22 22:53:06 -05:00
dm9000.c DM9000 initialization fix 2007-10-19 23:00:01 -04:00
dm9000.h
dummy.c
e100.c [NET]: Make ->poll() breakout consistent in Intel ethernet drivers. 2008-01-08 23:30:14 -08:00
e2100.c
eepro100.c
eepro.c
eexpress.c eexpress: fix !SMP unused-var warning 2007-10-23 21:28:39 -04:00
eexpress.h
epic100.c [NET]: Do not check netif_running() and carrier state in ->poll() 2008-01-08 23:30:09 -08:00
eql.c
es3210.c
eth16i.c define global BIT macro 2007-10-19 11:53:42 -07:00
ewrk3.c
ewrk3.h
fealnx.c Remove long-dead commented-out MODULE_PARM reference. 2007-10-19 23:12:43 +02:00
fec_mpc52xx_phy.c FEC - fast ethernet controller for mpc52xx 2007-10-29 05:59:10 -04:00
fec_mpc52xx.c fec_mpc52xx: write in C... 2007-12-22 22:53:07 -05:00
fec_mpc52xx.h FEC - fast ethernet controller for mpc52xx 2007-10-29 05:59:10 -04:00
fec.c m68knommu: improve mii_do_cmd code in FEC driver 2007-10-23 08:32:34 -07:00
fec.h
forcedeth.c [FORCEDETH]: Fix reversing the MAC address on suspend. 2008-01-08 23:30:20 -08:00
gianfar_ethtool.c
gianfar_mii.c
gianfar_mii.h
gianfar_sysfs.c
gianfar.c gianfar: fix compile warning 2007-12-04 15:06:11 -05:00
gianfar.h gianfar: remove orphan struct. 2007-10-17 20:11:28 -04:00
hamachi.c hamachi endianness fixes 2007-12-14 15:26:15 -05:00
hp100.c [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
hp100.h
hp-plus.c
hp.c
hplance.c
hplance.h
hydra.c
ibmlana.c
ibmlana.h
ibmveth.c
ibmveth.h
ifb.c
ioc3-eth.c
ipg.c drivers/net/ipg.c: cleanups 2007-10-25 03:31:13 -04:00
ipg.h drivers/net/ipg.c: cleanups 2007-10-25 03:31:13 -04:00
isa-skeleton.c
iseries_veth.c
jazzsonic.c Jazzsonic: Fix warning about unused variable. 2007-10-15 14:29:49 -04:00
Kconfig Revert "make bnx2x select ZLIB_INFLATE" 2007-12-11 19:28:36 -08:00
lance.c
lasi_82596.c
lib8390.c
lib82596.c LIB82596: correct data types for hardware addresses 2007-12-01 16:38:28 -05:00
LICENSE.SRC
lne390.c
loopback.c [NET]: Move unneeded data to initdata section. 2007-11-13 03:23:50 -08:00
lp486e.c
mac89x0.c remove asm/bitops.h includes 2007-10-19 11:53:41 -07:00
mac8390.c
macb.c MACB: clear transmit buffers properly on transmit underrun 2007-12-22 23:26:51 -05:00
macb.h
mace.c
mace.h
macmace.c
macsonic.c
macvlan.c
Makefile FEC - fast ethernet controller for mpc52xx 2007-10-29 05:59:10 -04:00
meth.c [METH]: Fix MAC address handling. 2008-01-08 23:30:00 -08:00
meth.h define global BIT macro 2007-10-19 11:53:42 -07:00
mii.c
mipsnet.c MIPSnet: Delete all the useless debugging printks. 2007-10-23 20:18:13 -04:00
mipsnet.h MIPSsim: General cleanup 2007-10-15 14:29:49 -04:00
mv643xx_eth.c Merge branch 'features' of git://farnsworth.org/dale/linux-2.6-mv643xx_eth into upstream 2007-10-23 20:15:54 -04:00
mvme147.c
myri_code.h
myri_sbus.c [MYRI_SBUS]: Prevent that myri_do_handshake lies about ticks. 2007-11-13 03:16:17 -08:00
myri_sbus.h
natsemi.c [NET]: Do not check netif_running() and carrier state in ->poll() 2008-01-08 23:30:09 -08:00
ne2.c
ne2k-pci.c
ne3210.c
ne-h8300.c netdev: convert non-obvious instances to use ARRAY_SIZE() 2007-10-15 15:57:38 -04:00
ne.c
netconsole.c
netx-eth.c [NET]: Fix netx-eth.c compilation. 2008-01-08 23:29:59 -08:00
ni52.c
ni52.h
ni65.c
ni65.h
ni5010.c ni5010: kill unused variable 2007-10-23 21:28:40 -04:00
ni5010.h
niu.c [NIU]: Update driver version and release date. 2008-01-08 23:29:56 -08:00
niu.h
ns83820.c
pasemi_mac.c pasemi_mac: Fix reuse of free'd skb 2007-12-04 14:53:49 -05:00
pasemi_mac.h
pci-skeleton.c
pcnet32.c [NET]: Fix drivers to handle napi_disable() disabling interrupts. 2008-01-08 23:30:12 -08:00
plip.c plip: fix parport_register_device name parameter 2007-11-26 19:39:01 -08:00
ppp_async.c [PPP]: Remove ptr comparisons to 0 2007-11-12 18:07:31 -08:00
ppp_deflate.c
ppp_generic.c [PPP]: Remove ptr comparisons to 0 2007-11-12 18:07:31 -08:00
ppp_mppe.c [CRYPTO] users: Fix up scatterlist conversion errors 2007-10-27 00:52:07 -07:00
ppp_mppe.h
ppp_synctty.c [PPP]: Remove ptr comparisons to 0 2007-11-12 18:07:31 -08:00
pppoe.c [NET]: Forget the zero_it argument of sk_alloc() 2007-11-01 00:39:31 -07:00
pppol2tp.c [PPP]: L2TP: Fix oops in transmit and receive paths 2007-11-07 04:08:56 -08:00
pppox.c
ps3_gelic_net.c
ps3_gelic_net.h
qla3xxx.c [NET]: Do not check netif_running() and carrier state in ->poll() 2008-01-08 23:30:09 -08:00
qla3xxx.h qla3xxx: bugfix: Move link state machine into a worker thread 2007-11-10 04:25:15 -05:00
r8169.c [NET]: Fix drivers to handle napi_disable() disabling interrupts. 2008-01-08 23:30:12 -08:00
rionet.c
rrunner.c rrunner: use offsetof() instead of homegrown insanity 2007-12-22 22:53:07 -05:00
rrunner.h rrunner: use offsetof() instead of homegrown insanity 2007-12-22 22:53:07 -05:00
s2io-regs.h S2io: Check for register initialization completion before accesing device registers 2007-12-07 15:09:06 -05:00
s2io.c [NET]: Do not check netif_running() and carrier state in ->poll() 2008-01-08 23:30:09 -08:00
s2io.h s2io, rename BIT macro 2007-10-19 11:53:42 -07:00
saa9730.c SAA9730: Fix build 2007-10-15 14:29:48 -04:00
saa9730.h
sb1000.c
sb1250-mac.c
sc92031.c
seeq8005.c
seeq8005.h
sgiseeq.c
sgiseeq.h
shaper.c
sis190.c sis190 endianness 2007-12-17 16:02:28 -05:00
sis900.c
sis900.h
skge.c skge: MTU changing fix 2007-12-01 16:32:30 -05:00
skge.h skge: add a debug interface 2007-10-16 21:10:29 -04:00
sky2.c [NET]: Fix drivers to handle napi_disable() disabling interrupts. 2008-01-08 23:30:12 -08:00
sky2.h sky2: revert to access PCI config via device space 2007-12-01 16:32:31 -05:00
slhc.c
slip.c [TTY]: Use tty_mode_ioctl() in network drivers. 2007-11-07 04:14:24 -08:00
slip.h
smc91x.c
smc91x.h Blackfin SMC91x Driver: punt CONFIG_BFIN -- we already have CONFIG_BLACKFIN 2007-11-23 22:09:02 -05:00
smc911x.c SMC911X: Fix using of dereferenced skb after netif_rx 2007-12-04 14:53:43 -05:00
smc911x.h net: smc911x: shut up compiler warnings 2007-12-14 16:12:42 -05:00
smc9194.c
smc9194.h
smc-mca.c
smc-ultra32.c
smc-ultra.c
sni_82596.c
sonic.c
sonic.h
Space.c
spider_net_ethtool.c
spider_net.c Fix misspellings of "system", "controller", "interrupt" and "necessary". 2007-10-19 23:10:43 +02:00
spider_net.h Make the pr_*() family of macros in kernel.h complete 2007-10-17 08:42:57 -07:00
starfire_firmware.h
starfire_firmware.pl
starfire.c starfire VLAN fix 2007-12-14 15:26:04 -05:00
stnic.c
sun3_82586.c
sun3_82586.h
sun3lance.c
sunbmac.c
sunbmac.h
sundance.c sundance fixes 2007-12-14 15:26:00 -05:00
sungem_phy.c
sungem_phy.h
sungem.c [SUNGEM]: Fix NAPI regression with reset work 2007-11-29 21:51:36 +11:00
sungem.h
sunhme.c [SUNHME]: VLAN support for sunhme 2007-11-15 15:38:45 -08:00
sunhme.h
sunlance.c
sunqe.c
sunqe.h
sunvnet.c
sunvnet.h
tc35815.c Fix misspellings of "system", "controller", "interrupt" and "necessary". 2007-10-19 23:10:43 +02:00
tehuti_fw.h
tehuti.c [TEHUTI]: Fix incorrect usage of strncat in bdx_get_drvinfo() 2007-11-13 03:17:16 -08:00
tehuti.h
tg3.c [TG3]: Endianness bugfix. 2007-12-19 16:43:48 -08:00
tg3.h [TG3]: Add A1 revs 2007-11-12 21:22:02 -08:00
tlan.c
tlan.h
tsi108_eth.c Fix build break in tsi108.c 2007-10-19 23:00:03 -04:00
tsi108_eth.h
tun.c [TUNTAP]: Fix wrong debug message. 2007-12-26 19:36:34 -08:00
typhoon-firmware.h
typhoon.c typhoon: trivial endianness annotations 2007-12-22 22:53:06 -05:00
typhoon.h typhoon: trivial endianness annotations 2007-12-22 22:53:06 -05:00
ucc_geth_ethtool.c
ucc_geth_mii.c
ucc_geth_mii.h ucc_geth: really fix section mismatch 2007-12-17 16:02:20 -05:00
ucc_geth.c ucc_geth: minor whitespace fix 2007-12-14 16:12:38 -05:00
ucc_geth.h
veth.c [VETH]: move veth.h to include/linux 2007-12-26 19:36:35 -08:00
via-rhine.c
via-velocity.c via-velocity: don't oops on MTU change (resend) 2007-12-01 16:35:51 -05:00
via-velocity.h
virtio_net.c virtio: fix net driver loop case where we fail to restart 2007-11-19 11:20:44 +11:00
wd.c
xen-netfront.c [NET]: Do not check netif_running() and carrier state in ->poll() 2008-01-08 23:30:09 -08:00
yellowfin.c yellowfin: annotations and fixes (.24 fodder?) 2007-12-22 22:53:06 -05:00
znet.c
zorro8390.c