History

net/sched: Add match-all classifier hw offloading.

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

Yotam Gigi committed 10 years ago

Commit b87f7931 parent bf3994d4 files · +87 −3Browse files

Showing the changes to include/uapi (1 of 4 files). Show all

Unified · Split

include/uapi/linux/pkt_cls.h+1−0
@@ -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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t