diff options
author | Max Filippov | 2016-08-05 18:26:20 +0300 |
---|---|---|
committer | Joe Hershberger | 2016-08-15 13:34:48 -0500 |
commit | 59b7dfa0d1dd54752427fc5f8b80e3f72e847298 (patch) | |
tree | 4957c45f95fe343087fa6179fae564bfe6558b64 /include/dm | |
parent | 02a888b567df92904eb0783f4f19a3f744064159 (diff) |
net/ethoc: support private memory configurations
The ethoc device can be configured to have a private memory region
instead of having access to the main memory. In that case egress packets
must be copied into that memory for transmission and pointers to that
memory need to be passed to net_process_received_packet or returned from
the recv callback.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/dm')
-rw-r--r-- | include/dm/platform_data/net_ethoc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm/platform_data/net_ethoc.h b/include/dm/platform_data/net_ethoc.h index 1d8c73c037f..3f94bde7b26 100644 --- a/include/dm/platform_data/net_ethoc.h +++ b/include/dm/platform_data/net_ethoc.h @@ -13,6 +13,7 @@ struct ethoc_eth_pdata { struct eth_pdata eth_pdata; + phys_addr_t packet_base; }; #endif |