@@ -84,6 +84,7 @@ IBV_RX_HASH_SRC_PORT_TCP = 1 << 4,
IBV_RX_HASH_DST_PORT_TCP = 1 << 5,
IBV_RX_HASH_SRC_PORT_UDP = 1 << 6,
IBV_RX_HASH_DST_PORT_UDP = 1 << 7,
+IBV_RX_HASH_IPSEC_SPI = 1 << 8,
/* When using tunneling protocol, e.g. VXLAN, then we have an inner (encapsulated packet) and outer.
* For applying RSS on the inner packet, then the following field should be set with one of the L3/L4 fields.
*/
@@ -231,6 +231,7 @@ enum ibv_rx_hash_fields {
IBV_RX_HASH_DST_PORT_TCP = 1 << 5,
IBV_RX_HASH_SRC_PORT_UDP = 1 << 6,
IBV_RX_HASH_DST_PORT_UDP = 1 << 7,
+ IBV_RX_HASH_IPSEC_SPI = 1 << 8,
IBV_RX_HASH_INNER = (1UL << 31),
};