aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/pktgen.c
AgeCommit message (Expand)AuthorFilesLines
2023-12-27net: pktgen: Use wait_event_freezable_timeout() for freezable kthreadKevin Hao1-4/+2
2023-11-02Merge tag 'mm-nonmm-stable-2023-11-02-14-08' of git://git.kernel.org/pub/scm/...Linus Torvalds1-2/+1
2023-10-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-7/+7
2023-10-18net: pktgen: Fix interface flags printingGavrilov Ilia1-7/+7
2023-10-04kthread: add kthread_stop_putAndreas Gruenbacher1-2/+1
2023-09-28pktgen: Introducing 'SHARED' flag for testing with non-shared skbLiang Chen1-10/+54
2023-09-28pktgen: Automate flag enumeration for unknown flag handlingLiang Chen1-16/+22
2023-05-13net: introduce and use skb_frag_fill_page_desc()Yunsheng Lin1-5/+8
2022-11-18treewide: use get_random_u32_inclusive() when possibleJason A. Donenfeld1-15/+10
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld1-14/+14
2022-10-11treewide: use get_random_u32() when possibleJason A. Donenfeld1-2/+2
2022-10-11treewide: use prandom_u32_max() when possible, part 1Jason A. Donenfeld1-22/+21
2022-06-09net: rename reference+tracking helpersJakub Kicinski1-3/+3
2022-01-22proc: remove PDE_DATA() completelyMuchun Song1-3/+3
2021-12-14Revert "pktgen: use min() to make code cleaner"David S. Miller1-2/+3
2021-12-14pktgen: use min() to make code cleanerChangcheng Deng1-3/+2
2021-12-07pktgen add net device refcount trackerEric Dumazet1-3/+5
2021-09-03pktgen: remove unused variableEric Dumazet1-1/+0
2021-08-18pktgen: Remove fill_imix_distribution() CONFIG_XFRM dependencyNick Richardson1-27/+26
2021-08-12pktgen: Add output for imix resultsNick Richardson1-1/+25
2021-08-12pktgen: Add imix distribution binsNick Richardson1-0/+41
2021-08-12pktgen: Parse internet mix (imix) inputNick Richardson1-0/+96
2021-08-04pktgen: Remove redundant clone_skb overrideNick Richardson1-5/+0
2021-06-07pktgen: add pktgen_handle_all_threads() for the same codeYejune Deng1-25/+13
2021-01-27pktgen: fix misuse of BUG_ON() in pktgen_thread_worker()Di Zhu1-1/+1
2020-10-01pktgen: Fix inconsistent of format with argument type in pktgen.cYe Bin1-5/+5
2020-09-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netLinus Torvalds1-1/+1
2020-09-01pktgen: fix error message with wrong function nameLeesoo Ahn1-1/+1
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-04-30docs: networking: convert pktgen.txt to ReSTMauro Carvalho Chehab1-1/+1
2020-03-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+1
2020-03-25net: Fix CONFIG_NET_CLS_ACT=n and CONFIG_NFT_FWD_NETDEV={y, m} buildPablo Neira Ayuso1-1/+1
2020-03-10pktgen: Allow on loopback deviceLukas Wunner1-2/+2
2020-02-04proc: convert everything to "struct proc_ops"Alexey Dobriyan1-22/+22
2019-10-17pktgen: remove unnecessary assignment in pktgen_xmit()Yunsheng Lin1-1/+0
2019-09-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextLinus Torvalds1-1/+1
2019-08-01hrtimer/treewide: Use hrtimer_sleeper_start_expires()Thomas Gleixner1-1/+1
2019-08-01hrtimer: Consolidate hrtimer_init() + hrtimer_init_sleeper() callsSebastian Andrzej Siewior1-3/+1
2019-07-30hrtimer: Remove task argument from hrtimer_init_sleeper()Thomas Gleixner1-1/+1
2019-07-30net: Use skb_frag_off accessorsJonathan Lemon1-1/+1
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-8/+12
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-0/+11
2019-06-06pktgen: do not sleep with the thread lock held.Paolo Abeni1-0/+11
2019-06-02net: ipv4: provide __rcu annotation for ifa_listFlorian Westphal1-3/+5
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-8/+1
2019-04-08xfrm: remove output indirection from xfrm_modeFlorian Westphal1-1/+1
2019-03-05mm: replace all open encodings for NUMA_NO_NODEAnshuman Khandual1-1/+2
2018-09-13pktgen: Fix fall-through annotationGustavo A. R. Silva1-1/+1
2018-07-27Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klasse...David S. Miller1-1/+1
2018-07-18pktgen: convert safe uses of strncpy() to strcpy() to avoid string truncation...Jakub Kicinski1-6/+4
2018-06-23xfrm: Add a new lookup key to match xfrm interfaces.Steffen Klassert1-1/+1
2018-06-12treewide: Use array_size() in vzalloc_node()Kees Cook1-1/+2
2018-03-27net: Drop pernet_operations::asyncKirill Tkhai1-1/+0
2018-03-14pktgen: Fix memory leak in pktgen_if_writeGustavo A. R. Silva1-1/+1
2018-03-13pktgen: use dynamic allocation for debug print bufferArnd Bergmann1-7/+8
2018-03-09pktgen: Remove VLA usageGustavo A. R. Silva1-1/+1
2018-03-08net: Convert pg_net_opsKirill Tkhai1-0/+1
2018-01-24pktgen: Clean read user supplied flag messDmitry Safonov1-105/+39
2018-01-24pktgen: Remove brute-force printing of flagsDmitry Safonov1-58/+19
2018-01-24pktgen: Add behaviour flags macro to generate flags/namesDmitry Safonov1-23/+34
2018-01-24pktgen: Add missing !flag parametersDmitry Safonov1-1/+7
2018-01-16net: delete /proc THIS_MODULE referencesAlexey Dobriyan1-3/+0
2017-11-30xfrm: Move child route linkage into xfrm_dst.David Miller1-6/+6
2017-11-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-4/+12
2017-11-08pktgen: document 32-bit timestamp overflowArnd Bergmann1-3/+11
2017-11-05pktgen: do not abuse IN6_ADDR_HSIZEEric Dumazet1-1/+1
2017-10-25locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns ...Mark Rutland1-1/+1
2017-07-01net: convert sk_buff.users from atomic_t to refcount_tReshetova, Elena1-8/+8
2017-06-16networking: make skb_push & __skb_push return void pointersJohannes Berg1-3/+3
2017-06-16networking: make skb_put & friends return void pointersJohannes Berg1-15/+17
2017-06-16networking: convert many more places to skb_put_zero()Johannes Berg1-2/+2
2017-01-08net-tc: convert tc_verd to integer bitfieldsWillem de Bruijn1-3/+1
2016-11-18netns: make struct pernet_operations::id unsigned intAlexey Dobriyan1-1/+1
2016-10-17net: pktgen: remove rcu locking in pktgen_change_name()Eric Dumazet1-7/+10
2016-10-03net: pktgen: fix pkt_sizePaolo Abeni1-11/+10
2016-07-04net: pktgen: support injecting packets for qdisc testingJohn Fastabend1-2/+40
2016-06-12sched: remove NET_XMIT_POLICEDFlorian Westphal1-1/+0
2016-05-31net: pktgen: Call destroy_hrtimer_on_stack()Guenter Roeck1-4/+4
2016-04-26net: remove NETDEV_TX_LOCKED supportFlorian Westphal1-1/+0
2016-03-01net: pktgen: use reset to set mac headerZhang Shengju1-2/+2
2016-01-11Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+3
2016-01-11net: pktgen: fix null ptr deref in skb allocationJohn Fastabend1-1/+3
2015-12-15net: Eliminate NETIF_F_GEN_CSUM and NETIF_F_V[46]_CSUMTom Herbert1-2/+2
2015-08-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+0
2015-08-06net: pktgen: don't abuse current->state in pktgen_thread_worker()Oleg Nesterov1-3/+0
2015-07-29net: pktgen: Remove unused 'allocated_skbs' fieldBogdan Hamciuc1-2/+0
2015-07-29net: pktgen: Observe needed_headroom of the deviceBogdan Hamciuc1-1/+2
2015-07-09net: pktgen: kill the "Wait for kthread_stop" code in pktgen_thread_worker()Oleg Nesterov1-9/+2
2015-07-09net: pktgen: fix race between pktgen_thread_worker() and kthread_stop()Oleg Nesterov1-1/+3
2015-06-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-13/+97
2015-05-25pktgen: remove one sparse errorEric Dumazet1-5/+5
2015-05-22pktgen: make /proc/net/pktgen/pgctrl report fail on invalid inputJesper Dangaard Brouer1-2/+2
2015-05-22pktgen: adjust spacing in proc file interface outputJesper Dangaard Brouer1-1/+1
2015-05-12pktgen: fix packet generationAlexei Starovoitov1-1/+10
2015-05-09pktgen: introduce xmit_mode '<start_xmit|netif_receive>'Alexei Starovoitov1-5/+77
2015-05-09pktgen: adjust flag NO_TIMESTAMP to be more pktgen compliantJesper Dangaard Brouer1-0/+3
2015-04-22net: core: pktgen: Remove bogus hrtimer_active() checkThomas Gleixner1-2/+0
2015-02-22net: pktgen: disable xmit_clone on virtual devicesEric Dumazet1-0/+3
2015-02-14net: spelling fixesStephen Hemminger1-1/+1
2015-02-05pktgen: fix UDP checksum computationSabrina Dubroca1-8/+8
2014-11-19net: pktgen: Deletion of an unnecessary check before the function call "proc_...Markus Elfring1-2/+1
2014-10-01net: pktgen: packet bursting via skb->xmit_moreAlexei Starovoitov1-2/+24
2014-09-10pktgen: Convert pr_warning to pr_warnJoe Perches1-12/+12
2014-09-01pktgen: add flag NO_TIMESTAMP to disable timestampingJesper Dangaard Brouer1-3/+16
2014-09-01net: Pass a "more" indication down into netdev_start_xmit() code paths.David S. Miller1-1/+1
2014-09-01net: Do txq_trans_update() in netdev_start_xmit()David S. Miller1-2/+1
2014-08-29net: add skb_get_tx_queue() helperDaniel Borkmann1-3/+1
2014-08-24net: Add ops->ndo_xmit_flush()David S. Miller1-3/+1
2014-07-15pktgen: remove unnecessary break after gotoFabian Frederick1-1/+0
2014-07-01pktgen: RCU-ify "if_list" to remove lock in next_to_run()Jesper Dangaard Brouer1-49/+52
2014-07-01pktgen: avoid expensive set_current_state() call in loopJesper Dangaard Brouer1-6/+3
2014-05-16pktgen: Use seq_puts() where seq_printf() is not neededThomas Graf1-25/+25
2014-04-12pktgen: be friendly to LLTX devicesDaniel Borkmann1-2/+6
2014-04-07pktgen: fix xmit test for BQL enabled devicesDaniel Borkmann1-1/+1
2014-02-24pktgen: document all supported flagsMathias Krause1-1/+7
2014-02-24pktgen: simplify error handling in pgctrl_write()Mathias Krause1-13/+6
2014-02-24pktgen: fix out-of-bounds access in pgctrl_write()Mathias Krause1-1/+4
2014-01-21pktgen: Use ether_addr_copyJoe Perches1-4/+4
2014-01-10{xfrm,pktgen} Fix compiling error when CONFIG_XFRM is not setFan Du1-2/+2
2014-01-06pktgen_dst_metrics[] can be staticFengguang Wu1-1/+1
2014-01-03{pktgen, xfrm} Show spi value properly when ipsec turned onFan Du1-1/+4
2014-01-03{pktgen, xfrm} Introduce xfrm_state_lookup_byspi for pktgenFan Du1-7/+15
2014-01-03{pktgen, xfrm} Construct skb dst for tunnel mode transformationFan Du1-1/+27
2014-01-03{pktgen, xfrm} Using "pgset spi xxx" to spedifiy SA for a given flowFan Du1-0/+12
2014-01-03{pktgen, xfrm} Add statistics counting when transformingFan Du1-3/+7
2014-01-03{pktgen, xfrm} Correct xfrm state lock usage when transformingFan Du1-3/+2
2013-12-01{pktgen, xfrm} Update IPv4 header total len and checksum after tranformationfan.du1-0/+7
2013-07-29pktgen: add needed include fileStephen Rothwell1-0/+1
2013-07-27pktgen: Use ip_send_check() to compute checksumThomas Graf1-2/+1
2013-07-27pktgen: Add UDPCSUM flag to support UDP checksumsThomas Graf1-5/+52
2013-06-12pktgen: ipv6: numa: consolidate skb allocation to pktgen_alloc_skbDaniel Borkmann1-25/+27
2013-06-04pktgen: Fix position of ip and udp headerThomas Graf1-27/+12
2013-05-28net, ipv4, ipv6: Correct assignment of skb->network_header to skb->tailSimon Horman1-2/+14
2013-05-28net: pass info struct via netdevice notifierJiri Pirko1-1/+1
2013-05-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-7/+5
2013-05-01proc: Supply a function to remove a proc entry by PDEDavid Howells1-4/+2
2013-04-29net/core: remove duplicate statements by do-while loopAkinobu Mita1-9/+6
2013-04-29net/core: rename random32() to prandom_u32()Akinobu Mita1-14/+15
2013-04-09procfs: new helper - PDE_DATA(inode)Al Viro1-3/+3
2013-02-18net: proc: change proc_net_remove to remove_proc_entryGao feng1-2/+2
2013-02-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+6
2013-01-29pktgen: correctly handle failures when adding a deviceCong Wang1-3/+6
2013-01-29pktgen: support net namespaceCong Wang1-79/+117
2012-11-03pktgen: clean up ktime_t helpersDaniel Borkmann1-28/+13
2012-10-21pktgen: Use ipv6_addr_anyJoe Perches1-5/+1
2012-10-10pktgen: replace scan_ip6() with in6_pton()Amerigo Wang1-97/+4
2012-10-10pktgen: enable automatic IPv6 address settingAmerigo Wang1-13/+5
2012-10-10pktgen: display IPv4 address in human-readable formatAmerigo Wang1-2/+2
2012-10-10pktgen: set different default min_pkt_size for different protocolsAmerigo Wang1-7/+20
2012-10-10pktgen: fix crash when generating IPv6 packetsAmerigo Wang1-1/+1
2012-09-13pktgen: fix crash with vlan and packet size less than 46Nishank Trivedi1-1/+1
2012-05-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+2
2012-05-18pktgen: fix module unload for goodEric Dumazet1-2/+2
2012-05-17pktgen: Use pr_debugJoe Perches1-23/+18
2012-05-16Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+8
2012-05-15net: Convert net_ratelimit uses to net_<level>_ratelimitedJoe Perches1-4/+3
2012-05-10pktgen: fix crash at module unloadEric Dumazet1-2/+8
2012-04-15net: cleanup unsigned to unsigned intEric Dumazet1-10/+10
2012-01-22pktgen: Fix unsigned function that is returning negative valsPaul Gortmaker1-2/+2
2012-01-07pktgen: set correct max and min in pktgen_setup_inject()Dan Carpenter1-2/+2
2011-11-29net: Add queue state xoff flag for stackTom Herbert1-1/+1
2011-11-22net: remove ipv6_addr_copy()Alexey Dobriyan1-9/+6
2011-10-20pktgen: remove ndelay() callEric Dumazet1-4/+7
2011-10-19net: do not take an additional reference in skb_frag_set_pageIan Campbell1-0/+1
2011-10-19net: add skb frag size accessorsEric Dumazet1-6/+6
2011-08-24net: convert core to skb paged frag APIsIan Campbell1-2/+1
2011-07-27net: add IFF_SKB_TX_SHARED flag to priv_flagsNeil Horman1-3/+5
2011-05-22pktgen: refactor pg_init() codeWANG Cong1-7/+12
2011-05-22pktgen: use vzalloc_node() instead of vmalloc_node() + memset()WANG Cong1-2/+1
2011-05-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6Linus Torvalds1-169/+30
2011-05-20sanitize <linux/prefetch.h> usageLinus Torvalds1-0/+1
2011-05-09net: add mac_pton() for parsing MAC addressAlexey Dobriyan1-45/+8
2011-05-08pktgen: use %pI6c for printing IPv6 addressesAlexey Dobriyan1-96/+13
2011-04-29pktgen: create num frags requestedamit salecha1-26/+9
2011-04-17pktgen: Fix set-but-unused variable.David S. Miller1-2/+0
2011-03-22kthread: use kthread_create_on_node()Eric Dumazet1-1/+4
2011-03-14pktgen: bug fix in transmission headers with frags=0Daniel Turull1-2/+1
2011-03-10Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-1/+1
2011-03-09pktgen: fix errata in show resultsDaniel Turull1-1/+1
2011-01-25pktgen: speedup fragmented skbsEric Dumazet1-141/+93
2010-12-20pktgen: Remove unnecessary prefix from pr_<level>Joe Perches1-2/+1
2010-12-10pktgen: adding prefetchw() callJunchang Wang1-0/+2
2010-11-28net: add netif_tx_queue_frozen_or_stoppedEric Dumazet1-1/+1
2010-11-21pktgen: allow faster module unloadEric Dumazet1-5/+12
2010-11-18net: add priority field to pktgenJohn Fastabend1-0/+20
2010-11-08pktgen: correct uninitialized queue_mapJunchang Wang1-2/+2
2010-11-07NET: pktgen - fix compile warningDmitry Torokhov1-1/+1
2010-10-28pktgen: Limit how much data we copy onto the stack.Nelson Elhage1-3/+4
2010-10-24pktgen: clean up handling of local/transient counter varsPaul Gortmaker1-15/+15
2010-09-21net: core: use kernel's converter from hex to binAndy Shevchenko1-6/+4
2010-08-31pktgen: remove non used variableEric Dumazet1-2/+0
2010-07-23net: core: don't use own hex_to_bin() methodAndy Shevchenko1-24/+12
2010-07-12net/core: Remove unnecessary casts of private_dataJoe Perches1-2/+2
2010-06-25net/core/pktgen.c: Use pr_<level>Joe Perches1-78/+64
2010-06-11pktgen: increasing transmission granularityDaniel Turull1-4/+38
2010-06-10pktgen: Fix accuracy of inter-packet delay.Daniel Turull1-1/+1
2010-03-21pktgen node allocationRobert Olsson1-5/+53
2010-02-22xfrm: SA lookups signature with markJamal Hadi Salim1-1/+2
2010-02-04pktgen: Fix freezing problemRafael J. Wysocki1-0/+1
2009-12-23pktgen: ndo_start_xmit can return NET_XMIT_xxx valuesJohn Fastabend1-2/+7