Home
last modified time | relevance | path

Searched refs:MLX5E_FTE_SET (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c147 #define MLX5E_FTE_SET(header_p, fld, v) \ macro
170 MLX5E_FTE_SET(headers_c, ethertype, 0xffff); in set_ip4()
171 MLX5E_FTE_SET(headers_v, ethertype, ETH_P_IP); in set_ip4()
193 MLX5E_FTE_SET(headers_c, ethertype, 0xffff); in set_ip6()
194 MLX5E_FTE_SET(headers_v, ethertype, ETH_P_IPV6); in set_ip6()
202 MLX5E_FTE_SET(headers_c, tcp_sport, ntohs(psrc_m)); in set_tcp()
203 MLX5E_FTE_SET(headers_v, tcp_sport, ntohs(psrc_v)); in set_tcp()
206 MLX5E_FTE_SET(headers_c, tcp_dport, ntohs(pdst_m)); in set_tcp()
207 MLX5E_FTE_SET(headers_v, tcp_dport, ntohs(pdst_v)); in set_tcp()
210 MLX5E_FTE_SET(headers_c, ip_protocol, 0xffff); in set_tcp()
[all …]