diff options
| author | Mao Wenan <[email protected]> | 2019-12-23 10:42:57 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-12-26 23:19:59 +0000 |
| commit | 0914d2bb11cc182039084ac3b961dc359b647468 (patch) | |
| tree | 91384b24bde79137393de9231c976c4b24795d33 /tools/bpf/bpftool/prog.c | |
| parent | xen-netback: support dynamic unbind/bind (diff) | |
| download | kernel-0914d2bb11cc182039084ac3b961dc359b647468.tar.gz kernel-0914d2bb11cc182039084ac3b961dc359b647468.zip | |
af_packet: refactoring code for prb_calc_retire_blk_tmo
If __ethtool_get_link_ksettings() is failed and with
non-zero value, prb_calc_retire_blk_tmo() should return
DEFAULT_PRB_RETIRE_TOV firstly.
This patch is to refactory code and make it more readable.
Signed-off-by: Mao Wenan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
