linux/drivers/s390/net
Julian Wiedmann cc309f83d1 s390/qeth: clean up fill_buffer() offset logic
For some xmit paths we pass down a data offset to qeth_fill_buffer(),
to indicate that the first k bytes of the skb should be skipped when
mapping it into buffer elements.
Commit acd9776b5c ("s390/qeth: no ETH header for outbound AF_IUCV")
recently switched the offset for the IUCV-over-HiperSockets path
from 0 to ETH_HLEN, and now we have

	device	offset
	OSA	= 0
	IQD	> 0

for all xmit paths.

OSA would previously pass down -1 from do_send_packet(), to distinguish
between 1) OSA and 2) IQD with offset 0. That's no longer needed now,
so have it pass 0, make the offset unsigned and clean up how we apply
the offset in __qeth_fill_buffer().

No change of behaviour for any of our current xmit paths.

Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Acked-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-15 10:58:39 -07:00
..
ctcm_dbug.c
ctcm_dbug.h
ctcm_fsms.c ctcm_fsms: Convert skb->user accesses to refcount_t 2017-07-03 02:29:57 -07:00
ctcm_fsms.h
ctcm_main.c drivers: s390: move static and inline before return type 2017-07-12 16:26:04 -07:00
ctcm_main.h
ctcm_mpc.c networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
ctcm_mpc.h
ctcm_sysfs.c
fsm.c
fsm.h
Kconfig s390: remove claw driver 2015-02-28 23:38:29 -05:00
lcs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-07-05 12:31:59 -07:00
lcs.h
Makefile s390: remove claw driver 2015-02-28 23:38:29 -05:00
netiucv.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2017-07-05 12:31:59 -07:00
qeth_core_main.c s390/qeth: clean up fill_buffer() offset logic 2017-08-15 10:58:39 -07:00
qeth_core_mpc.c s390/qeth: add ipa return codes for bridgeport 2017-06-20 15:44:01 -04:00
qeth_core_mpc.h s390/qeth: add ipa return codes for bridgeport 2017-06-20 15:44:01 -04:00
qeth_core_sys.c s390/qeth: do early device setup for z/VM IQD NICs 2017-06-06 13:05:01 -04:00
qeth_core.h s390/qeth: clean up fill_buffer() offset logic 2017-08-15 10:58:39 -07:00
qeth_l2_main.c s390/qeth: remove extra L2 adapterparms query 2017-08-15 10:58:39 -07:00
qeth_l2_sys.c s390/qeth: unbreak OSM and OSN support 2017-05-11 12:37:48 -04:00
qeth_l2.h s390/qeth: unbreak OSM and OSN support 2017-05-11 12:37:48 -04:00
qeth_l3_main.c s390/qeth: remove extra L3 adapterparms query 2017-08-15 10:58:39 -07:00
qeth_l3_sys.c s390/qeth: add support for early L3 device setup 2017-06-06 13:05:01 -04:00
qeth_l3.h s390/qeth: add support for early L3 device setup 2017-06-06 13:05:01 -04:00
smsgiucv_app.c
smsgiucv.c s390/iucv: do not use arrays as argument 2015-09-21 16:03:04 -07:00
smsgiucv.h