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.
Showing the changes to include/uapi (1 of 4 files). Show all
Unified · Split
| @@ -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 | ||