Home
last modified time | relevance | path

Searched refs:ip_entry (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/sfc/
H A Dethtool_common.c648 struct ethtool_tcpip4_spec *ip_entry = &rule->h_u.tcp_ip4_spec; in efx_ethtool_get_class_rule() local
683 ip_entry->ip4dst = spec.loc_host[0]; in efx_ethtool_get_class_rule()
687 ip_entry->ip4src = spec.rem_host[0]; in efx_ethtool_get_class_rule()
691 ip_entry->pdst = spec.loc_port; in efx_ethtool_get_class_rule()
695 ip_entry->psrc = spec.rem_port; in efx_ethtool_get_class_rule()
920 struct ethtool_tcpip4_spec *ip_entry = &rule->h_u.tcp_ip4_spec; in efx_ethtool_set_class_rule() local
974 spec.loc_host[0] = ip_entry->ip4dst; in efx_ethtool_set_class_rule()
980 spec.rem_host[0] = ip_entry->ip4src; in efx_ethtool_set_class_rule()
986 spec.loc_port = ip_entry->pdst; in efx_ethtool_set_class_rule()
992 spec.rem_port = ip_entry->psrc; in efx_ethtool_set_class_rule()
/openbmc/linux/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c795 struct ethtool_tcpip4_spec *ip_entry = &rule->h_u.tcp_ip4_spec; in ef4_ethtool_get_class_rule() local
830 ip_entry->ip4dst = spec.loc_host[0]; in ef4_ethtool_get_class_rule()
834 ip_entry->ip4src = spec.rem_host[0]; in ef4_ethtool_get_class_rule()
838 ip_entry->pdst = spec.loc_port; in ef4_ethtool_get_class_rule()
842 ip_entry->psrc = spec.rem_port; in ef4_ethtool_get_class_rule()
1031 struct ethtool_tcpip4_spec *ip_entry = &rule->h_u.tcp_ip4_spec; in ef4_ethtool_set_class_rule() local
1076 spec.loc_host[0] = ip_entry->ip4dst; in ef4_ethtool_set_class_rule()
1082 spec.rem_host[0] = ip_entry->ip4src; in ef4_ethtool_set_class_rule()
1088 spec.loc_port = ip_entry->pdst; in ef4_ethtool_set_class_rule()
1094 spec.rem_port = ip_entry->psrc; in ef4_ethtool_set_class_rule()
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.c648 struct ethtool_tcpip4_spec *ip_entry = &rule->h_u.tcp_ip4_spec; in efx_ethtool_get_class_rule() local
683 ip_entry->ip4dst = spec.loc_host[0]; in efx_ethtool_get_class_rule()
687 ip_entry->ip4src = spec.rem_host[0]; in efx_ethtool_get_class_rule()
691 ip_entry->pdst = spec.loc_port; in efx_ethtool_get_class_rule()
695 ip_entry->psrc = spec.rem_port; in efx_ethtool_get_class_rule()
921 struct ethtool_tcpip4_spec *ip_entry = &rule->h_u.tcp_ip4_spec; in efx_ethtool_set_class_rule() local
975 spec.loc_host[0] = ip_entry->ip4dst; in efx_ethtool_set_class_rule()
981 spec.rem_host[0] = ip_entry->ip4src; in efx_ethtool_set_class_rule()
987 spec.loc_port = ip_entry->pdst; in efx_ethtool_set_class_rule()
993 spec.rem_port = ip_entry->psrc; in efx_ethtool_set_class_rule()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dtunnel_conf.c1543 struct nfp_ipv4_addr_entry *ip_entry; in nfp_tunnel_config_stop() local
1552 ip_entry = list_entry(ptr, struct nfp_ipv4_addr_entry, list); in nfp_tunnel_config_stop()
1553 list_del(&ip_entry->list); in nfp_tunnel_config_stop()
1554 kfree(ip_entry); in nfp_tunnel_config_stop()