zephyr/drivers/ethernet
Jukka Rissanen bd3908b2a9 net: nbuf: Add timeout to net_buf getters
This commit changes the net_buf getter functions in nbuf.h
by adding a timeout parameter. These function prototypes
are changed to accept a timeout parameter.
	net_nbuf_get_rx()
	net_nbuf_get_tx()
	net_nbuf_get_data()
	net_nbuf_get_reserve_rx()
	net_nbuf_get_reserve_tx()
	net_nbuf_get_reserve_data()
	net_nbuf_copy()
	net_nbuf_copy_all()
	net_nbuf_push()
	net_nbuf_append()
	net_nbuf_write()
	net_nbuf_insert()

Following convinience functions have not been changed
	net_nbuf_append_u8
	net_nbuf_append_be16
	net_nbuf_append_be32
	net_nbuf_insert_u8
	net_nbuf_insert_be16
	net_nbuf_insert_be32
	net_nbuf_write_u8
	net_nbuf_write_be16
	net_nbuf_write_be32
so they call the base function using K_FOREVER. Use the
base function if you want to have a timeout when net_buf
is allocated.

Change-Id: I20bb602ffb73069e5a02668fce60575141586c0f
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2017-02-08 10:12:35 +02:00
..
Kconfig drivers: make ethernet init prio depend on NET_L2_ETHERNET 2017-02-02 14:43:51 +00:00
Kconfig.dw drivers: make ethernet init prio depend on NET_L2_ETHERNET 2017-02-02 14:43:51 +00:00
Kconfig.enc28j60 driver: ethernet: Fix typo on enc28j60 driver Kconfig 2017-02-03 15:59:14 +02:00
Kconfig.mcux license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.sam_gmac drivers: Add Atmel SAM family GMAC Ethernet driver 2017-02-01 21:01:19 +00:00
Makefile drivers: Add Atmel SAM family GMAC Ethernet driver 2017-02-01 21:01:19 +00:00
eth_dw.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
eth_dw_priv.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
eth_enc28j60.c net: nbuf: Add timeout to net_buf getters 2017-02-08 10:12:35 +02:00
eth_enc28j60_priv.h drivers: enc28j60: Enables reception of multicast packets 2017-02-08 10:12:34 +02:00
eth_mcux.c net: nbuf: Add timeout to net_buf getters 2017-02-08 10:12:35 +02:00
eth_sam_gmac.c net: nbuf: Add timeout to net_buf getters 2017-02-08 10:12:35 +02:00
eth_sam_gmac_priv.h drivers: Add Atmel SAM family GMAC Ethernet driver 2017-02-01 21:01:19 +00:00
phy_sam_gmac.c drivers: Add Atmel SAM family GMAC Ethernet driver 2017-02-01 21:01:19 +00:00
phy_sam_gmac.h drivers: Add Atmel SAM family GMAC Ethernet driver 2017-02-01 21:01:19 +00:00