Add an additional type of symmetric RSS hash type: OR-XOR. The "Symmetric-OR-XOR" algorithm transforms the input as follows: (SRC_IP | DST_IP, SRC_IP ^ DST_IP, SRC_PORT | DST_PORT, SRC_PORT ^ DST_PORT) Change 'cap_rss_sym_xor_supported' to 'supported_input_xfrm', a bitmap of supported RXH_XFRM_* types.
Showing the changes to include/uapi (1 of 7 files). Show all
Unified · Split
| @@ -2289,6 +2289,10 @@ static inline int ethtool_validate_duplex(__u8 duplex) · 2288 unmodified lines | ||
| 2289 | 2289 | * be exploited to reduce the RSS queue spread. |
| 2290 | 2290 | */ |
| 2291 | 2291 | #define RXH_XFRM_SYM_XOR (1 << 0) |
| 2292 | +/* Similar to SYM_XOR, except that one copy of the XOR'ed fields is replaced by | |
| 2293 | + * an OR of the same fields | |
| 2294 | + */ | |
| 2295 | +#define RXH_XFRM_SYM_OR_XOR (1 << 1) | |
| 2292 | 2296 | #define RXH_XFRM_NO_CHANGE 0xff |
| 2293 | 2297 | |
| 2294 | 2298 | /* L2-L4 network traffic flow types */ |