Home
last modified time | relevance | path

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

/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()
/drivers/infiniband/hw/mlx5/
Dfs.c361 if (FIELDS_NOT_SUPPORTED(ib_spec->tcp_udp.mask, in parse_flow_attr()
369 ntohs(ib_spec->tcp_udp.mask.src_port)); in parse_flow_attr()
371 ntohs(ib_spec->tcp_udp.val.src_port)); in parse_flow_attr()
374 ntohs(ib_spec->tcp_udp.mask.dst_port)); in parse_flow_attr()
376 ntohs(ib_spec->tcp_udp.val.dst_port)); in parse_flow_attr()
379 if (FIELDS_NOT_SUPPORTED(ib_spec->tcp_udp.mask, in parse_flow_attr()
387 ntohs(ib_spec->tcp_udp.mask.src_port)); in parse_flow_attr()
389 ntohs(ib_spec->tcp_udp.val.src_port)); in parse_flow_attr()
392 ntohs(ib_spec->tcp_udp.mask.dst_port)); in parse_flow_attr()
394 ntohs(ib_spec->tcp_udp.val.dst_port)); in parse_flow_attr()
/drivers/infiniband/core/
Duverbs.h264 struct ib_uverbs_flow_spec_tcp_udp tcp_udp; member
Duverbs_cmd.c2784 memcpy(&ib_spec->tcp_udp.val, kern_spec_val, actual_filter_sz); in ib_uverbs_kern_spec_to_ib_spec_filter()
2785 memcpy(&ib_spec->tcp_udp.mask, kern_spec_mask, actual_filter_sz); in ib_uverbs_kern_spec_to_ib_spec_filter()
/drivers/infiniband/hw/mlx4/
Dmain.c1390 if (FIELDS_NOT_SUPPORTED(ib_spec->tcp_udp.mask, LAST_TCP_UDP_FIELD)) in parse_flow_attr()
1396 mlx4_spec->tcp_udp.dst_port = ib_spec->tcp_udp.val.dst_port; in parse_flow_attr()
1397 mlx4_spec->tcp_udp.dst_port_msk = ib_spec->tcp_udp.mask.dst_port; in parse_flow_attr()
1398 mlx4_spec->tcp_udp.src_port = ib_spec->tcp_udp.val.src_port; in parse_flow_attr()
1399 mlx4_spec->tcp_udp.src_port_msk = ib_spec->tcp_udp.mask.src_port; in parse_flow_attr()
/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()