aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorDaniel T. Lee <[email protected]>2019-06-25 09:55:36 +0900
committerDaniel Borkmann <[email protected]>2019-06-26 15:39:15 +0200
commit9e859e8f199d4ab15ed418f7d17735c77619d14f (patch)
treef34d75c6853c4d0f6e968f6792710c5f74217821 /drivers/fpga/fpga-bridge.c
parent9db1ff0a415c7de8eb67df5b2c56ac409ccefc37 (diff)
samples: bpf: make the use of xdp samples consistent
Currently, each xdp samples are inconsistent in the use. Most of the samples fetch the interface with it's name. (ex. xdp1, xdp2skb, xdp_redirect_cpu, xdp_sample_pkts, etc.) But some of the xdp samples are fetching the interface with ifindex by command argument. This commit enables xdp samples to fetch interface with it's name without changing the original index interface fetching. (<ifname|ifindex> fetching in the same way as xdp_sample_pkts_user.c does.) Signed-off-by: Daniel T. Lee <[email protected]> Acked-by: Toke Høiland-Jørgensen <[email protected]> Acked-by: Jesper Dangaard Brouer <[email protected]> Acked-by: Song Liu <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions