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.c400 nfp_fl_set_tun(struct nfp_app *app, struct nfp_fl_set_tun *set_tun, in nfp_fl_set_tun() argument
436 set_tun->head.jump_id = NFP_FL_ACTION_OPCODE_SET_TUNNEL; in nfp_fl_set_tun()
437 set_tun->head.len_lw = act_size >> NFP_FL_LW_SIZ; in nfp_fl_set_tun()
444 set_tun->tun_type_index = cpu_to_be32(tmp_set_ip_tun_type_index); in nfp_fl_set_tun()
446 set_tun->tun_id = ip_tun->key.tun_id; in nfp_fl_set_tun()
449 set_tun->ttl = ip_tun->key.ttl; in nfp_fl_set_tun()
460 set_tun->ttl = ip6_dst_hoplimit(dst); in nfp_fl_set_tun()
463 set_tun->ttl = net->ipv6.devconf_all->hop_limit; in nfp_fl_set_tun()
481 set_tun->ttl = ip4_dst_hoplimit(&rt->dst); in nfp_fl_set_tun()
484 set_tun->ttl = READ_ONCE(net->ipv4.sysctl_ip_default_ttl); in nfp_fl_set_tun()
[all …]