History

net/flower: Introduce hardware offload support

This patch is based on a patch made by John Fastabend. It adds support for offloading cls_flower. when NETIF_F_HW_TC is on: flags = 0 => Rule will be processed twice - by hardware, and if still relevant, by software. flags = SKIP_HW => Rull will be processed by software only If hardware fail/not capabale to apply the rule, operation will NOT fail. Filter will be processed by SW only.

Amir Vadai committed 10 years ago

Commit 5b33f481 parent 10f79034 files · +81 −1Browse files

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

Unified · Split

include/uapi/linux/pkt_cls.h+2−0
@@ -417,6 +417,8 @@ enum { · 416 unmodified lines
417 TCA_FLOWER_KEY_TCP_DST, /* be16 */417 TCA_FLOWER_KEY_TCP_DST, /* be16 */
418 TCA_FLOWER_KEY_UDP_SRC, /* be16 */418 TCA_FLOWER_KEY_UDP_SRC, /* be16 */
419 TCA_FLOWER_KEY_UDP_DST, /* be16 */419 TCA_FLOWER_KEY_UDP_DST, /* be16 */
420
421 TCA_FLOWER_FLAGS,
420 __TCA_FLOWER_MAX,422 __TCA_FLOWER_MAX,
421};423};
422 424

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