aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/veth.c
AgeCommit message (Expand)AuthorFilesLines
2024-05-03Revert "net: mirror skb frag ref/unref helpers"Mina Almasry1-1/+1
2024-04-11net: mirror skb frag ref/unref helpersMina Almasry1-1/+1
2024-04-11net: move skb ref helpers to new headerMina Almasry1-0/+1
2024-03-18net: veth: do not manipulate GRO when using XDPIgnat Korchagin1-18/+0
2024-02-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-20/+20
2024-02-27veth: try harder when allocating queue memoryJakub Kicinski1-2/+3
2024-02-26rtnetlink: prepare nla_put_iflink() to run under RCUEric Dumazet1-1/+1
2024-02-26net: veth: clear GRO when clearing XDP even when downJakub Kicinski1-18/+17
2024-02-13veth: rely on skb_pp_cow_data utility routineLorenzo Bianconi1-72/+2
2024-02-13net: add netdev_lockdep_set_classes() to virtual driversEric Dumazet1-0/+1
2023-12-18Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-0/+19
2023-12-13veth: Implement VLAN tag XDP hintLarysa Zaremba1-0/+19
2023-12-05net: veth: fix packet segmentation in veth_convert_skb_to_xdp_buffLorenzo Bianconi1-1/+2
2023-11-23net: veth: fix ethtool stats reportingLorenzo Bianconi1-1/+1
2023-11-20veth: Use tstats per-CPU traffic countersPeilin Ye1-19/+11
2023-11-20net: Move {l,t,d}stats allocation to core and convert veth & vrfDaniel Borkmann1-14/+2
2023-10-23net: veth: use newly added page pool API for veth with xdpYunsheng Lin1-9/+16
2023-09-12veth: Update XDP feature set when bringing up deviceToke Høiland-Jørgensen1-0/+2
2023-09-04veth: Fixing transmit return status for dropped packetsLiang Chen1-1/+3
2023-08-25veth: Avoid NAPI scheduling on failed SKB forwardingLiang Chen1-3/+2
2023-08-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+1
2023-08-20net: validate veth and vxcan peer ifindexesJakub Kicinski1-4/+1
2023-08-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+2
2023-08-14net: veth: Page pool creation error handling for existing pools onlyLiang Chen1-1/+2
2023-08-07page_pool: split types and declarations from page_pool.hYunsheng Lin1-1/+1
2023-05-10net: veth: make PAGE_POOL_STATS optionalLorenzo Bianconi1-7/+17
2023-05-09net: veth: rely on napi_build_skb in veth_convert_skb_to_xdp_buffLorenzo Bianconi1-1/+1
2023-04-24net: veth: add page_pool statsLorenzo Bianconi1-3/+17
2023-04-24net: veth: add page_pool for page recyclingLorenzo Bianconi1-4/+44
2023-04-18veth: take into account peer device for NETDEV_XDP_ACT_NDO_XMIT xdp_features ...Lorenzo Bianconi1-6/+11
2023-04-13veth: bpf_xdp_metadata_rx_hash add xdp rss hash typeJesper Dangaard Brouer1-2/+5
2023-04-13xdp: rss hash types representationJesper Dangaard Brouer1-1/+2
2023-03-23Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-2/+2
2023-03-22xdp: bpf_xdp_metadata use EOPNOTSUPP for no driver supportJesper Dangaard Brouer1-2/+2
2023-03-15veth: Fix use after free in XDP_REDIRECTShawn Bohrer1-4/+2
2023-03-15veth: rely on rtnl_dereference() instead of on rcu_dereference() in veth_set_...Lorenzo Bianconi1-1/+1
2023-03-10veth: take into account device reconfiguration for xdp_features flagLorenzo Bianconi1-4/+38
2023-02-02drivers: net: turn on XDP featuresMarek Majtyka1-0/+4
2023-01-23veth: Support RX XDP metadataStanislav Fomichev1-0/+31
2023-01-23veth: Introduce veth_xdp_buff wrapper for xdp_buffStanislav Fomichev1-25/+31
2022-12-22veth: Fix race with AF_XDP exposing old or uninitialized descriptorsShawn Bohrer1-2/+3
2022-11-22Revert "veth: Avoid drop packets when xdp_redirect performs"Heng Qi1-76/+12
2022-11-22Revert "bpf: veth driver panics when xdp prog attached before veth_open"Heng Qi1-1/+1
2022-11-09bpf: veth driver panics when xdp prog attached before veth_openJohn Fastabend1-1/+1
2022-11-02veth: Avoid drop packets when xdp_redirect performsHeng Qi1-12/+76
2022-10-31rtnetlink: pass netlink message header and portid to rtnl_configure_link()Hangbin Liu1-1/+1
2022-10-28net: Remove the obsolte u64_stats_fetch_*_irq() users (drivers).Thomas Gleixner1-6/+6
2022-09-28net: drop the weight argument from netif_napi_addJakub Kicinski1-2/+2
2022-08-31net: move from strlcpy with unused retval to strscpyWolfram Sang1-2/+2
2022-08-03Revert "veth: Add updating of trans_start"Vladimir Oltean1-4/+0
2022-06-17veth: Add updating of trans_startJay Vosburgh1-0/+4
2022-05-16veth: enable BIG TCP packetsEric Dumazet1-0/+1
2022-05-06net: add netif_inherit_tso_max()Jakub Kicinski1-2/+1
2022-05-01net: enable memcg accounting for veth queuesVasily Averin1-1/+1
2022-04-08veth: Ensure eth header is in skb's linear partGuillaume Nault1-1/+1
2022-03-17veth: Allow jumbo frames in xdp modeLorenzo Bianconi1-3/+8
2022-03-17veth: Rework veth_xdp_rcv_skb in order to accept non-linear skbLorenzo Bianconi1-56/+121
2022-03-17net: veth: Account total xdp_frame len running ndo_xdp_xmitLorenzo Bianconi1-2/+2
2022-02-14net: dev: Makes sure netif_rx() can be invoked in any context.Sebastian Andrzej Siewior1-1/+1
2022-02-09veth: fix races around rq->rx_notify_maskedEric Dumazet1-5/+8
2022-01-06veth: Do not record rx queue hint in veth_xmitDaniel Borkmann1-1/+0
2021-12-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-2/+2
2021-12-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+6
2021-12-23veth: ensure skb entering GRO are not cloned.Paolo Abeni1-2/+6
2021-12-13bpf: Let bpf_warn_invalid_xdp_action() report more infoPaolo Abeni1-2/+2
2021-11-25veth: use ethtool_sprintf instead of snprintfTonghao Zhang1-17/+10
2021-11-22net: annotate accesses to dev->gso_max_segsEric Dumazet1-1/+1
2021-11-22net: annotate accesses to dev->gso_max_sizeEric Dumazet1-1/+1
2021-07-29veth: use skb_prepare_for_gro()Paolo Abeni1-1/+1
2021-07-20veth: create by default nr_possible_cpus queuesPaolo Abeni1-0/+37
2021-07-20veth: implement support for set_channel ethtool opPaolo Abeni1-2/+123
2021-07-20veth: factor out initialization helperPaolo Abeni1-49/+92
2021-07-20veth: always report zero combined channelsPaolo Abeni1-2/+0
2021-04-16veth: check for NAPI instead of xdp_prog before xmit of XDP frameToke Høiland-Jørgensen1-4/+3
2021-04-11veth: refine napi usagePaolo Abeni1-1/+22
2021-04-11veth: allow enabling NAPI even without XDPPaolo Abeni1-13/+116
2021-04-11veth: use skb_orphan_partial instead of skb_orphanPaolo Abeni1-1/+1
2021-03-30veth: Implement ethtool's get_channels() callbackMaciej Fijalkowski1-0/+12
2021-03-25Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-13/+15
2021-03-18bpf, devmap: Move drop error path to devmap for XDP_REDIRECTLorenzo Bianconi1-13/+15
2021-03-06veth: Store queue_mapping independently of XDP prog presenceMaciej Fijalkowski1-2/+1
2021-02-04net, veth: Alloc skb in bulk for ndo_xdp_xmitLorenzo Bianconi1-20/+58
2021-01-20net, xdp: Introduce xdp_build_skb_from_frame utility routineLorenzo Bianconi1-15/+3
2021-01-08net, xdp: Introduce xdp_prepare_buff utility routineLorenzo Bianconi1-6/+2
2021-01-08net, xdp: Introduce xdp_init_buff utility routineLorenzo Bianconi1-4/+4
2020-12-04Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-4/+8
2020-12-01xsk: Propagate napi_id to XDP socket Rx pathBjörn Töpel1-4/+8
2020-11-16treewide: rename nla_strlcpy to nla_strscpy.Francis Laniel1-2/+2
2020-10-11bpf: Add redirect_peer helperDaniel Borkmann1-0/+9
2020-09-10net: remove napi_hash_del() from driver-facing APIJakub Kicinski1-2/+1
2020-09-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+4
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-4/+4
2020-08-19net-veth: Add type safety to veth_xdp_to_ptr() and veth_ptr_to_xdp()Maciej Żenczykowski1-3/+3
2020-07-25bpf, xdp: Remove XDP_QUERY_PROG and XDP_QUERY_PROG_HW XDP commandsAndrii Nakryiko1-15/+0
2020-06-01xdp: Rename convert_to_xdp_frame in xdp_convert_buff_to_frameLorenzo Bianconi1-1/+1
2020-06-01xdp: Introduce xdp_convert_frame_to_buff utility routineLorenzo Bianconi1-5/+1
2020-05-14veth: Xdp using frame_sz in veth driverJesper Dangaard Brouer1-9/+13
2020-05-14veth: Adjust hard_start offset on redirect XDP framesJesper Dangaard Brouer1-4/+4
2020-03-26veth: rely on peer veth_rq for ndo_xdp_xmit accountingLorenzo Bianconi1-47/+82
2020-03-26veth: rely on veth_rq in veth_xdp_flush_bq signatureLorenzo Bianconi1-15/+15
2020-03-19veth: remove atomic64_add from veth_xdp_xmit hotpathLorenzo Bianconi1-13/+17
2020-03-19veth: introduce more xdp countersLorenzo Bianconi1-7/+35
2020-03-19veth: distinguish between rx_drops and xdp_dropsLorenzo Bianconi1-5/+7
2020-03-19veth: introduce more specialized counters in veth_statsLorenzo Bianconi1-32/+40
2020-03-19veth: move xdp stats in a dedicated structureLorenzo Bianconi1-13/+17
2020-03-05veth: ignore peer tx_dropped when counting local rx_droppedJiang Lidong1-1/+1
2020-01-27bpf, xdp: Remove no longer required rcu_read_{un}lock()John Fastabend1-1/+5
2020-01-16xdp: Use bulking for non-map XDP_REDIRECT and consolidate code pathsToke Høiland-Jørgensen1-1/+1
2019-11-07veth: use standard dev_lstats_add() and dev_lstats_read()Eric Dumazet1-32/+11
2019-06-25veth: Support bulk XDP_TXToshiaki Makita1-12/+48
2019-06-19veth: use xdp_release_frame for XDP_PASSJesper Dangaard Brouer1-0/+1
2019-05-21treewide: Add SPDX license identifier for more missed filesThomas Gleixner1-0/+1
2019-04-12net: veth: use generic helper to report timestamping infoJulian Wiedmann1-13/+1
2019-02-23veth: Fix -Wformat-truncationFlorian Fainelli1-1/+2
2019-02-08veth: Mark expected switch fall-throughsGustavo A. R. Silva1-0/+4
2018-11-06net: Add extack argument to rtnl_create_linkDavid Ahern1-1/+1
2018-10-15veth: Add ethtool statistics support for XDPToshiaki Makita1-2/+46
2018-10-15veth: Account for XDP packet statistics on rx sideToshiaki Makita1-18/+79
2018-10-15veth: Account for packet drops in ndo_xdp_xmitToshiaki Makita1-8/+22
2018-09-18veth: rename pcpu_vstats as pcpu_lstatsLi RongQing1-14/+8
2018-09-18Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2018-09-16veth: Orphan skb before GROToshiaki Makita1-2/+2
2018-08-31veth: add software timestampingMichael Walle1-0/+15
2018-08-16veth: Free queues on link deleteToshiaki Makita1-37/+33
2018-08-10veth: Support per queue XDP ringToshiaki Makita1-90/+188
2018-08-10veth: Add XDP TX and REDIRECTToshiaki Makita1-9/+110
2018-08-10veth: Add ndo_xdp_xmitToshiaki Makita1-0/+51
2018-08-10veth: Handle xdp_frames in xdp napi ringToshiaki Makita1-5/+84
2018-08-10veth: Avoid drops by oversized packets when XDP is enabledToshiaki Makita1-2/+45
2018-08-10veth: Add driver XDPToshiaki Makita1-7/+367
2017-12-08veth: set peer GSO valuesStephen Hemminger1-0/+3
2017-06-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2017-06-26net: add netlink_ext_ack argument to rtnl_link_ops.validateMatthias Schiffer1-2/+3
2017-06-26net: add netlink_ext_ack argument to rtnl_link_ops.newlinkMatthias Schiffer1-1/+2
2017-06-22veth: Be more robust on network device creation when no attributesSerhey Popovych1-2/+2
2017-06-07net: Fix inconsistent teardown and release of private netdev state.David S. Miller1-2/+2
2017-04-13netlink: pass extended ACK struct to parsing functionsJohannes Berg1-1/+2
2017-03-29net: veth: use new api ethtool_{get|set}_link_ksettingsPhilippe Reynes1-12/+7
2017-01-08net: make ndo_get_stats64 a void functionstephen hemminger1-4/+2
2016-10-20net: use core MTU range checking in core net infraJarod Wilson1-14/+3
2016-08-30net: veth: Set features for MPLSDavid Ahern1-0/+1
2016-08-26veth: sctp: add NETIF_F_SCTP_CRC to device featuresXin Long1-1/+1
2016-04-21veth: Update features to include all tunnel GSO typesAlexander Duyck1-4/+3
2016-03-01veth: implement ndo_set_rx_headroomPaolo Abeni1-0/+26
2015-12-22veth: don’t modify ip_summed; doing so treats packets with bad checksums as...Vijay Pandurangan1-6/+0
2015-08-18net: veth: enable noqueue operation by defaultPhil Sutter1-0/+1
2015-08-03veth: Don't segment multiple tagged packets on veth deviceToshiaki Makita1-0/+1
2015-04-02veth: set iflink to the peer vethNicolas Dichtel1-0/+15
2015-01-23veth: advertise link netns via netlinkNicolas Dichtel1-0/+9
2014-07-15net: rtnetlink - make create_link take name_assign_typeTom Gundersen1-3/+8
2014-06-25veth: add netpoll supportWANG Cong1-0/+18
2014-03-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+4
2014-03-28veth: Turn off vlan rx acceleration in vlan_featuresVlad Yasevich1-1/+4
2014-03-14net: Replace u64_stats_fetch_begin_bh to u64_stats_fetch_begin_irqEric W. Biederman1-2/+2
2014-03-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+2
2014-02-20veth: Fix vlan_features so as to be able to use stacked vlan interfacesToshiaki Makita1-1/+2
2014-02-18rtnl: make ifla_policy staticJiri Pirko1-4/+4
2014-02-14net: introduce netdev_alloc_pcpu_stats() for driversWANG Cong1-10/+1
2013-11-14Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-0/+8
2013-11-06net: Explicitly initialize u64_stats_sync structures for lockdepJohn Stultz1-0/+8
2013-10-28veth: extend features to support tunnelingEric Dumazet1-0/+3
2013-10-10veth: allow to setup multicast address for veth deviceGao feng1-0/+6
2013-10-08Revert "veth: Showing peer of veth type dev in ip link (kernel side)"David S. Miller1-21/+0
2013-10-08veth: Showing peer of veth type dev in ip link (kernel side)Masatake YAMATO1-0/+21
2013-07-19veth: add vlan featuresFlavio Leitner1-0/+1
2013-06-12veth: remove redundant call of dev_alloc_nameHong zhi guo1-7/+0
2013-04-19net: vlan: announce STAG offload capability in some driversPatrick McHardy1-1/+2
2013-04-19net: vlan: rename NETIF_F_HW_VLAN_* feature flags to NETIF_F_HW_VLAN_CTAG_*Patrick McHardy1-1/+1
2013-02-10veth: fix NULL dereference in veth_dellink()Eric Dumazet1-5/+6
2013-01-10veth: fix a NULL deref in netif_carrier_offEric Dumazet1-1/+3
2013-01-07veth: avoid a NULL deref in veth_stats_oneEric Dumazet1-18/+40
2012-12-30veth: extend device featuresEric Dumazet1-1/+6
2012-12-30veth: reduce stat overheadEric Dumazet1-68/+47
2012-11-30rtnelink: remove unused parameter from rtnl_create_link().Rami Rosen1-1/+1
2012-11-01veth: allow changing the mac address while interface is upHannes Frederic Sowa1-0/+1
2012-08-09veth: Allow to create peer link with given ifindexPavel Emelyanov1-0/+3
2012-02-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+3
2012-02-15net: replace random_ether_addr() with eth_hw_addr_random()Danny Kukawka1-2/+2
2012-02-15veth: Enforce minimum size of VETH_INFO_PEERThomas Graf1-1/+3
2011-11-22Sweep away N/A fw_version dustbunnies from the .get_drvinfo routine of a numb...Rick Jones1-1/+0
2011-11-16net: remove NETIF_F_NO_CSUM feature bitMichał Mirosław1-1/+1
2011-11-16net: sweep-up some straglers in strlcpy conversion of .get_drvinfo routinesRick Jones1-3/+3
2011-11-08net: better pcpu data alignmentEric Dumazet1-1/+1
2011-10-31drivers/net: Add module.h to drivers who were implicitly using itPaul Gortmaker1-0/+1
2011-07-27net: Audit drivers to identify those needing IFF_TX_SKB_SHARING clearedNeil Horman1-0/+2
2011-07-06veth: Kill unused tx_droppedEric Dumazet1-4/+1
2011-07-05veth: Kill unused code label and code block.David S. Miller1-7/+0
2011-06-30Exclude duplicated checking for iface-up. This flags is checked in 'is_skb_fo...Alexander Smirnov1-3/+0
2011-06-19veth: fix 64bit stats on 32bit archesEric Dumazet1-18/+37
2011-06-08veth: convert to 64 bit statisticsstephen hemminger1-23/+18
2011-05-15net: drivers: kill two unused macro definitionsShan Wei1-1/+0
2011-05-05Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-0/+12
2011-05-02Revert: veth: remove unneeded ifname code from veth_newlink()Jiri Pirko1-0/+12
2011-04-29ethtool: cosmetic: Use ethtool ethtool_cmd_speed APIDavid Decotigny1-1/+1
2011-04-01veth: convert to hw_featuresMichał Mirosław1-40/+5
2011-03-21veth: Fix the byte countersEric W. Biederman1-1/+1
2011-01-24veth: remove unneeded ifname code from veth_newlink()Jiri Pirko1-12/+0
2010-12-16net/veth: Fix packet checksummingMichał Mirosław1-1/+3
2010-09-26drivers/net: return operator cleanupEric Dumazet1-1/+1
2010-05-06veth: Dont kfree_skb() after dev_forward_skb()Eric Dumazet1-1/+0