Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_fs_ethtool.c297 struct ethhdr *eth_val = &fs->h_u.ether_spec; in parse_ether() local
299 mask_spec((u8 *)eth_mask, (u8 *)eth_val, sizeof(*eth_mask)); in parse_ether()
301 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_v, smac_47_16), eth_val->h_source); in parse_ether()
303 ether_addr_copy(MLX5E_FTE_ADDR_OF(headers_v, dmac_47_16), eth_val->h_dest); in parse_ether()
305 MLX5E_FTE_SET(headers_v, ethertype, ntohs(eth_val->h_proto)); in parse_ether()