Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_fs_ethtool.c151 #define MLX5E_FTE_SET(header_p, fld, v) \ macro
174 MLX5E_FTE_SET(headers_c, ethertype, 0xffff); in set_ip4()
175 MLX5E_FTE_SET(headers_v, ethertype, ETH_P_IP); in set_ip4()
197 MLX5E_FTE_SET(headers_c, ethertype, 0xffff); in set_ip6()
198 MLX5E_FTE_SET(headers_v, ethertype, ETH_P_IPV6); in set_ip6()
206 MLX5E_FTE_SET(headers_c, tcp_sport, ntohs(psrc_m)); in set_tcp()
207 MLX5E_FTE_SET(headers_v, tcp_sport, ntohs(psrc_v)); in set_tcp()
210 MLX5E_FTE_SET(headers_c, tcp_dport, ntohs(pdst_m)); in set_tcp()
211 MLX5E_FTE_SET(headers_v, tcp_dport, ntohs(pdst_v)); in set_tcp()
214 MLX5E_FTE_SET(headers_c, ip_protocol, 0xffff); in set_tcp()
[all …]