The NetBSD Project

CVS log for src/sys/external/bsd/ena-com/ena_plat.h

[BACK] Up to [cvs.NetBSD.org] / src / sys / external / bsd / ena-com

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.9.4.1: download - view: text, markup, annotated - select for diffs
Sun Nov 26 11:37:03 2023 UTC (17 months, 2 weeks ago) by bouyer
Branches: netbsd-10
CVS tags: netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +4 -4 lines
Pull up following revision(s) (requested by jdolecek in ticket #460):
	sys/dev/pci/if_ena.c: revision 1.35
	sys/dev/pci/if_ena.c: revision 1.36
	sys/dev/pci/if_ena.c: revision 1.37
	sys/dev/pci/if_ena.c: revision 1.38
	sys/dev/pci/if_ena.c: revision 1.39
	sys/external/bsd/ena-com/ena_plat.h: revision 1.10
	sys/dev/pci/if_enavar.h: revision 1.9
	sys/external/bsd/ena-com/ena_com.c: revision 1.2
	sys/external/bsd/ena-com/ena_com.c: revision 1.3
	sys/external/bsd/ena-com/ena_com.c: revision 1.4
	sys/dev/pci/if_ena.c: revision 1.40
	sys/external/bsd/ena-com/ena_com.h: revision 1.2
ena(4): replace malloc(9) to kmem(9)
Code contributed by KUSABA Takeshi <t-kusaba@iij.ad.jp>
ena(4): prevent AENQ handler from use-after-free
Code contributed by KUSABA Takeshi <t-kusaba@iij.ad.jp>
ena(4): destroy all wait_event
Code contributed by KUSABA Takeshi <t-kusaba@iij.ad.jp>
ena(4): support RSS and delete FreeBSD-specified code
Code contributed by KUSABA Takeshi <t-kusaba@iij.ad.jp>
ena(4) is MP-ready, always use MPSAFE
Code contributed by KUSABA Takeshi <t-kusaba@iij.ad.jp>
ena(4): establish interrupt after setting up resources
Code contributed by KUSABA Takeshi <t-kusaba@iij.ad.jp>
ena(4): stop management first when detaching
Code contributed by KUSABA Takeshi <t-kusaba@iij.ad.jp>

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Nov 5 18:15:02 2023 UTC (18 months, 1 week ago) by jdolecek
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -4 lines
ena(4): replace malloc(9) to kmem(9)

Code contributed by KUSABA Takeshi <t-kusaba@iij.ad.jp>

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Apr 9 23:44:54 2022 UTC (3 years, 1 month ago) by riastradh
Branches: MAIN
CVS tags: netbsd-10-base, netbsd-10-0-RC1, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
ena: Convert not-right membar_enter/exit to membar_acquire/release.

Only used on non-x86 and non-aarch64, which probably means this
branch is never used.  (This should really use bus_space_barrier or
bus_dmamap_sync.)

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Apr 9 12:49:36 2022 UTC (3 years, 1 month ago) by riastradh
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +16 -1 lines
ena: Fix rmb/wmb/mb to match Linux on x86 and aarch64.

This is not right but it's not worse than it was before.

Revision 1.6.6.1: download - view: text, markup, annotated - select for diffs
Sun Aug 1 22:42:35 2021 UTC (3 years, 9 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +4 -2 lines
Sync with HEAD.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Jul 19 21:16:33 2021 UTC (3 years, 9 months ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -2 lines
Various ena(4) bug fixes, from KUSABA Takeshi <t-kusaba@iij.ad.jp>:

[PATCH 01/32] include device_xname for evcnt group.
[PATCH 02/32] fix improper NULL check.
[PATCH 03/32] add tx drop counter
[PATCH 04/32] remove unimplemented m_getjcl
[PATCH 05/32] make ENA_MEM_{ALLOC,FREE}_COHERENT symmetric.
[PATCH 06/32] disestablish the correct interrupt.
[PATCH 07/32] fix null check target.
[PATCH 08/32] use if_initialize() and if_register() instead of
[PATCH 09/32] free all pci-related resource.
[PATCH 10/32] no need to call if_free(), but to call if_detach
[PATCH 11/32] add some locking assertions.
[PATCH 12/32] use bus_size_t for bus_dma instead of uint32_t.
[PATCH 13/32] no need to pass interlock, ena_timer_service does not
[PATCH 14/32] enable ena(4) to down I/F
[PATCH 15/32] destroy I/O queues before disestablishing msix
[PATCH 16/32] count input/output packet stats.
[PATCH 17/32] fix missing #ifdef LRO, NetBSD does not support LRO
[PATCH 18/32] MP-ify TX, allocate mbuf queue to each TX ring.
[PATCH 19/32] down the interface first when to detach, to prevent
[PATCH 20/32] default link speed should be unknown.
[PATCH 21/32] protect ena_adapter members only by "global_mtx".
[PATCH 22/32] lower global_mtx interrupt level
[PATCH 23/32] reorder function declaration
[PATCH 24/32] add locking notes and some marking.
[PATCH 25/32] process RX in workqueue context, as same as FreeBSD
[PATCH 26/32] count rx_drops correctly.
[PATCH 27/32] no need to lock when attach/detach, down/up
[PATCH 28/32] fix memory leak.
[PATCH 29/32] add "stopping" flag to ena_ring.
[PATCH 30/32] make the flags atomic.
[PATCH 31/32] do not schedule timer when device is down.
[PATCH 32/32] no need to start timer if I/F is down.

Revision 1.4.10.1: download - view: text, markup, annotated - select for diffs
Mon Apr 20 11:29:09 2020 UTC (5 years ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +1 -1 lines
Sync with HEAD

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Apr 16 23:29:53 2020 UTC (5 years ago) by rin
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -0 lines
Revert previous for now:
http://mail-index.netbsd.org/source-changes/2020/04/16/msg116278.html

The reasoning turned out to be wrong; __KERNEL_RCSID() in header files
does *not* overwrite RCSID in main source files. The real problem is that
it inserts its RCSID into *every* object files. However, it can be still
useful even if heavily duplicated.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Apr 16 21:56:43 2020 UTC (5 years ago) by rin
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +0 -2 lines
Stop using __KERNEL_RCSID() in header files; it confuses ident(1) by
overwriting RCSID in main source files.

XXX
The first argument of __KERNEL_RCSID() is neglected for ELF. If we wish
to have RCSID of header files in kernel binary, we need something like
__FBSDID() macro in FreeBSD.

Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:08:34 2019 UTC (5 years, 11 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +17 -2 lines
Sync with HEAD

Revision 1.2.2.4: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:02:03 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.2.2.3: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.3: +17 -2 lines
Sync with HEAD, resolve a few conflicts

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Nov 28 19:15:32 2018 UTC (6 years, 5 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: bouyer-xenpvh
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +17 -2 lines
Avoid kpause while cold

Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:26:03 2018 UTC (6 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.2: +2 -2 lines
Sync with HEAD

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jun 16 15:00:35 2018 UTC (6 years, 10 months ago) by jdolecek
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625
Branch point for: phil-wifi
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
make ena(4) compile, with best efford exercised to convert code to NetBSD
equivalents; where possible left the original code intact to make it
easier to compare against FreeBSD original

made non-working stubs for some functions which don't have direct
equivalent yet - this includes all of <sys/buf_ring.h>, m_getjcl(),
m_append, and m_collapse(); these need to be adressed

left XXX/TODO in if_enavar.h, colocated with the non-working stubs

Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Mon May 21 04:36:14 2018 UTC (6 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +368 -0 lines
Sync with HEAD

Revision 1.2.2.1
Sat May 19 08:59:38 2018 UTC (6 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
FILE REMOVED
Changes since revision 1.2: +0 -368 lines
file ena_plat.h was added on branch pgoyette-compat on 2018-05-21 04:36:14 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat May 19 08:59:38 2018 UTC (6 years, 11 months ago) by jdolecek
Branches: MAIN
CVS tags: pgoyette-compat-0521
Branch point for: pgoyette-compat
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +47 -56 lines
adapt for NetBSD

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat May 19 08:56:06 2018 UTC (6 years, 11 months ago) by jdolecek
Branches: FREEBSD
CVS tags: ENA-COM-HAL_20180510
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
Introduce HAL for Amazon Elastic Network Adapter (ENA)

This commit adds HAL (Hardware Abstraction Layer) code
for Amazon Elastic Network Adapter (ENA).

Version: 1.1.4.3

Obtained from: Amazon.com, Inc. via FreeBSD

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat May 19 08:56:06 2018 UTC (6 years, 11 months ago) by jdolecek
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>