Home
last modified time | relevance | path

Searched refs:vxlan_port (Results 1 – 25 of 35) sorted by relevance

12

/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_sp_commands.c196 p_tun->vxlan_port.b_update_port = p_src->vxlan_port.b_update_port; in qed_set_tunn_ports()
201 if (p_src->vxlan_port.b_update_port) in qed_set_tunn_ports()
202 p_tun->vxlan_port.port = p_src->vxlan_port.port; in qed_set_tunn_ports()
241 &p_tun->vxlan_port); in qed_tunn_set_pf_update_params()
277 if (p_tunn->vxlan_port.b_update_port) in qed_set_hw_tunn_mode_port()
279 p_tunn->vxlan_port.port); in qed_set_hw_tunn_mode_port()
306 &p_tun->vxlan_port); in qed_tunn_set_pf_start_params()
Dqed_sriov.h304 int vfid, u16 vxlan_port, u16 geneve_port);
411 u16 vxlan_port, u16 geneve_port) in qed_iov_bulletin_set_udp_ports() argument
Dqed_vf.c666 p_tun->vxlan_port.port = p_resp->vxlan_udp_port; in qed_vf_update_tunn_param()
691 &p_req->vxlan_clss, &p_src->vxlan_port, in qed_vf_pf_tunnel_param_update()
693 &p_req->vxlan_port); in qed_vf_pf_tunnel_param_update()
1690 u16 vxlan_port, geneve_port; in qed_handle_bulletin_change() local
1692 qed_vf_bulletin_get_udp_ports(hwfn, &vxlan_port, &geneve_port); in qed_handle_bulletin_change()
1698 ops->ports_update(cookie, vxlan_port, geneve_port); in qed_handle_bulletin_change()
Dqed_sriov.c2203 p_resp->vxlan_udp_port = p_tun->vxlan_port.port; in qed_iov_pf_update_tun_response()
2268 bultn_vxlan_port = tun->vxlan_port.port; in qed_pf_validate_modify_tunn_config()
2287 if (tun_src->vxlan_port.b_update_port) { in qed_pf_validate_modify_tunn_config()
2288 if (tun_src->vxlan_port.port == tun->vxlan_port.port) { in qed_pf_validate_modify_tunn_config()
2289 tun_src->vxlan_port.b_update_port = false; in qed_pf_validate_modify_tunn_config()
2292 bultn_vxlan_port = tun_src->vxlan_port.port; in qed_pf_validate_modify_tunn_config()
2345 qed_iov_pf_update_tun_param(p_req, &tunn.vxlan, &tunn.vxlan_port, in qed_iov_vf_mbx_update_tunn_param()
2348 p_req->vxlan_port); in qed_iov_vf_mbx_update_tunn_param()
2384 p_tun->vxlan_port.port, in qed_iov_vf_mbx_update_tunn_param()
4226 int vfid, u16 vxlan_port, u16 geneve_port) in qed_iov_bulletin_set_udp_ports() argument
[all …]
Dqed_l2.c2627 tunn_info.vxlan_port.b_update_port = true; in qed_tunn_configure()
2628 tunn_info.vxlan_port.port = tunn_params->vxlan_port; in qed_tunn_configure()
2659 u16 vxlan_port, geneve_port; in qed_tunn_configure() local
2662 vxlan_port = tun->vxlan_port.port; in qed_tunn_configure()
2667 vxlan_port, in qed_tunn_configure()
Dqed.h185 struct qed_tunn_update_udp_port vxlan_port; member
Dqed_vf.h479 u16 vxlan_port; member
/Linux-v5.4/drivers/net/ethernet/emulex/benet/
Dbe_main.c3975 struct be_vxlan_port *vxlan_port; in be_enable_vxlan_offloads() local
3979 vxlan_port = list_first_entry(&adapter->vxlan_port_list, in be_enable_vxlan_offloads()
3981 port = vxlan_port->port; in be_enable_vxlan_offloads()
3996 adapter->vxlan_port = port; in be_enable_vxlan_offloads()
4015 if (adapter->vxlan_port) in be_disable_vxlan_offloads()
4019 adapter->vxlan_port = 0; in be_disable_vxlan_offloads()
5077 __be16 port = cmd_work->info.vxlan_port; in be_work_add_vxlan_port()
5078 struct be_vxlan_port *vxlan_port; in be_work_add_vxlan_port() local
5082 list_for_each_entry(vxlan_port, &adapter->vxlan_port_list, list) { in be_work_add_vxlan_port()
5083 if (vxlan_port->port == port) { in be_work_add_vxlan_port()
[all …]
Dbe.h657 __be16 vxlan_port; /* offloaded vxlan port num */ member
684 __be16 vxlan_port; member
/Linux-v5.4/include/linux/qed/
Dqed_eth_if.h193 u16 vxlan_port; member
202 void (*ports_update)(void *dev, u16 vxlan_port, u16 geneve_port);
/Linux-v5.4/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c380 port = list_first_entry_or_null(&interface->vxlan_port, in fm10k_free_udp_port_info()
385 port = list_first_entry_or_null(&interface->vxlan_port, in fm10k_free_udp_port_info()
396 port = list_first_entry_or_null(&interface->vxlan_port, in fm10k_free_udp_port_info()
417 port = list_first_entry_or_null(&interface->vxlan_port, in fm10k_restore_udp_port_info()
490 fm10k_insert_tunnel_port(&interface->vxlan_port, ti); in fm10k_udp_tunnel_add()
522 port = fm10k_remove_tunnel_port(&interface->vxlan_port, ti); in fm10k_udp_tunnel_del()
Dfm10k_main.c641 struct fm10k_udp_port *vxlan_port; in fm10k_port_is_vxlan() local
644 vxlan_port = list_first_entry_or_null(&interface->vxlan_port, in fm10k_port_is_vxlan()
647 if (!vxlan_port) in fm10k_port_is_vxlan()
649 if (vxlan_port->port != udp_hdr(skb)->dest) in fm10k_port_is_vxlan()
Dfm10k.h373 struct list_head vxlan_port; member
/Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_init.c1033 u16 port = adapter->ahw->vxlan_port; in qlcnic_set_vxlan_port()
1063 u16 vxlan_port = adapter->ahw->vxlan_port; in qlcnic_set_vxlan_parsing() local
1081 state ? "enable" : "disable", vxlan_port); in qlcnic_set_vxlan_parsing()
1085 state ? "Enabled" : "Disabled", vxlan_port); in qlcnic_set_vxlan_parsing()
1109 adapter->ahw->vxlan_port = 0; in qlcnic_83xx_periodic_tasks()
Dqlcnic_main.c490 ahw->vxlan_port = ntohs(ti->port); in qlcnic_add_vxlan_port()
494 if (ahw->vxlan_port == ntohs(ti->port)) in qlcnic_add_vxlan_port()
509 (ahw->vxlan_port != ntohs(ti->port))) in qlcnic_del_vxlan_port()
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c560 void qede_udp_ports_update(void *dev, u16 vxlan_port, u16 geneve_port) in qede_udp_ports_update() argument
564 if (edev->vxlan_dst_port != vxlan_port) in qede_udp_ports_update()
999 tunn_params.vxlan_port = t_port; in qede_udp_tunnel_add()
1059 tunn_params.vxlan_port = 0; in qede_udp_tunnel_del()
Dqede.h531 void qede_udp_ports_update(void *dev, u16 vxlan_port, u16 geneve_port);
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c2646 ret = mlx4_config_vxlan_port(priv->mdev->dev, priv->vxlan_port); in mlx4_en_add_vxlan_offloads()
2669 priv->vxlan_port = 0; in mlx4_en_del_vxlan_offloads()
2688 current_port = priv->vxlan_port; in mlx4_en_add_vxlan_port()
2695 priv->vxlan_port = port; in mlx4_en_add_vxlan_port()
2715 current_port = priv->vxlan_port; in mlx4_en_del_vxlan_port()
2739 if (!priv->vxlan_port || in mlx4_en_features_check()
2741 (udp_hdr(skb)->dest != priv->vxlan_port)) in mlx4_en_features_check()
Dmlx4_en.h641 __be16 vxlan_port; member
/Linux-v5.4/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c940 pdata->vxlan_port = 0; in xgbe_disable_vxlan_hw()
987 pdata->vxlan_port = be16_to_cpu(vdata->port); in xgbe_enable_vxlan_hw()
2470 if (pdata->vxlan_port == be16_to_cpu(vdata->port)) in xgbe_udp_tunnel_del()
2473 pdata->vxlan_port = be16_to_cpu(vdata->port); in xgbe_udp_tunnel_del()
Dxgbe.h1181 u16 vxlan_port; member
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h630 __be16 vxlan_port; member
Dixgbe_main.c5025 adapter->vxlan_port = 0; in ixgbe_clear_udp_tunnel_port()
8384 if (adapter->vxlan_port && in ixgbe_atr()
8385 udp_hdr(skb)->dest == adapter->vxlan_port) in ixgbe_atr()
9814 if (adapter->vxlan_port == port) in ixgbe_add_udp_tunnel_port()
9817 if (adapter->vxlan_port) { in ixgbe_add_udp_tunnel_port()
9820 ntohs(adapter->vxlan_port), in ixgbe_add_udp_tunnel_port()
9825 adapter->vxlan_port = port; in ixgbe_add_udp_tunnel_port()
9876 if (adapter->vxlan_port != ti->port) { in ixgbe_del_udp_tunnel_port()
/Linux-v5.4/drivers/net/ethernet/cavium/liquidio/
Dlio_vf_main.c1743 u16 vxlan_port, u8 vxlan_cmd_bit) in liquidio_vxlan_port_command() argument
1755 nctrl.ncmd.s.param1 = vxlan_port; in liquidio_vxlan_port_command()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c3226 adapter->vxlan_port != ti->port) in cxgb_del_udp_tunnel()
3233 adapter->vxlan_port = 0; in cxgb_del_udp_tunnel()
3292 adapter->vxlan_port == ti->port) { in cxgb_add_udp_tunnel()
3300 be16_to_cpu(adapter->vxlan_port), in cxgb_add_udp_tunnel()
3305 adapter->vxlan_port = ti->port; in cxgb_add_udp_tunnel()

12