Home
last modified time | relevance | path

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

/drivers/net/ethernet/netronome/nfp/flower/
Daction.c398 nfp_fl_set_tun(struct nfp_app *app, struct nfp_fl_set_tun *set_tun, in nfp_fl_set_tun() argument
428 set_tun->head.jump_id = NFP_FL_ACTION_OPCODE_SET_TUNNEL; in nfp_fl_set_tun()
429 set_tun->head.len_lw = act_size >> NFP_FL_LW_SIZ; in nfp_fl_set_tun()
436 set_tun->tun_type_index = cpu_to_be32(tmp_set_ip_tun_type_index); in nfp_fl_set_tun()
437 set_tun->tun_id = ip_tun->key.tun_id; in nfp_fl_set_tun()
440 set_tun->ttl = ip_tun->key.ttl; in nfp_fl_set_tun()
451 set_tun->ttl = ip6_dst_hoplimit(dst); in nfp_fl_set_tun()
454 set_tun->ttl = net->ipv6.devconf_all->hop_limit; in nfp_fl_set_tun()
472 set_tun->ttl = ip4_dst_hoplimit(&rt->dst); in nfp_fl_set_tun()
475 set_tun->ttl = net->ipv4.sysctl_ip_default_ttl; in nfp_fl_set_tun()
[all …]