Searched refs:flow_spec (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| A D | otx2_tc.c | 488 flow_spec->tos = match.key->tos; in otx2_tc_prepare_flow() 527 flow_spec->ip4dst = match.key->dst; in otx2_tc_prepare_flow() 531 flow_spec->ip4src = match.key->src; in otx2_tc_prepare_flow() 547 memcpy(&flow_spec->ip6dst, in otx2_tc_prepare_flow() 549 sizeof(flow_spec->ip6dst)); in otx2_tc_prepare_flow() 552 sizeof(flow_spec->ip6dst)); in otx2_tc_prepare_flow() 557 memcpy(&flow_spec->ip6src, in otx2_tc_prepare_flow() 559 sizeof(flow_spec->ip6src)); in otx2_tc_prepare_flow() 562 sizeof(flow_spec->ip6src)); in otx2_tc_prepare_flow() 572 flow_spec->dport = match.key->dst; in otx2_tc_prepare_flow() [all …]
|
| A D | otx2_flows.c | 18 struct ethtool_rx_flow_spec flow_spec; member 457 nfc->fs = iter->flow_spec; in otx2_get_flow() 901 u64 ring_cookie = flow->flow_spec.ring_cookie; in otx2_add_flow_msg() 930 if (flow->flow_spec.flow_type & FLOW_RSS) { in otx2_add_flow_msg() 971 memcpy(&pf_mac->flow_spec, &flow->flow_spec, in otx2_add_flow_with_pfmac() 976 eth_hdr = &pf_mac->flow_spec.h_u.ether_spec; in otx2_add_flow_with_pfmac() 1025 flow->flow_spec = *fsp; in otx2_add_flow() 1031 eth_hdr = &flow->flow_spec.h_u.ether_spec; in otx2_add_flow() 1059 flow->flow_spec.location = fsp->location; in otx2_add_flow() 1124 eth_hdr = &iter->flow_spec.h_u.ether_spec; in otx2_update_rem_pfmac() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | en_fs_ethtool.c | 47 struct ethtool_rx_flow_spec flow_spec; member 389 if (iter->flow_spec.location > rule->flow_spec.location) in add_rule_to_list() 521 if (iter->flow_spec.location == location) in find_ethtool_rule() 743 eth_rule->flow_spec = *fs; in mlx5e_ethtool_flow_replace() 797 if (eth_rule->flow_spec.location != location) in mlx5e_ethtool_get_flow() 801 info->fs = eth_rule->flow_spec; in mlx5e_ethtool_get_flow()
|
| /linux/drivers/infiniband/hw/mlx5/ |
| A D | fs.c | 562 union ib_flow_spec *flow_spec; in flow_is_multicast_only() local 568 flow_spec = (union ib_flow_spec *)(ib_attr + 1); in flow_is_multicast_only() 569 if (flow_spec->type == IB_FLOW_SPEC_IPV4) { in flow_is_multicast_only() 572 ipv4_spec = (struct ib_flow_spec_ipv4 *)flow_spec; in flow_is_multicast_only() 579 if (flow_spec->type == IB_FLOW_SPEC_ETH) { in flow_is_multicast_only() 582 eth_spec = (struct ib_flow_spec_eth *)flow_spec; in flow_is_multicast_only()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| A D | en_ethtool.c | 1660 memset(&loc_rule->flow_spec, 0, in mlx4_en_flow_replace() 1671 memcpy(&loc_rule->flow_spec, &cmd->fs, in mlx4_en_flow_replace() 1706 memset(&rule->flow_spec, 0, sizeof(struct ethtool_rx_flow_spec)); in mlx4_en_flow_detach() 1725 memcpy(&cmd->fs, &rule->flow_spec, in mlx4_en_get_flow()
|
| A D | mlx4_en.h | 493 struct ethtool_rx_flow_spec flow_spec; member
|
Completed in 24 milliseconds