Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Daction.c411 nfp_fl_set_tun(struct nfp_app *app, struct nfp_fl_set_tun *set_tun, in nfp_fl_set_tun() argument
451 set_tun->head.jump_id = NFP_FL_ACTION_OPCODE_SET_TUNNEL; in nfp_fl_set_tun()
452 set_tun->head.len_lw = act_size >> NFP_FL_LW_SIZ; in nfp_fl_set_tun()
459 set_tun->tun_type_index = cpu_to_be32(tmp_set_ip_tun_type_index); in nfp_fl_set_tun()
461 set_tun->tun_id = ip_tun->key.tun_id; in nfp_fl_set_tun()
464 set_tun->ttl = ip_tun->key.ttl; in nfp_fl_set_tun()
475 set_tun->ttl = ip6_dst_hoplimit(dst); in nfp_fl_set_tun()
478 set_tun->ttl = READ_ONCE(net->ipv6.devconf_all->hop_limit); in nfp_fl_set_tun()
496 set_tun->ttl = ip4_dst_hoplimit(&rt->dst); in nfp_fl_set_tun()
499 set_tun->ttl = READ_ONCE(net->ipv4.sysctl_ip_default_ttl); in nfp_fl_set_tun()
[all …]