Home
last modified time | relevance | path

Searched refs:dst_port (Results 1 – 25 of 63) sorted by relevance

123

/drivers/thunderbolt/
Dtunnel.c48 tb_route(__tunnel->dst_port->sw), \
49 __tunnel->dst_port->port, \
94 if (tb_port_is_pcie_up(tunnel->dst_port)) in tb_pci_activate()
95 return tb_pci_port_enable(tunnel->dst_port, activate); in tb_pci_activate()
162 &tunnel->dst_port, "PCIe Up"); in tb_tunnel_discover_pci()
171 path = tb_path_discover(tunnel->dst_port, -1, down, TB_PCI_HOPID, NULL, in tb_tunnel_discover_pci()
179 if (!tb_port_is_pcie_up(tunnel->dst_port)) { in tb_tunnel_discover_pci()
180 tb_port_warn(tunnel->dst_port, in tb_tunnel_discover_pci()
190 if (!tb_pci_port_is_enabled(tunnel->dst_port)) { in tb_tunnel_discover_pci()
230 tunnel->dst_port = up; in tb_tunnel_alloc_pci()
[all …]
Dtb.c135 struct tb_switch *parent = tunnel->dst_port->sw; in tb_discover_tunnels()
144 pm_runtime_get_sync(&tunnel->dst_port->sw->dev); in tb_discover_tunnels()
258 struct tb_port *dst_port) in tb_find_tunnel() argument
266 (dst_port && dst_port == tunnel->dst_port))) { in tb_find_tunnel()
276 struct tb_port *dst_port) in tb_find_first_usb3_tunnel() argument
282 if (dst_port->sw->config.depth > src_port->sw->config.depth) in tb_find_first_usb3_tunnel()
283 sw = dst_port->sw; in tb_find_first_usb3_tunnel()
302 struct tb_port *dst_port, int *available_up, int *available_down) in tb_available_bandwidth() argument
309 tb_port_dbg(dst_port, "calculating available bandwidth\n"); in tb_available_bandwidth()
311 tunnel = tb_find_first_usb3_tunnel(tb, src_port, dst_port); in tb_available_bandwidth()
[all …]
Dtest.c298 struct tb_port *src_port, *dst_port, *p; in tb_test_path_basic() local
304 dst_port = src_port; in tb_test_path_basic()
306 p = tb_next_port_on_path(src_port, dst_port, NULL); in tb_test_path_basic()
307 KUNIT_EXPECT_PTR_EQ(test, p, dst_port); in tb_test_path_basic()
309 p = tb_next_port_on_path(src_port, dst_port, p); in tb_test_path_basic()
315 struct tb_port *src_port, *dst_port, *p; in tb_test_path_not_connected_walk() local
323 dst_port = &dev->ports[16]; in tb_test_path_not_connected_walk()
325 p = tb_next_port_on_path(src_port, dst_port, NULL); in tb_test_path_not_connected_walk()
328 p = tb_next_port_on_path(src_port, dst_port, p); in tb_test_path_not_connected_walk()
331 p = tb_next_port_on_path(src_port, dst_port, p); in tb_test_path_not_connected_walk()
[all …]
Dtunnel.h46 struct tb_port *dst_port; member
/drivers/net/ethernet/intel/ice/
Dice_fdir.c582 input->ip.v4.dst_port); in ice_fdir_get_gen_prgm_pkt()
594 input->ip.v4.dst_port); in ice_fdir_get_gen_prgm_pkt()
604 input->ip.v4.dst_port); in ice_fdir_get_gen_prgm_pkt()
621 input->ip.v6.dst_port); in ice_fdir_get_gen_prgm_pkt()
631 input->ip.v6.dst_port); in ice_fdir_get_gen_prgm_pkt()
641 input->ip.v6.dst_port); in ice_fdir_get_gen_prgm_pkt()
771 a->ip.v4.dst_port == b->ip.v4.dst_port && in ice_fdir_comp_rules()
787 if (a->ip.v6.dst_port == b->ip.v6.dst_port && in ice_fdir_comp_rules()
795 if (a->ip.v6.dst_port == b->ip.v6.dst_port && in ice_fdir_comp_rules()
Dice_ethtool_fdir.c157 fsp->h_u.tcp_ip4_spec.pdst = rule->ip.v4.dst_port; in ice_get_ethtool_fdir_entry()
161 fsp->m_u.tcp_ip4_spec.pdst = rule->mask.v4.dst_port; in ice_get_ethtool_fdir_entry()
189 fsp->h_u.tcp_ip6_spec.pdst = rule->ip.v6.dst_port; in ice_get_ethtool_fdir_entry()
197 fsp->m_u.tcp_ip6_spec.pdst = rule->mask.v6.dst_port; in ice_get_ethtool_fdir_entry()
639 enum ice_flow_field src_addr, dst_addr, src_port, dst_port; in ice_set_init_fdir_seg() local
656 dst_port = ICE_FLOW_FIELD_IDX_TCP_DST_PORT; in ice_set_init_fdir_seg()
659 dst_port = ICE_FLOW_FIELD_IDX_UDP_DST_PORT; in ice_set_init_fdir_seg()
679 ice_flow_set_fld(seg, dst_port, ICE_FLOW_FLD_OFF_INVAL, in ice_set_init_fdir_seg()
773 enum ice_flow_field src_port, dst_port; in ice_set_fdir_ip4_seg() local
786 dst_port = ICE_FLOW_FIELD_IDX_TCP_DST_PORT; in ice_set_fdir_ip4_seg()
[all …]
Dice_fdir.h82 __be16 dst_port; member
96 __be16 dst_port; member
Dice_arfs.c327 fltr_info->ip.v4.dst_port = fk->ports.dst; in ice_arfs_build_entry()
338 fltr_info->ip.v6.dst_port = fk->ports.dst; in ice_arfs_build_entry()
/drivers/net/ethernet/qlogic/qede/
Dqede_filter.c27 __be16 dst_port; member
198 ntohs(fltr->tuple.dst_port), fltr->rxq_id); in qede_arfs_filter_op()
389 __be16 src_port, __be16 dst_port, u8 ip_proto) in qede_arfs_htbl_key_search() argument
398 tpos->tuple.dst_port == dst_port) in qede_arfs_htbl_key_search()
499 n->tuple.dst_port = ports[1]; in qede_rx_flow_steer()
1358 fsp->h_u.tcp_ip4_spec.pdst = fltr->tuple.dst_port; in qede_get_cls_rule_entry()
1367 fsp->h_u.tcp_ip6_spec.pdst = fltr->tuple.dst_port; in qede_get_cls_rule_entry()
1453 ports[1] = t->dst_port; in qede_flow_build_ipv4_hdr()
1464 &t->dst_ipv4, t->dst_port); in qede_flow_stringify_ipv4_hdr()
1505 ports[1] = t->dst_port; in qede_flow_build_ipv6_hdr()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_vxlan.c65 int dst_port = be16_to_cpu(e->tun_info->key.tp_dst); in mlx5e_tc_tun_init_encap_attr_vxlan() local
69 if (!mlx5_vxlan_lookup_port(priv->mdev->vxlan, dst_port)) { in mlx5e_tc_tun_init_encap_attr_vxlan()
74 dst_port); in mlx5e_tc_tun_init_encap_attr_vxlan()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_arfs.c51 __be16 dst_port; member
412 __be16 dst_port) in arfs_hash_bucket() argument
418 ((__force unsigned long)dst_port << 2); in arfs_hash_bucket()
476 ntohs(tuple->dst_port)); in arfs_add_rule()
485 ntohs(tuple->dst_port)); in arfs_add_rule()
613 tuple->dst_port = fk->ports.dst; in arfs_alloc_rule()
620 tuple->dst_port)); in arfs_alloc_rule()
626 if (tuple->src_port != fk->ports.src || tuple->dst_port != fk->ports.dst) in arfs_cmp()
/drivers/staging/rtl8192u/ieee80211/
Drtl819x_TS.h41 u16 dst_port; member
55 u16 dst_port; member
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_model.h60 input->filter.formatted.dst_port = (__force __be16)(val >> 16); in ixgbe_mat_prgm_ports()
61 mask->formatted.dst_port = (__force __be16)(m >> 16); in ixgbe_mat_prgm_ports()
/drivers/net/vxlan/
Dvxlan_core.c320 rdst->remote_port != vxlan->cfg.dst_port && in vxlan_fdb_info()
1251 *port = vxlan->cfg.dst_port; in vxlan_fdb_parse()
1536 vxlan->cfg.dst_port, in vxlan_snoop()
2555 __be16 dst_port, int dst_ifindex, __be32 vni, in encap_bypass_if_local() argument
2573 daddr->sa.sa_family, dst_port, in encap_bypass_if_local()
2600 __be16 src_port = 0, dst_port; in vxlan_xmit_one() local
2624 dst_port = rdst->remote_port ? rdst->remote_port : vxlan->cfg.dst_port; in vxlan_xmit_one()
2662 dst_port = info->key.tp_dst ? : vxlan->cfg.dst_port; in vxlan_xmit_one()
2691 dst_port, src_port, in vxlan_xmit_one()
2701 dst_port, ifindex, vni, in vxlan_xmit_one()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dtls.c69 memcpy(MLX5_ADDR_OF(tls_flow, flow, dst_port), &inet->inet_dport, in mlx5e_tls_set_flow_tcp_ports()
70 MLX5_FLD_SZ_BYTES(tls_flow, dst_port)); in mlx5e_tls_set_flow_tcp_ports()
/drivers/scsi/qedi/
Dqedi_iscsi.c538 conn_info->dst.port = qedi_ep->dst_port; in qedi_iscsi_offload_conn()
564 conn_info->remote_port = qedi_ep->dst_port; in qedi_iscsi_offload_conn()
644 len = sprintf(buf, "%hu\n", qedi_ep->dst_port); in qedi_ep_get_param()
919 qedi_ep->dst_port = ntohs(addr->sin_port); in qedi_ep_connect()
923 qedi_ep->dst_addr, qedi_ep->dst_port); in qedi_ep_connect()
928 qedi_ep->dst_port = ntohs(addr6->sin6_port); in qedi_ep_connect()
932 qedi_ep->dst_addr, qedi_ep->dst_port); in qedi_ep_connect()
1331 qedi_ep->dst_addr, qedi_ep->dst_port); in qedi_set_path()
1342 qedi_ep->dst_addr, qedi_ep->dst_port); in qedi_set_path()
Dqedi_iscsi.h69 u16 dst_port; member
/drivers/media/platform/omap3isp/
Dispccp2.h52 u32 dst_port; member
/drivers/net/ethernet/netronome/nfp/crypto/
Dfw.h48 __be16 dst_port; member
/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c168 __be16 dst_port; member
208 .dst_port = filter->dst_port, in mlx4_en_filter_work()
274 __be16 src_port, __be16 dst_port) in filter_hash_bucket() argument
280 ((__force unsigned long)dst_port << 2); in filter_hash_bucket()
291 __be16 dst_port, u32 flow_id) in mlx4_en_filter_alloc() argument
307 filter->dst_port = dst_port; in mlx4_en_filter_alloc()
316 dst_port)); in mlx4_en_filter_alloc()
337 u8 ip_proto, __be16 src_port, __be16 dst_port) in mlx4_en_filter_find() argument
344 src_port, dst_port), in mlx4_en_filter_find()
350 filter->dst_port == dst_port) { in mlx4_en_filter_find()
[all …]
/drivers/infiniband/hw/usnic/
Dusnic_fwd.h125 filter->u.ipv4.dst_port = dport; in usnic_fwd_init_udp_filter()
/drivers/net/ethernet/mellanox/mlx5/core/accel/
Dtls.h114 u8 dst_port[0x10]; member
/drivers/net/wireless/intel/iwlwifi/fw/api/
Dd3.h283 __le16 dst_port; member
308 __le16 dst_port; member
/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c3484 if (mask.dst_port & data.dst_port) { in i40e_validate_cloud_filter()
3485 if (!data.dst_port) { in i40e_validate_cloud_filter()
3563 if (cfilter->dst_port) in i40e_del_all_cloud_filters()
3631 cfilter.dst_port = mask.dst_port & tcf.dst_port; in i40e_vc_del_cloud_filter()
3667 if (tcf.dst_port) in i40e_vc_del_cloud_filter()
3683 if (mask.dst_port) in i40e_vc_del_cloud_filter()
3684 if (cfilter.dst_port != cf->dst_port) in i40e_vc_del_cloud_filter()
3765 cfilter->dst_port = mask.dst_port & tcf.dst_port; in i40e_vc_add_cloud_filter()
3801 if (tcf.dst_port) in i40e_vc_add_cloud_filter()
/drivers/net/wireless/microchip/wilc1000/
Dnetdev.h159 u16 dst_port; member

123