Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\test_bpf.c Create Date:2022-07-28 06:28:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:test_skb_segment

Proto:static __init int test_skb_segment(void)

Type:int

Parameter:Nothing

6963  err_cnt = 0 , pass_cnt = 0
6965  When i < ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(skb_segment_tests) cycle
6966  test = skb_segment_tests[i]
6968  pr_info("#%d %s ", i, descr)
6970  If test_skb_segment_single(test) Then
6972  err_cnt++
6973  Else
6975  pass_cnt++
6979  pr_info("%s: Summary: %d PASSED, %d FAILED\n", __func__, pass_cnt, err_cnt)
6981  Return If err_cnt Then -EINVAL Else 0
Caller
NameDescribe
test_bpf_init