Expose the NFT_FLOWTABLE_HW_OFFLOAD flag through uapi.
Showing the changes to include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -1553,6 +1553,16 @@ enum nft_object_attributes { · 1552 unmodified lines | ||
| 1553 | 1553 | }; |
| 1554 | 1554 | #define NFTA_OBJ_MAX (__NFTA_OBJ_MAX - 1) |
| 1555 | 1555 | |
| 1556 | +/** | |
| 1557 | + * enum nft_flowtable_flags - nf_tables flowtable flags | |
| 1558 | + * | |
| 1559 | + * @NFT_FLOWTABLE_HW_OFFLOAD: flowtable hardware offload is enabled | |
| 1560 | + */ | |
| 1561 | +enum nft_flowtable_flags { | |
| 1562 | + NFT_FLOWTABLE_HW_OFFLOAD = 0x1, | |
| 1563 | + NFT_FLOWTABLE_MASK = NFT_FLOWTABLE_HW_OFFLOAD | |
| 1564 | +}; | |
| 1565 | + | |
| 1556 | 1566 | /** |
| 1557 | 1567 | * enum nft_flowtable_attributes - nf_tables flow table netlink attributes |
| 1558 | 1568 | * |