summaryrefslogtreecommitdiff
path: root/etc/etc.prep
diff options
context:
space:
mode:
Diffstat (limited to 'etc/etc.prep')
0 files changed, 0 insertions, 0 deletions
21:31:31 +0000'>2021-07-24Fix all remaining typos, mainly in comments but also in few definitions and ↵andvar log messages, reported by me in PR kern/54889. Also fixed some additional typos in comments, found on review of same files or typos. 2021-07-19Various ena(4) bug fixes, from KUSABA Takeshi <t-kusaba@iij.ad.jp>:jmcneill [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. 2021-07-01port-evbarm/56274: no network on ec2 arm64 9.99.85jmcneill Remove custom SIOCSIFFLAGS handling and rely on ether_ioctl to DTRT 2021-01-23kern/55942: destroyed ena(4) evcnts cause panicjmcneill Fix event counter teardown code. From KUSABA Takeshi <t-kusaba@iij.ad.jp> 2021-01-18Trailing whitespaceskrll 2020-08-03port-arm/55532: kernel panic with ena on AWS a1.2xlargejmcneill Do not mark callout and workqueues as mpsafe unless the NET_MPSAFE option is present. 2020-03-03replace #if condition for irq_slot with __diagused on the cleanup pathjdolecek fixes PR kern/55044 by Uwe Toenjes 2020-02-240x%p --> %p for non-external codes.rin 2020-02-07Use callout_setfunc() / callout_schedule().thorpej 2020-02-04Use ifmedia_fini().thorpej 2020-02-01Use atomic_load/store_* in ena(4), not questionable membar_sync.riastradh 2019-12-02 Use PCI_MSIX_"TBL"BIR_MASK instead of PCI_MSIX_"PBA"BIR_MASK for MSI-X table.msaitoh This is not a real bug because both macros have the same value. 2019-11-10in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAITchs and remove code to handle failures that can no longer happen. 2019-10-18 s/initalize/initialize/ in comment or printf message.msaitoh 2019-08-01 If the memory space's BAR and the MSI-X table is on the same BAR,msaitoh reserve the space. Almost the same as nvme_pci.c and xhci_pci.c. Tested by ryoon@. 2019-05-29Even if we don't use MII(4), use the common path of SIOC[GS]IFMEDIA inmsaitoh sys/net/if_ethersubr.c if we can. - Add ec_ifmedia into struct ethercom. - ec_mii in struct ethercom is kept and used as it is. It might be used in future. Note that some Ethernet drivers which _DOESN'T_ use mii(4) use ec_mii for keeping the if_media. Those should be changed in future. 2019-04-26 Remove duplicated inclusion of sys/bus.h.msaitoh 2019-01-23Fix no options DEBUG nor DIAGNOSTIC buildryoon 2018-12-22remove needless parens, makes clang happyroy 2018-11-30Get this driver into a functional state.jmcneill 2018-11-30workqueue and callout fixesjmcneill 2018-11-28Add calls to if_attach and if_deferred_start_initjmcneill 2018-11-28Our softc is the private data of self, not parent. Spotted by mlelstv@jmcneill 2018-11-28whitespace fix, NFCjdolecek 2018-11-28Adapt ena_rx_checksum() to NetBSD.bad It wasn't ported to the NetBSD conventions of indicating hardware checkum status. Compile tested only. 2018-06-26 Implement the BPF direction filter (BIOC[GS]DIRECTION). It provides backwardmsaitoh compatibility with BIOC[GS]SEESENT ioctl. The userland interface is the same as FreeBSD. This change also fixes a bug that the direction is misunderstand on some environment by passing the direction to bpf_mtap*() instead of checking m->m_pkthdr.rcvif. 2018-06-16make ena(4) compile, with best efford exercised to convert code to NetBSDjdolecek 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 2018-06-01Fix M_PKTHDR use in if_alc, if_age and if_ena.maxv if_alc and if_age always put in _rxhead a M_PKTHDR-flagged mbuf, so the flag must always be present. Instead of manually adding the flag, add a KASSERT to ensure it is already there. If it weren't, there would be memory corruptions. Same in if_ena, but this one does not compile so we don't really care. Also, use m_remove_pkthdr to remove the flag, instead of doing it manually. This ensures the tags get freed (even though these drivers don't seem to be using mtags). 2018-05-19Intermediate changes to make it further into actually at least compile, not ↵jdolecek nearly yet complete. Committed so that others can possibly pick it off, as discussed on tech-userlevel@ with Martin 2018-05-19Import source for FreeBSD Amazon Elastic Network Adapter (ENA) NIC driverjdolecek for reference. Needs a lot of work to port over. Remapped filenames from FreeBSD to NetBSD structure: sys/dev/ena/ena.c -> sys/dev/pci/if_ena.c sys/dev/ena/ena.h -> sys/dev/pci/if_enavar.h ena_sysctl.* not imported, if needed later will be merged into if_ena.c