net: Remove unneeded NULL check for the allocated ifnetChange 4787572d0580 made if_alloc_domain() never fail, then also do thewrappers if_alloc(), if_alloc_dev(), and if_gethandle().No functiona
net: Remove unneeded NULL check for the allocated ifnetChange 4787572d0580 made if_alloc_domain() never fail, then also do thewrappers if_alloc(), if_alloc_dev(), and if_gethandle().No functional change intended.Reviewed by: kp, imp, glebius, stevekMFC after: 2 weeksDifferential Revision: https://reviews.freebsd.org/D45740(cherry picked from commit aa3860851b9f6a6002d135b1cac7736e0995eedc)
show more ...
gve: Make gve_free_qpls idempotentThis fixes a panic caused by double free.PR: kern/279410Differential Revision: https://reviews.freebsd.org/D45489(cherry picked from commit b81cbb12410b000074
gve: Make gve_free_qpls idempotentThis fixes a panic caused by double free.PR: kern/279410Differential Revision: https://reviews.freebsd.org/D45489(cherry picked from commit b81cbb12410b000074483899e61e9e767ba3ec1d)
gve: Make LRO work for jumbo packetsEach Rx descriptor points to a packet buffer of size 2K, which meansthat MTUs greater than 2K see multi-descriptor packets. The TCP-hood ofsuch packets was bei
gve: Make LRO work for jumbo packetsEach Rx descriptor points to a packet buffer of size 2K, which meansthat MTUs greater than 2K see multi-descriptor packets. The TCP-hood ofsuch packets was being incorrectly determined by looking for a flag onthe last descriptor instead of the first descriptor.Also fixed and progressed the version number.Reviewed by: markjMFC after: 1 weekDifferential Revision: https://reviews.freebsd.org/D41754(cherry picked from commit 5f62584a9adb7887bae33af617cfa4f43017abf8)
gve: Simplify tx loop over buffer ringReviewed by: markjMFC after: 3 daysDifferential Revision: https://reviews.freebsd.org/D41281
gve: Fix Tx tcpdump panicRinging the doorbell before making the BPF call can result in thembuf being freed before the BPF call.Reviewed-by: markjMFC-after: 3 daysDifferential Revision: https
gve: Fix Tx tcpdump panicRinging the doorbell before making the BPF call can result in thembuf being freed before the BPF call.Reviewed-by: markjMFC-after: 3 daysDifferential Revision: https://reviews.freebsd.org/D41189
gve: Unobfuscate code by using nitems directly for loop.While there, also make MODULE_PNP_INFO to reflect that the devicedescription is provided.Reported-by: jrtc27Reviewed-by: jrtc27, impDiff
gve: Unobfuscate code by using nitems directly for loop.While there, also make MODULE_PNP_INFO to reflect that the devicedescription is provided.Reported-by: jrtc27Reviewed-by: jrtc27, impDifferential Revision: https://reviews.freebsd.org/D40430
gve: Add PNP info to PCI attachment of gve(4) driver.Reviewed-by: impDifferential Revision: https://reviews.freebsd.org/D40429
gve: Fix build on i386 and enable LINT builds.Reviewed-by: impDifferential Revision: https://reviews.freebsd.org/D40419
Add gve, the driver for Google Virtual NIC (gVNIC)gVNIC is a virtual network interface designed specifically forGoogle Compute Engine (GCE). It is required to support per-VM Tier_1networking perf
Add gve, the driver for Google Virtual NIC (gVNIC)gVNIC is a virtual network interface designed specifically forGoogle Compute Engine (GCE). It is required to support per-VM Tier_1networking performance, and for using certain VM shapes on GCE.The NIC supports TSO, Rx and Tx checksum offloads, and RSS.It does not currently do hardware LRO, and thus the software-LROin the host is used instead. It also supports jumbo frames.For each queue, the driver negotiates a set of pages with the NIC toserve as a fixed bounce buffer, this precludes the use of iflib.Reviewed-by: markjMFC-after: 2 weeksDifferential Revision: https://reviews.freebsd.org/D39873