net/sfc/base: import libefx base
authorAndrew Rybchenko <arybchenko@solarflare.com>
Tue, 29 Nov 2016 16:18:34 +0000 (16:18 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:39:25 +0000 (19:39 +0100)
commit19b64c6ac35f7b1c9f0a73af486a3f0d124bb94f
tree01b85cd98356cfae7c8e4e022223c28d2975a30d
parent63d588ff2692df3c54337b98a8eb6b9c8bf3d801
net/sfc/base: import libefx base

libefx is a platform-independent library to implement drivers
for Solarflare network adapters. It provides unified adapter
family independent interface (if possible).

Driver must provide efsys.h header which defines options
(EFSYS_OPT_*) to be used and macros/functions to allocate
memory, read/write DMA-mapped memory, read/write PCI BAR
space, locks, barriers etc.

efx.h and efx_types.h provide external interfaces intended
to be used by drivers. Other header files are internal.

From Solarflare Communications Inc.

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
18 files changed:
drivers/net/sfc/base/README [new file with mode: 0644]
drivers/net/sfc/base/efx.h [new file with mode: 0644]
drivers/net/sfc/base/efx_check.h [new file with mode: 0644]
drivers/net/sfc/base/efx_crc32.c [new file with mode: 0644]
drivers/net/sfc/base/efx_ev.c [new file with mode: 0644]
drivers/net/sfc/base/efx_hash.c [new file with mode: 0644]
drivers/net/sfc/base/efx_impl.h [new file with mode: 0644]
drivers/net/sfc/base/efx_intr.c [new file with mode: 0644]
drivers/net/sfc/base/efx_mac.c [new file with mode: 0644]
drivers/net/sfc/base/efx_mon.c [new file with mode: 0644]
drivers/net/sfc/base/efx_nic.c [new file with mode: 0644]
drivers/net/sfc/base/efx_phy.c [new file with mode: 0644]
drivers/net/sfc/base/efx_phy_ids.h [new file with mode: 0644]
drivers/net/sfc/base/efx_port.c [new file with mode: 0644]
drivers/net/sfc/base/efx_rx.c [new file with mode: 0644]
drivers/net/sfc/base/efx_sram.c [new file with mode: 0644]
drivers/net/sfc/base/efx_tx.c [new file with mode: 0644]
drivers/net/sfc/base/efx_types.h [new file with mode: 0644]