ef10.c (06d07429858317ded2db7986113a9e0129cd599b) ef10.c (a9ee8d4a97d8ea0004615fe1f2c1ce6aff5c1a14)
1// SPDX-License-Identifier: GPL-2.0-only
2/****************************************************************************
3 * Driver for Solarflare network controllers and boards
4 * Copyright 2012-2013 Solarflare Communications Inc.
5 */
6
7#include "net_driver.h"
8#include "rx_common.h"

--- 1382 unchanged lines hidden (view full) ---

1391 unsigned int i;
1392#endif
1393
1394 /* All our allocations have been reset */
1395 efx->must_realloc_vis = true;
1396 efx_mcdi_filter_table_reset_mc_allocations(efx);
1397 nic_data->must_restore_piobufs = true;
1398 efx_ef10_forget_old_piobufs(efx);
1// SPDX-License-Identifier: GPL-2.0-only
2/****************************************************************************
3 * Driver for Solarflare network controllers and boards
4 * Copyright 2012-2013 Solarflare Communications Inc.
5 */
6
7#include "net_driver.h"
8#include "rx_common.h"

--- 1382 unchanged lines hidden (view full) ---

1391 unsigned int i;
1392#endif
1393
1394 /* All our allocations have been reset */
1395 efx->must_realloc_vis = true;
1396 efx_mcdi_filter_table_reset_mc_allocations(efx);
1397 nic_data->must_restore_piobufs = true;
1398 efx_ef10_forget_old_piobufs(efx);
1399 efx->rss_context.context_id = EFX_MCDI_RSS_CONTEXT_INVALID;
1399 efx->rss_context.priv.context_id = EFX_MCDI_RSS_CONTEXT_INVALID;
1400
1401 /* Driver-created vswitches and vports must be re-created */
1402 nic_data->must_probe_vswitching = true;
1403 efx->vport_id = EVB_PORT_ID_ASSIGNED;
1404#ifdef CONFIG_SFC_SRIOV
1405 if (nic_data->vf)
1406 for (i = 0; i < efx->vf_count; i++)
1407 nic_data->vf[i].vport_id = 0;

--- 2897 unchanged lines hidden ---
1400
1401 /* Driver-created vswitches and vports must be re-created */
1402 nic_data->must_probe_vswitching = true;
1403 efx->vport_id = EVB_PORT_ID_ASSIGNED;
1404#ifdef CONFIG_SFC_SRIOV
1405 if (nic_data->vf)
1406 for (i = 0; i < efx->vf_count; i++)
1407 nic_data->vf[i].vport_id = 0;

--- 2897 unchanged lines hidden ---