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.
23 return INDIRECT_CALL_1(tx_queue->efx->type->tx_enqueue, in efx_enqueue_skb()
35 if (channel->rx_pkt_n_frags) in efx_rx_flush_packet()
39 /* Maximum number of TCP segments we support for soft-TSO */
57 return efx->rss_spread > 1; in efx_rss_enabled()
63 * efx_filter_insert_filter - add or replace a filter
67 * existing filter with equal priority
72 * If existing filters have equal match values to the new filter spec,
76 * 1. If the existing filters have lower priority, or @replace_equal
79 * 2. If the existing filters have higher priority, return -%EPERM.
82 * support delivery to multiple recipients, return -%EEXIST.
91 return efx->type->filter_insert(efx, spec, replace_equal); in efx_filter_insert_filter()
95 * efx_filter_remove_id_safe - remove a filter by ID, carefully
100 * This function will range-check @filter_id, so it is safe to call
107 return efx->type->filter_remove_safe(efx, priority, filter_id); in efx_filter_remove_id_safe()
111 * efx_filter_get_filter_safe - retrieve a filter by ID, carefully
117 * This function will range-check @filter_id, so it is safe to call
125 return efx->type->filter_get_safe(efx, priority, filter_id, spec); in efx_filter_get_filter_safe()
131 return efx->type->filter_count_rx_used(efx, priority); in efx_filter_count_rx_used()
135 return efx->type->filter_get_rx_id_limit(efx); in efx_filter_get_rx_id_limit()
141 return efx->type->filter_get_rx_ids(efx, priority, buf, size); in efx_filter_get_rx_ids()
147 return ctx->context_id != EFX_MCDI_RSS_CONTEXT_INVALID; in efx_rss_active()
166 int efx_siena_mtd_add(struct efx_nic *efx, struct efx_mtd_partition *parts,
170 return efx->type->mtd_probe(efx); in efx_mtd_probe()
183 return 1 << efx->vi_scale; in efx_vf_size()
189 struct net_device *dev = efx->net_dev; in efx_device_detach_sync()
202 if ((efx->state != STATE_DISABLED) && !efx->reset_pending) in efx_device_attach_if_not_resetting()
203 netif_device_attach(efx->net_dev); in efx_device_attach_if_not_resetting()