Searched refs:flow_spec (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_tc.c | 461 static int otx2_tc_process_vlan(struct otx2_nic *nic, struct flow_msg *flow_spec, in otx2_tc_process_vlan() argument 504 flow_spec->vlan_itci = htons(vlan_tci); in otx2_tc_process_vlan() 508 flow_spec->vlan_tci = htons(vlan_tci); in otx2_tc_process_vlan() 522 struct flow_msg *flow_spec = &req->packet; in otx2_tc_prepare_flow() local 553 flow_spec->etype = match.key->n_proto; in otx2_tc_prepare_flow() 599 if (ntohs(flow_spec->etype) == ETH_P_IP) { in otx2_tc_prepare_flow() 600 flow_spec->ip_flag = IPV4_FLAG_MORE; in otx2_tc_prepare_flow() 603 } else if (ntohs(flow_spec->etype) == ETH_P_IPV6) { in otx2_tc_prepare_flow() 604 flow_spec->next_header = IPPROTO_FRAGMENT; in otx2_tc_prepare_flow() 624 ether_addr_copy(flow_spec in otx2_tc_prepare_flow() [all...] |
H A D | otx2_flows.c | 18 struct ethtool_rx_flow_spec flow_spec; member 499 nfc->fs = iter->flow_spec; in otx2_get_flow() 968 u64 ring_cookie = flow->flow_spec.ring_cookie; in otx2_add_flow_msg() 982 err = otx2_prepare_flow_request(&flow->flow_spec, req); in otx2_add_flow_msg() 1000 if (flow->flow_spec.flow_type & FLOW_RSS) { in otx2_add_flow_msg() 1065 memcpy(&pf_mac->flow_spec, &flow->flow_spec, in otx2_add_flow_with_pfmac() 1067 pf_mac->flow_spec.location = pf_mac->location; in otx2_add_flow_with_pfmac() 1070 eth_hdr = &pf_mac->flow_spec.h_u.ether_spec; in otx2_add_flow_with_pfmac() 1134 flow->flow_spec in otx2_add_flow() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_fs_ethtool.c | 40 struct ethtool_rx_flow_spec flow_spec; member 381 if (iter->flow_spec.location > rule->flow_spec.location) in add_rule_to_list() 473 if (iter->flow_spec.location == location) in find_ethtool_rule() 695 eth_rule->flow_spec = *fs; in mlx5e_ethtool_flow_replace() 747 if (eth_rule->flow_spec.location == location) { in mlx5e_ethtool_get_flow() 748 info->fs = eth_rule->flow_spec; in mlx5e_ethtool_get_flow()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_fs_ethtool.c | 63 struct ethtool_rx_flow_spec flow_spec; member 403 if (iter->flow_spec.location > rule->flow_spec.location) in add_rule_to_list() 529 if (iter->flow_spec.location == location) in find_ethtool_rule() 750 eth_rule->flow_spec = *fs; in mlx5e_ethtool_flow_replace() 802 if (eth_rule->flow_spec.location != location) in mlx5e_ethtool_get_flow() 806 info->fs = eth_rule->flow_spec; in mlx5e_ethtool_get_flow()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
H A D | fs.c | 560 union ib_flow_spec *flow_spec; in flow_is_multicast_only() local 566 flow_spec = (union ib_flow_spec *)(ib_attr + 1); in flow_is_multicast_only() 567 if (flow_spec->type == IB_FLOW_SPEC_IPV4) { in flow_is_multicast_only() 570 ipv4_spec = (struct ib_flow_spec_ipv4 *)flow_spec; in flow_is_multicast_only() 577 if (flow_spec->type == IB_FLOW_SPEC_ETH) { in flow_is_multicast_only() 580 eth_spec = (struct ib_flow_spec_eth *)flow_spec; in flow_is_multicast_only()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/ |
H A D | fs.c | 543 union ib_flow_spec *flow_spec; in flow_is_multicast_only() local 549 flow_spec = (union ib_flow_spec *)(ib_attr + 1); in flow_is_multicast_only() 550 if (flow_spec->type == IB_FLOW_SPEC_IPV4) { in flow_is_multicast_only() 553 ipv4_spec = (struct ib_flow_spec_ipv4 *)flow_spec; in flow_is_multicast_only() 560 if (flow_spec->type == IB_FLOW_SPEC_ETH) { in flow_is_multicast_only() 563 eth_spec = (struct ib_flow_spec_eth *)flow_spec; in flow_is_multicast_only()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_ethtool.c | 1653 memset(&loc_rule->flow_spec, 0, in mlx4_en_flow_replace() 1664 memcpy(&loc_rule->flow_spec, &cmd->fs, in mlx4_en_flow_replace() 1699 memset(&rule->flow_spec, 0, sizeof(struct ethtool_rx_flow_spec)); in mlx4_en_flow_detach() 1718 memcpy(&cmd->fs, &rule->flow_spec, in mlx4_en_get_flow()
|
H A D | mlx4_en.h | 509 struct ethtool_rx_flow_spec flow_spec; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_ethtool.c | 1664 memset(&loc_rule->flow_spec, 0, in mlx4_en_flow_replace() 1675 memcpy(&loc_rule->flow_spec, &cmd->fs, in mlx4_en_flow_replace() 1710 memset(&rule->flow_spec, 0, sizeof(struct ethtool_rx_flow_spec)); in mlx4_en_flow_detach() 1729 memcpy(&cmd->fs, &rule->flow_spec, in mlx4_en_get_flow()
|
H A D | mlx4_en.h | 503 struct ethtool_rx_flow_spec flow_spec; member
|
Completed in 24 milliseconds