Home
last modified time | relevance | path

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

/linux-6.1.9/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.c1533 spec_l4->tcp_udp.src_port = cmd->fs.h_u.tcp_ip4_spec.psrc; in add_tcp_udp_rule()
1534 spec_l4->tcp_udp.dst_port = cmd->fs.h_u.tcp_ip4_spec.pdst; in add_tcp_udp_rule()
1545 spec_l4->tcp_udp.src_port = cmd->fs.h_u.udp_ip4_spec.psrc; in add_tcp_udp_rule()
1546 spec_l4->tcp_udp.dst_port = cmd->fs.h_u.udp_ip4_spec.pdst; in add_tcp_udp_rule()
1555 spec_l4->tcp_udp.src_port_msk = EN_ETHTOOL_SHORT_MASK; in add_tcp_udp_rule()
1557 spec_l4->tcp_udp.dst_port_msk = EN_ETHTOOL_SHORT_MASK; in add_tcp_udp_rule()
Den_netdev.c208 .tcp_udp = { in mlx4_en_filter_work()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dfs.c362 if (FIELDS_NOT_SUPPORTED(ib_spec->tcp_udp.mask, in parse_flow_attr()
370 ntohs(ib_spec->tcp_udp.mask.src_port)); in parse_flow_attr()
372 ntohs(ib_spec->tcp_udp.val.src_port)); in parse_flow_attr()
375 ntohs(ib_spec->tcp_udp.mask.dst_port)); in parse_flow_attr()
377 ntohs(ib_spec->tcp_udp.val.dst_port)); in parse_flow_attr()
380 if (FIELDS_NOT_SUPPORTED(ib_spec->tcp_udp.mask, in parse_flow_attr()
388 ntohs(ib_spec->tcp_udp.mask.src_port)); in parse_flow_attr()
390 ntohs(ib_spec->tcp_udp.val.src_port)); in parse_flow_attr()
393 ntohs(ib_spec->tcp_udp.mask.dst_port)); in parse_flow_attr()
395 ntohs(ib_spec->tcp_udp.val.dst_port)); in parse_flow_attr()
/linux-6.1.9/drivers/infiniband/core/
Duverbs.h264 struct ib_uverbs_flow_spec_tcp_udp tcp_udp; member
Duverbs_cmd.c2779 memcpy(&ib_spec->tcp_udp.val, kern_spec_val, actual_filter_sz); in ib_uverbs_kern_spec_to_ib_spec_filter()
2780 memcpy(&ib_spec->tcp_udp.mask, kern_spec_mask, actual_filter_sz); in ib_uverbs_kern_spec_to_ib_spec_filter()
/linux-6.1.9/drivers/infiniband/hw/mlx4/
Dmain.c1386 if (FIELDS_NOT_SUPPORTED(ib_spec->tcp_udp.mask, LAST_TCP_UDP_FIELD)) in parse_flow_attr()
1392 mlx4_spec->tcp_udp.dst_port = ib_spec->tcp_udp.val.dst_port; in parse_flow_attr()
1393 mlx4_spec->tcp_udp.dst_port_msk = ib_spec->tcp_udp.mask.dst_port; in parse_flow_attr()
1394 mlx4_spec->tcp_udp.src_port = ib_spec->tcp_udp.val.src_port; in parse_flow_attr()
1395 mlx4_spec->tcp_udp.src_port_msk = ib_spec->tcp_udp.mask.src_port; in parse_flow_attr()
/linux-6.1.9/drivers/net/ethernet/mscc/
Docelot_vcap.c718 enum ocelot_vcap_bit tcp_udp = OCELOT_VCAP_BIT_0; in is1_entry_set() local
736 tcp_udp = OCELOT_VCAP_BIT_1; in is1_entry_set()
737 vcap_key_bit_set(vcap, &data, VCAP_IS1_HK_TCP_UDP, tcp_udp); in is1_entry_set()
739 if (tcp_udp) { in is1_entry_set()
/linux-6.1.9/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-6.1.9/include/rdma/
Dib_verbs.h2076 struct ib_flow_spec_tcp_udp tcp_udp; member