summaryrefslogtreecommitdiff
path: root/bpfc.zsh
blob: 63c54e0be6355711559713f061d4a04dae0aed22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#compdef bpfc
#
# bpfc.zsh --  zsh completion function for bpfc
#
# Copyright (C) 2013 Hideo Hattori <hhatto.jp@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.

typeset -A opt_args

_arguments -s -S \
    "(-i --input)"{-i,--input}"[Berkeley Packet Filter file]:input:_files" \
    "(-p --cpp)"{-p,--cpp}"[Run bpf program through C preprocessor]" \
    "(-D --define)"{-D,--define}"[Add macro definition for the C preprocessor]::" \
    "(-f --format)"{-f,--format}"[Output format]:output:(C netsniff-ng xt_bpf tcpdump)" \
    "(-b --bypass)"{-b,--bypass}"[Bypass filter validation (e.g. for bug testing)]" \
    "(-d --dump)"{-d,--dump}"[Dump supported instruction table]" \
    "(-V --verbose)"{-V,--verbose}"[Be more verbose]" \
    {-v,--version}"[Print version and exit]:" \
    {-h,--help}"[Print help and exit]:" \
    "*::args:_gnu_generic"
b6d7ed8c7d732e071dd1bc890ea5e8'>2cf750704bb6d7ed8c7d732e071dd1bc890ea5e8 (diff)parent3ac72b7b63d57b231dda1e8f8d13872e0d7e8603 (diff)
Merge branch 'fec-align'
Eric Nelson says: ==================== net: fec: updates to align IP header This patch series is the outcome of investigation into very high numbers of alignment faults on kernel 4.1.33 from the linux-fslc tree: https://github.com/freescale/linux-fslc/tree/4.1-1.0.x-imx The first two patches remove support for the receive accelerator (RACC) from the i.MX25 and i.MX27 SoCs which don't support the function. The third patch enables hardware alignment of the ethernet packet payload (and especially the IP header) to prevent alignment faults in the IP stack. Testing on i.MX6UL on the 4.1.33 kernel showed that this patch removed on the order of 70k alignment faults during a 100MiB transfer using wget. Testing on an i.MX6Q (SABRE Lite) board on net-next (4.8.0-rc7) showed a much more modest improvement from 10's of faults, and it's not clear why that's the case. ==================== Acked-by: Fugang Duan <fugang.duan@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat