aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/virtio_net.c
AgeCommit message (Expand)AuthorFilesLines
3 daysvirtio_net: Fix missed rtnl_unlockDaniel Jurgens1-3/+3
6 daysvirtio_net: remove the misleading commentXuan Zhuo1-1/+0
6 daysvirtio_net: rx remove premapped failover codeXuan Zhuo1-50/+35
6 daysvirtio_net: big mode skip the unmap checkXuan Zhuo1-2/+2
6 daysvirtio_net: Add TX stopped and wake countersDaniel Jurgens1-2/+26
9 daysvirtio_net: Fix memory leak in virtnet_rx_mod_workDaniel Jurgens1-2/+1
13 daysvirtio_net: Remove rtnl lock protection of command buffersDaniel Jurgens1-20/+4
13 daysvirtio_net: Add a lock for per queue RX coalesceDaniel Jurgens1-12/+41
13 daysvirtio_net: Do DIM update for specified queue onlyDaniel Jurgens1-25/+15
13 daysvirtio_net: Add a lock for the command VQ.Daniel Jurgens1-1/+10
13 daysvirtio_net: Remove command data from control_bufDaniel Jurgens1-39/+85
13 daysvirtio_net: Store RSS setting in virtnet_infoDaniel Jurgens1-20/+20
2024-04-30virtio-net: support queue statXuan Zhuo1-21/+371
2024-04-30virtio_net: add the total stats fieldXuan Zhuo1-12/+69
2024-04-30virtio_net: device stats helpers support driver statsXuan Zhuo1-75/+82
2024-04-30virtio_net: support device statsXuan Zhuo1-4/+472
2024-04-30virtio_net: remove "_queue" from ethtool -SXuan Zhuo1-2/+2
2024-04-30virtio_net: introduce ability to get reply info from deviceXuan Zhuo1-7/+17
2024-04-18virtio_net: Support RX hash XDP hintLiang Chen1-0/+43
2024-04-07virtio_net: Do not send RSS key if it is not supportedBreno Leitao1-4/+22
2024-03-19virtio_net: rename free_old_xmit_skbs to free_old_xmitXuan Zhuo1-5/+5
2024-03-19virtio_net: unify the code for recycling the xmit ptrXuan Zhuo1-43/+39
2024-03-19virtio-net: add cond_resched() to the command waiting loopJason Wang1-1/+3
2024-03-19virtio-net: convert rx mode setting to use workqueueJason Wang1-3/+52
2024-01-11virtio_net: Fix "ā€˜%dā€™ directive writing between 1 and 11 bytes into a reg...Zhu Yanjun1-4/+5
2024-01-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-30/+30
2024-01-03virtio_net: fix missing dma unmap for resizeXuan Zhuo1-30/+30
2023-12-13net: ethtool: pass a pointer to parameters to get/set_rxfh ethtool opsAhmed Zaki1-13/+16
2023-12-13virtio-net: support rx netdimHeng Qi1-14/+162
2023-12-13virtio-net: extract virtqueue coalescig cmd for reuseHeng Qi1-42/+64
2023-12-13virtio-net: separate rx/tx coalescing moderation cmdsHeng Qi1-3/+28
2023-12-13virtio-net: returns whether napi is completeHeng Qi1-1/+5
2023-10-27virtio_net: use u64_stats_t infra to avoid data-racesEric Dumazet1-59/+65
2023-10-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-7/+7
2023-10-15virtio_net: fix the missing of the dma cpu syncXuan Zhuo1-7/+7
2023-10-11virtio-net: a tiny comment updateHeng Qi1-1/+1
2023-10-11virtio-net: fix the vq coalescing setting for vq resizeHeng Qi1-0/+27
2023-10-11virtio-net: fix per queue coalescing parameter settingHeng Qi1-20/+16
2023-10-11virtio-net: consistently save parameters for per-queueHeng Qi1-0/+9
2023-10-11virtio-net: fix mismatch of getting tx-framesHeng Qi1-1/+1
2023-10-11virtio-net: initially change the value of tx-framesHeng Qi1-7/+21
2023-10-01virtio_net: avoid data-races on dev->stats fieldsEric Dumazet1-15/+15
2023-09-04Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-26/+202
2023-09-03virtio_net: merge dma operations when filling mergeable buffersXuan Zhuo1-26/+202
2023-08-23virtio_net: Introduce skb_vnet_common_hdr to avoid typecastingFeng Liu1-9/+18
2023-08-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+3
2023-08-18Merge tag 'net-6.5-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds1-2/+2
2023-08-11virtio-net: set queues after driver_okJason Wang1-2/+2
2023-08-10virtio-net: Zero max_tx_vq field for VIRTIO_NET_CTRL_MQ_HASH_CONFIG caseHawkins Jiawei1-1/+1
2023-08-03Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-0/+1
2023-08-03net: move struct netdev_rx_queue out of netdevice.hJakub Kicinski1-0/+1
2023-08-01virtio_net: enable per queue interrupt coalesce featureGavin Li1-0/+3
2023-08-01virtio_net: support per queue interrupt coalesce commandGavin Li1-8/+141
2023-08-01virtio_net: extract interrupt coalescing settings to a structureGavin Li1-16/+19
2023-07-26virtio-net: fix race between set queues and probeJason Wang1-2/+2
2023-06-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-8/+8
2023-06-06virtio_net: use control_buf for coalesce paramsBrett Creeley1-8/+8
2023-05-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-17/+44
2023-05-15virtio_net: Fix error unwinding of XDP initializationFeng Liu1-17/+44
2023-05-13net: introduce and use skb_frag_fill_page_desc()Yunsheng Lin1-3/+1
2023-05-09virtio_net: introduce virtnet_build_skb()Xuan Zhuo1-13/+21
2023-05-09virtio_net: introduce receive_small_build_xdpXuan Zhuo1-17/+31
2023-05-09virtio_net: small: remove skip_xdpXuan Zhuo1-14/+12
2023-05-09virtio_net: small: avoid code duplication in xdp scenariosXuan Zhuo1-4/+8
2023-05-09virtio_net: small: remove the deltaXuan Zhuo1-5/+1
2023-05-09virtio_net: introduce receive_small_xdp()Xuan Zhuo1-65/+100
2023-05-09virtio_net: merge: remove skip_xdpXuan Zhuo1-13/+10
2023-05-09virtio_net: introduce receive_mergeable_xdp()Xuan Zhuo1-41/+64
2023-05-09virtio_net: virtnet_build_xdp_buff_mrg() auto release xdp shinfoXuan Zhuo1-3/+7
2023-05-09virtio_net: separate the logic of freeing the rest mergeable bufXuan Zhuo1-12/+24
2023-05-09virtio_net: separate the logic of freeing xdp shinfoXuan Zhuo1-11/+16
2023-05-09virtio_net: introduce virtnet_xdp_handler() to seprate the logic of run xdpXuan Zhuo1-60/+58
2023-05-09virtio_net: optimize mergeable_xdp_get_buf()Xuan Zhuo1-15/+14
2023-05-09virtio_net: introduce mergeable_xdp_get_buf()Xuan Zhuo1-56/+79
2023-05-09virtio_net: mergeable xdp: put old page immediatelyXuan Zhuo1-12/+7
2023-05-05virtio_net: suppress cpu stall when free_unused_bufsWenliang Wang1-0/+2
2023-04-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+6
2023-04-17virtio_net: bugfix overflow inside xdp_linearize_page()Xuan Zhuo1-2/+6
2023-03-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-76/+95
2023-03-16virtio_net: free xdp shinfo frags when build_skb_from_xdp_buff() failsXuan Zhuo1-1/+4
2023-03-16virtio_net: fix page_to_skb() miss headroomXuan Zhuo1-5/+6
2023-03-13net: virtio_net: implement exact header length guest featureJiri Pirko1-2/+4
2023-03-10virtio_net: add checking sq is full inside xdp xmitXuan Zhuo1-0/+3
2023-03-10virtio_net: separate the logic of checking whether sq is fullXuan Zhuo1-24/+36
2023-03-10virtio_net: reorder some funcsXuan Zhuo1-46/+46
2023-02-10Daniel Borkmann says:Jakub Kicinski1-1/+7
2023-02-07virtio_net: Update xdp_features with xdp multi-buffLorenzo Bianconi1-2/+4
2023-02-06virtio-net: Maintain reverse cleanup orderParav Pandit1-1/+1
2023-02-02drivers: net: turn on XDP featuresMarek Majtyka1-0/+4
2023-02-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2023-02-02virtio-net: Keep stop() to follow mirror sequence of open()Parav Pandit1-1/+1
2023-02-01virtio-net: fix possible unsigned integer overflowHeng Qi1-6/+9
2023-02-01virtio_net: notify MAC address change on device initializationLaurent Vivier1-0/+20
2023-02-01virtio_net: disable VIRTIO_NET_F_STANDBY if VIRTIO_NET_F_MAC is not setLaurent Vivier1-0/+6
2023-01-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+3
2023-01-27virtio-net: execute xdp_do_flush() before napi_complete_done()Magnus Karlsson1-3/+3
2023-01-25virtio-net: Reduce debug name field size to 16 bytesParav Pandit1-2/+2
2023-01-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+4
2023-01-18virtio-net: correctly enable callback during start_xmitJason Wang1-2/+4
2023-01-18virtio_net: Reuse buffer free functionParav Pandit1-7/+1
2023-01-16virtio-net: support multi-buffer xdpHeng Qi1-55/+10
2023-01-16virtio-net: remove xdp related info from page_to_skb()Heng Qi1-32/+9
2023-01-16virtio-net: build skb from multi-buffer xdpHeng Qi1-0/+49
2023-01-16virtio-net: transmit the multi-buffer xdpHeng Qi1-5/+26
2023-01-16virtio-net: construct multi-buffer xdp in mergeableHeng Qi1-14/+44
2023-01-16virtio-net: build xdp_buff with multi buffersHeng Qi1-8/+100
2023-01-16virtio-net: update bytes calculation for xdp_frameHeng Qi1-2/+2
2023-01-16virtio-net: set up xdp for multi buffer packetsHeng Qi1-3/+3
2023-01-16virtio-net: fix calculation of MTU for single-buffer xdpHeng Qi1-2/+4
2023-01-16virtio-net: disable the hole mechanism for xdpHeng Qi1-1/+4
2022-12-12drivers/net/virtio_net.c: Added USO support.Andrew Melnychenko1-4/+15
2022-11-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+1
2022-11-24virtio_net: Fix probe failed when modprobe virtio_netLi Zetao1-2/+1
2022-10-28net: Remove the obsolte u64_stats_fetch_*_irq() users (drivers).Thomas Gleixner1-8/+8
2022-10-10Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-16/+32
2022-10-07virtio-net: use mtu size as buffer length for big packetsGavin Li1-13/+24
2022-10-07virtio-net: introduce and use helper function for guest gso support checksGavin Li1-4/+9
2022-08-31net: move from strlcpy with unused retval to strscpyWolfram Sang1-3/+3
2022-08-18Merge tag 'net-6.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/netd...Linus Torvalds1-2/+2
2022-08-16virtio_net: Revert "virtio_net: set the default max ring size by find_vqs()"Michael S. Tsirkin1-38/+4
2022-08-12Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-39/+286
2022-08-12virtio_net: fix endian-ness for RSSMichael S. Tsirkin1-2/+2
2022-08-11net: virtio_net: notifications coalescing supportAlvaro Karsz1-15/+96
2022-08-11virtio_net: support set_ringparamXuan Zhuo1-0/+48
2022-08-11virtio_net: support tx queue resizeXuan Zhuo1-0/+50
2022-08-11virtio_net: support rx queue resizeXuan Zhuo1-0/+25
2022-08-11virtio_net: split free_unused_bufs()Xuan Zhuo1-16/+25
2022-08-11virtio_net: get ringparam by virtqueue_get_vring_max_size()Xuan Zhuo1-4/+4
2022-08-11virtio_net: set the default max ring size by find_vqs()Xuan Zhuo1-4/+38
2022-08-08virtio_net: fix memory leak inside XPD_TX with mergeableXuan Zhuo1-1/+4
2022-07-27virtio-net: fix the race between refill work and closeJason Wang1-3/+34
2022-06-27Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-1/+7
2022-06-27virtio-net: fix race between ndo_open() and virtio_device_ready()Jason Wang1-1/+7
2022-06-22virtio_net: fix xdp_rxq_info bug after suspend/resumeStephan Gerhold1-19/+6
2022-05-08net: virtio: switch to netif_napi_add_weight()Jakub Kicinski1-2/+2
2022-05-05net: move snowflake callers to netif_napi_add_tx_weight()Jakub Kicinski1-2/+3
2022-04-26virtio_net: fix wrong buf address calculation when using xdpNikolay Aleksandrov1-1/+19
2022-03-31Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-13/+376
2022-03-28drivers/net/virtio_net: Added RSS hash report control.Andrew Melnychenko1-1/+140
2022-03-28drivers/net/virtio_net: Added RSS hash report.Andrew Melnychenko1-6/+49
2022-03-28drivers/net/virtio_net: Added basic RSS support.Andrew Melnychenko1-6/+186
2022-03-28drivers/net/virtio_net: Fixed padded vheader to use v1 with hash.Andrew Melnychenko1-5/+6
2022-02-15virtio_net: Fix code indent errorMichael Catanzaro1-2/+1
2022-01-23Merge tag 'bitmap-5.17-rc1' of git://github.com/norov/linuxLinus Torvalds1-1/+1
2022-01-18Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-2/+2
2022-01-15cpumask: replace cpumask_next_* with cpumask_first_* where appropriateYury Norov1-1/+1
2022-01-14virtio: wrap config->reset callsMichael S. Tsirkin1-2/+2
2021-12-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-2/+2
2021-12-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+3
2021-12-16virtio_net: fix rx_drops stat for small pktsWenliang Wang1-6/+3
2021-12-13bpf: Let bpf_warn_invalid_xdp_action() report more infoPaolo Abeni1-2/+2
2021-12-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+0
2021-11-24Revert "virtio-net: don't let virtio core to validate used length"Michael S. Tsirkin1-1/+0
2021-11-22ethtool: extend ringparam setting/getting API with rx_buf_lenHao Chen1-1/+3
2021-11-17net: annotate accesses to queue->trans_startEric Dumazet1-1/+1
2021-11-03Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-1/+3
2021-11-01virtio-net: don't let virtio core to validate used lengthJason Wang1-0/+1
2021-11-01virtio_net: clarify tailroom logicMichael S. Tsirkin1-1/+2
2021-10-28net: virtio: use eth_hw_addr_set()Jakub Kicinski1-3/+7
2021-10-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2021-10-10virtio_net: skip RCU read lock by checking xdp_enabled of viLi RongQing1-0/+14
2021-10-09virtio-net: fix for skb_over_panic inside big modeXuan Zhuo1-1/+1
2021-09-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+4
2021-09-20virtio_net: introduce TX timeout watchdogTony Lu1-1/+21
2021-09-19virtio_net: use netdev_warn_once to output warn when without enough queuesXuan Zhuo1-2/+2
2021-09-19virtio-net: fix pages leaking when building skb in big modeJason Wang1-0/+4
2021-08-29virtio_net: reduce raw_smp_processor_id() calling in virtnet_xdp_get_sqLi RongQing1-3/+4
2021-08-24ethtool: extend coalesce setting uAPI with CQE modeYufeng Mo1-2/+6
2021-08-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-7/+7
2021-08-17virtio-net: use NETIF_F_GRO_HW instead of NETIF_F_LROJason Wang1-7/+7
2021-08-04virtio_net: Replace deprecated CPU-hotplug functions.Sebastian Andrzej Siewior1-5/+5
2021-08-03virtio-net: realign page_to_skb() after mergesJakub Kicinski1-19/+8
2021-07-14Merge tag 'net-5.14-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-1/+7
2021-07-10virtio_net: check virtqueue_add_sgs() return valueYunjian Wang1-1/+7
2021-07-08virtio_net: disable cb aggressivelyMichael S. Tsirkin1-4/+11
2021-07-03virtio_net: move txq wakeups under tx q lockMichael S. Tsirkin1-6/+7
2021-07-03virtio_net: move tx vq operation under tx queue lockMichael S. Tsirkin1-1/+21
2021-07-03virtio_net: Fix error handling in virtnet_restore()Xie Yongji1-1/+4
2021-06-23virtio_net: Use virtio_find_vqs_ctx() helperXianting Tian1-2/+2
2021-06-07virtio_net: Remove BUG() to avoid machine deadXianting Tian1-1/+1
2021-06-07Merge ra.kernel.org:/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+3
2021-06-03virtio-net: fix for skb_over_panic inside big modeXuan Zhuo1-1/+1
2021-06-01virtio_net: get build_skb() buf by data ptrXuan Zhuo1-11/+6
2021-06-01virtio-net: fix for unable to handle page fault for addressXuan Zhuo1-1/+2
2021-05-31virtio-net: Add validation for used lengthXie Yongji1-7/+13
2021-05-13virtio-net: get build_skb() buf by data ptrXuan Zhuo1-2/+6
2021-05-13virtio-net: fix for unable to handle page fault for addressXuan Zhuo1-6/+6
2021-05-05Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhostLinus Torvalds1-3/+7
2021-05-03virtio-net: don't allocate control_buf if not supportedMax Gurtovoy1-3/+7
2021-04-23virtio-net: fix use-after-free in skb_gro_receiveXuan Zhuo1-3/+9
2021-04-20virtio-net: fix use-after-free in page_to_skb()Eric Dumazet1-1/+4
2021-04-20virtio-net: restrict build_skb() use to some archesEric Dumazet1-1/+1
2021-04-16virtio-net: page_to_skb() use build_skb when there's sufficient tailroomXuan Zhuo1-21/+48
2021-04-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-3/+7
2021-04-06virtio_net: Do not pull payload in skb->headEric Dumazet1-3/+7
2021-03-25Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-12/+13
2021-03-18net: move the xps maps to an arrayAntoine Tenart1-1/+1
2021-03-18bpf, devmap: Move drop error path to devmap for XDP_REDIRECTLorenzo Bianconi1-12/+13
2021-03-17virtio_net: Update driver to use ethtool_sprintfAlexander Duyck1-11/+7
2021-03-10virtio-net: support XDP when not more queuesXuan Zhuo1-13/+49