File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,9 @@ const (
2727 ETH_SS_STATS
2828 // ETH_SS_PRIV_FLAGS are driver private flag names
2929 ETH_SS_PRIV_FLAGS
30- // _ETH_SS_NTUPLE_FILTERS is deprecated
31- _ETH_SS_NTUPLE_FILTERS
30+
31+ // Deprecated: _ETH_SS_NTUPLE_FILTERS is deprecated
32+ _ETH_SS_NTUPLE_FILTERS //nolint:unused
3233 // ETH_SS_FEATURES are device feature names
3334 ETH_SS_FEATURES
3435 // ETH_SS_RSS_HASH_FUNCS is RSS hush function names
Original file line number Diff line number Diff line change @@ -434,15 +434,15 @@ const (
434434 TCA_HTB_MAX = TCA_HTB_CEIL64
435435)
436436
437- //struct tc_htb_opt {
437+ // struct tc_htb_opt {
438438// struct tc_ratespec rate;
439439// struct tc_ratespec ceil;
440440// __u32 buffer;
441441// __u32 cbuffer;
442442// __u32 quantum;
443443// __u32 level; /* out only */
444444// __u32 prio;
445- //};
445+ // };
446446
447447type TcHtbCopt struct {
448448 Rate TcRateSpec
@@ -1112,7 +1112,7 @@ const (
11121112 TCA_FLOWER_KEY_ENC_OPTS
11131113 TCA_FLOWER_KEY_ENC_OPTS_MASK
11141114
1115- __TCA_FLOWER_MAX
1115+ __TCA_FLOWER_MAX //nolint:unused
11161116)
11171117
11181118const TCA_CLS_FLAGS_SKIP_HW = 1 << 0 /* don't offload filter to HW */
You can’t perform that action at this time.
0 commit comments