Hi borisp, saeedm I have seen mlx5 driver in 5.12.0-rc4 kernel, then find that mlx5e_set_rss_hash_opt only support tcp4/udp4/tcp6/udp6. So mlx5 kernel driver doesn't support esp4 rss? Then do you have any plan to support esp4 or other latest mlx5 driver have supported esp4? Then does NVIDIA Mellanox ConnectX-6 Ethernet Adapter Cards support esp4 rss in hardware?
static int mlx5e_set_rss_hash_opt(struct mlx5e_priv *priv, struct ethtool_rxnfc *nfc) { int inlen = MLX5_ST_SZ_BYTES(modify_tir_in); enum mlx5e_traffic_types tt; u8 rx_hash_field = 0; void *in; tt = flow_type_to_traffic_type(nfc->flow_type); if (tt == MLX5E_NUM_INDIR_TIRS) return -EINVAL; /* RSS does not support anything other than hashing to queues * on src IP, dest IP, TCP/UDP src port and TCP/UDP dest * port. */ if (nfc->flow_type != TCP_V4_FLOW && nfc->flow_type != TCP_V6_FLOW && nfc->flow_type != UDP_V4_FLOW && nfc->flow_type != UDP_V6_FLOW) return -EOPNOTSUPP; Best Regards, Junhao