Following the work that have been done on offloading classifiers like u32 and flower, now the match-all classifier hw offloading is possible. if the interface supports tc offloading. To control the offloading, two tc flags have been introduced: skip_sw and skip_hw. Typical usage: tc filter add dev eth25 parent ffff: \ matchall skip_sw \ action mirred egress mirror \ dev eth27
Showing the changes to include/uapi (1 of 4 files). Show all
Unified · Split
| @@ -439,6 +439,7 @@ enum { · 438 unmodified lines | |||
| 439 | TCA_MATCHALL_UNSPEC, | 439 | TCA_MATCHALL_UNSPEC, |
| 440 | TCA_MATCHALL_CLASSID, | 440 | TCA_MATCHALL_CLASSID, |
| 441 | TCA_MATCHALL_ACT, | 441 | TCA_MATCHALL_ACT, |
| 442 | TCA_MATCHALL_FLAGS, | ||
| 442 | __TCA_MATCHALL_MAX, | 443 | __TCA_MATCHALL_MAX, |
| 443 | }; | 444 | }; |
| 444 | 445 | ||