linux-stable/drivers/net
Thadeu Lima de Souza Cascardo 940d9d34a5 cxgb4: allow large buffer size to have page size
Since commit 52367a763d
("cxgb4/cxgb4vf: Code cleanup to enable T4 Configuration File support"),
we have failures like this during cxgb4 probe:

cxgb4 0000:01:00.4: bad SGE FL page buffer sizes [65536, 65536]
cxgb4: probe of 0000:01:00.4 failed with error -22

This happens whenever software parameters are used, without a
configuration file. That happens when the hardware was already
initialized (after kexec, or after csiostor is loaded).

It happens that these values are acceptable, rendering fl_pg_order equal
to 0, which is the case of a hard init when the page size is equal or
larger than 65536.

Accepting fl_large_pg equal to fl_small_pg solves the issue, and
shouldn't cause any trouble besides a possible performance reduction
when smaller pages are used. And that can be fixed by a configuration
file.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-03 19:27:57 -05:00
..
appletalk
arcnet
bonding bonding: protect port for bond_3ad_handle_link_change() 2013-12-18 16:52:26 -05:00
caif virtio: use size-based config accessors. 2013-10-17 10:55:37 +10:30
can can: peak_usb: fix mem leak in pcan_usb_pro_init() 2013-12-17 11:19:33 +01:00
cris
dsa
ethernet cxgb4: allow large buffer size to have page size 2014-01-03 19:27:57 -05:00
fddi
hamradio hamradio/yam: fix info leak in ioctl 2013-12-19 15:09:38 -05:00
hippi
hyperv hyperv: Fix race between probe and open calls 2013-12-21 22:23:06 -05:00
ieee802154 tree-wide: use reinit_completion instead of INIT_COMPLETION 2013-11-15 09:32:21 +09:00
irda Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2013-11-15 16:47:22 -08:00
phy phy: IRQ cannot be shared 2013-12-29 22:35:16 -05:00
plip
ppp net: rework recvmsg handler msg_name and msg_namelen logic 2013-11-20 21:52:30 -05:00
slip
team team: fix master carrier set when user linkup is enabled 2013-11-29 16:34:33 -05:00
usb usbnet: mcs7830: rework link state detection 2013-12-31 16:53:51 -05:00
vmxnet3
wan Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-11-04 13:48:30 -05:00
wimax
wireless ath9k: Fix interrupt handling for the AR9002 family 2013-12-17 13:58:25 -05:00
xen-netback xen-netback: fix guest-receive-side array sizes 2013-12-29 22:31:30 -05:00
dummy.c net: Explicitly initialize u64_stats_sync structures for lockdep 2013-11-06 12:40:25 +01:00
eql.c
ifb.c net: Explicitly initialize u64_stats_sync structures for lockdep 2013-11-06 12:40:25 +01:00
Kconfig
LICENSE.SRC
loopback.c net: Explicitly initialize u64_stats_sync structures for lockdep 2013-11-06 12:40:25 +01:00
macvlan.c macvlan: fix netdev feature propagation from lower device 2013-12-26 13:41:00 -05:00
macvtap.c macvtap: signal truncated packets 2013-12-11 15:23:06 -05:00
Makefile
mdio.c
mii.c
netconsole.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-11-04 13:48:30 -05:00
nlmon.c net: Explicitly initialize u64_stats_sync structures for lockdep 2013-11-06 12:40:25 +01:00
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tun.c tun: unbreak truncated packet signalling 2013-12-11 15:23:06 -05:00
veth.c Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2013-11-14 16:30:30 +09:00
virtio_net.c virtio-net: fix refill races during restore 2014-01-02 19:23:03 -05:00
vxlan.c vxlan: release rt when found circular route 2013-12-10 22:01:54 -05:00
xen-netfront.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-11-19 15:50:47 -08:00