Searched defs:ib_spec (Results 1 - 2 of 2) sorted by relevance
/drivers/infiniband/core/ |
H A D | uverbs_cmd.c | 2693 union ib_flow_spec *ib_spec) 2698 ib_spec->type = kern_spec->type; 2700 switch (ib_spec->type) { 2702 ib_spec->eth.size = sizeof(struct ib_flow_spec_eth); 2703 if (ib_spec->eth.size != kern_spec->eth.size) 2705 memcpy(&ib_spec->eth.val, &kern_spec->eth.val, 2707 memcpy(&ib_spec->eth.mask, &kern_spec->eth.mask, 2711 ib_spec->ipv4.size = sizeof(struct ib_flow_spec_ipv4); 2712 if (ib_spec->ipv4.size != kern_spec->ipv4.size) 2714 memcpy(&ib_spec 2692 kern_spec_to_ib_spec(struct ib_uverbs_flow_spec *kern_spec, union ib_flow_spec *ib_spec) argument 2748 void *ib_spec; local [all...] |
/drivers/infiniband/hw/mlx4/ |
H A D | main.c | 853 union ib_flow_spec *ib_spec, 858 switch (ib_spec->type) { 861 memcpy(mlx4_spec->eth.dst_mac, ib_spec->eth.val.dst_mac, 863 memcpy(mlx4_spec->eth.dst_mac_msk, ib_spec->eth.mask.dst_mac, 865 mlx4_spec->eth.vlan_tag = ib_spec->eth.val.vlan_tag; 866 mlx4_spec->eth.vlan_tag_msk = ib_spec->eth.mask.vlan_tag; 879 mlx4_spec->ipv4.src_ip = ib_spec->ipv4.val.src_ip; 880 mlx4_spec->ipv4.src_ip_msk = ib_spec->ipv4.mask.src_ip; 881 mlx4_spec->ipv4.dst_ip = ib_spec->ipv4.val.dst_ip; 882 mlx4_spec->ipv4.dst_ip_msk = ib_spec 851 parse_flow_attr(struct mlx4_dev *dev, u32 qp_num, union ib_flow_spec *ib_spec, struct _rule_hw *mlx4_spec) argument 986 union ib_flow_spec ib_spec; local 1113 union ib_flow_spec *ib_spec; local 2409 struct ib_flow_spec_ib *ib_spec; local [all...] |
Completed in 60 milliseconds