Searched refs:MLX5E_FTE_SET (Results 1 – 1 of 1) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | en_fs_ethtool.c | 123 #define MLX5E_FTE_SET(header_p, fld, v) \ macro 146 MLX5E_FTE_SET(headers_c, ethertype, 0xffff); in set_ip4() 147 MLX5E_FTE_SET(headers_v, ethertype, ETH_P_IP); in set_ip4() 169 MLX5E_FTE_SET(headers_c, ethertype, 0xffff); in set_ip6() 170 MLX5E_FTE_SET(headers_v, ethertype, ETH_P_IPV6); in set_ip6() 178 MLX5E_FTE_SET(headers_c, tcp_sport, ntohs(psrc_m)); in set_tcp() 179 MLX5E_FTE_SET(headers_v, tcp_sport, ntohs(psrc_v)); in set_tcp() 182 MLX5E_FTE_SET(headers_c, tcp_dport, ntohs(pdst_m)); in set_tcp() 183 MLX5E_FTE_SET(headers_v, tcp_dport, ntohs(pdst_v)); in set_tcp() 186 MLX5E_FTE_SET(headers_c, ip_protocol, 0xffff); in set_tcp() [all …]
|