Lines Matching +full:existing +full:- +full:parts

1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright 2005-2006 Fen Systems Ltd.
5 * Copyright 2006-2013 Solarflare Communications Inc.
51 if (channel->rx_pkt_n_frags) in ef4_rx_flush_packet()
63 /* Maximum number of TCP segments we support for soft-TSO */
75 return efx->rss_spread > 1; in ef4_rss_enabled()
83 * ef4_filter_insert_filter - add or replace a filter
87 * existing filter with equal priority
92 * If existing filters have equal match values to the new filter spec,
96 * 1. If the existing filters have lower priority, or @replace_equal
99 * 2. If the existing filters have higher priority, return -%EPERM.
102 * support delivery to multiple recipients, return -%EEXIST.
111 return efx->type->filter_insert(efx, spec, replace_equal); in ef4_filter_insert_filter()
115 * ef4_filter_remove_id_safe - remove a filter by ID, carefully
120 * This function will range-check @filter_id, so it is safe to call
127 return efx->type->filter_remove_safe(efx, priority, filter_id); in ef4_filter_remove_id_safe()
131 * ef4_filter_get_filter_safe - retrieve a filter by ID, carefully
137 * This function will range-check @filter_id, so it is safe to call
145 return efx->type->filter_get_safe(efx, priority, filter_id, spec); in ef4_filter_get_filter_safe()
151 return efx->type->filter_count_rx_used(efx, priority); in ef4_filter_count_rx_used()
155 return efx->type->filter_get_rx_id_limit(efx); in ef4_filter_get_rx_id_limit()
161 return efx->type->filter_get_rx_ids(efx, priority, buf, size); in ef4_filter_get_rx_ids()
169 if (channel->rfs_filters_added >= 60 && in ef4_filter_rfs_expire()
170 __ef4_filter_rfs_expire(channel->efx, 100)) in ef4_filter_rfs_expire()
171 channel->rfs_filters_added -= 60; in ef4_filter_rfs_expire()
219 int ef4_mtd_add(struct ef4_nic *efx, struct ef4_mtd_partition *parts,
223 return efx->type->mtd_probe(efx); in ef4_mtd_probe()
235 netif_vdbg(channel->efx, intr, channel->efx->net_dev, in ef4_schedule_channel()
237 channel->channel, raw_smp_processor_id()); in ef4_schedule_channel()
239 napi_schedule(&channel->napi_str); in ef4_schedule_channel()
244 channel->event_test_cpu = raw_smp_processor_id(); in ef4_schedule_channel_irq()
254 struct net_device *dev = efx->net_dev; in ef4_device_detach_sync()