Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/mellanox/mlx4/
Dmcg.c880 rule_hw->tcp_udp.dst_port = spec->tcp_udp.dst_port; in parse_trans_rule()
881 rule_hw->tcp_udp.dst_port_msk = spec->tcp_udp.dst_port_msk; in parse_trans_rule()
882 rule_hw->tcp_udp.src_port = spec->tcp_udp.src_port; in parse_trans_rule()
883 rule_hw->tcp_udp.src_port_msk = spec->tcp_udp.src_port_msk; in parse_trans_rule()
941 if (cur->tcp_udp.src_port) in mlx4_err_rule()
944 be16_to_cpu(cur->tcp_udp.src_port)); in mlx4_err_rule()
945 if (cur->tcp_udp.dst_port) in mlx4_err_rule()
948 be16_to_cpu(cur->tcp_udp.dst_port)); in mlx4_err_rule()
Den_ethtool.c1526 spec_l4->tcp_udp.src_port = cmd->fs.h_u.tcp_ip4_spec.psrc; in add_tcp_udp_rule()
1527 spec_l4->tcp_udp.dst_port = cmd->fs.h_u.tcp_ip4_spec.pdst; in add_tcp_udp_rule()
1538 spec_l4->tcp_udp.src_port = cmd->fs.h_u.udp_ip4_spec.psrc; in add_tcp_udp_rule()
1539 spec_l4->tcp_udp.dst_port = cmd->fs.h_u.udp_ip4_spec.pdst; in add_tcp_udp_rule()
1548 spec_l4->tcp_udp.src_port_msk = EN_ETHTOOL_SHORT_MASK; in add_tcp_udp_rule()
1550 spec_l4->tcp_udp.dst_port_msk = EN_ETHTOOL_SHORT_MASK; in add_tcp_udp_rule()
Den_netdev.c207 .tcp_udp = { in mlx4_en_filter_work()
/Linux-v5.15/drivers/infiniband/hw/mlx5/
Dfs.c378 if (FIELDS_NOT_SUPPORTED(ib_spec->tcp_udp.mask, in parse_flow_attr()
386 ntohs(ib_spec->tcp_udp.mask.src_port)); in parse_flow_attr()
388 ntohs(ib_spec->tcp_udp.val.src_port)); in parse_flow_attr()
391 ntohs(ib_spec->tcp_udp.mask.dst_port)); in parse_flow_attr()
393 ntohs(ib_spec->tcp_udp.val.dst_port)); in parse_flow_attr()
396 if (FIELDS_NOT_SUPPORTED(ib_spec->tcp_udp.mask, in parse_flow_attr()
404 ntohs(ib_spec->tcp_udp.mask.src_port)); in parse_flow_attr()
406 ntohs(ib_spec->tcp_udp.val.src_port)); in parse_flow_attr()
409 ntohs(ib_spec->tcp_udp.mask.dst_port)); in parse_flow_attr()
411 ntohs(ib_spec->tcp_udp.val.dst_port)); in parse_flow_attr()
/Linux-v5.15/drivers/infiniband/core/
Duverbs.h264 struct ib_uverbs_flow_spec_tcp_udp tcp_udp; member
Duverbs_cmd.c2780 memcpy(&ib_spec->tcp_udp.val, kern_spec_val, actual_filter_sz); in ib_uverbs_kern_spec_to_ib_spec_filter()
2781 memcpy(&ib_spec->tcp_udp.mask, kern_spec_mask, actual_filter_sz); in ib_uverbs_kern_spec_to_ib_spec_filter()
/Linux-v5.15/drivers/infiniband/hw/mlx4/
Dmain.c1394 if (FIELDS_NOT_SUPPORTED(ib_spec->tcp_udp.mask, LAST_TCP_UDP_FIELD)) in parse_flow_attr()
1400 mlx4_spec->tcp_udp.dst_port = ib_spec->tcp_udp.val.dst_port; in parse_flow_attr()
1401 mlx4_spec->tcp_udp.dst_port_msk = ib_spec->tcp_udp.mask.dst_port; in parse_flow_attr()
1402 mlx4_spec->tcp_udp.src_port = ib_spec->tcp_udp.val.src_port; in parse_flow_attr()
1403 mlx4_spec->tcp_udp.src_port_msk = ib_spec->tcp_udp.mask.src_port; in parse_flow_attr()
/Linux-v5.15/drivers/net/ethernet/mscc/
Docelot_vcap.c720 enum ocelot_vcap_bit tcp_udp = OCELOT_VCAP_BIT_0; in is1_entry_set() local
738 tcp_udp = OCELOT_VCAP_BIT_1; in is1_entry_set()
739 vcap_key_bit_set(vcap, &data, VCAP_IS1_HK_TCP_UDP, tcp_udp); in is1_entry_set()
741 if (tcp_udp) { in is1_entry_set()
/Linux-v5.15/include/linux/mlx4/
Ddevice.h1244 struct mlx4_spec_tcp_udp tcp_udp; member
1351 struct mlx4_net_trans_rule_hw_tcp_udp tcp_udp; member
/Linux-v5.15/include/rdma/
Dib_verbs.h2057 struct ib_flow_spec_tcp_udp tcp_udp; member