cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

efx_channels.h (1800B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/****************************************************************************
      3 * Driver for Solarflare network controllers and boards
      4 * Copyright 2018 Solarflare Communications Inc.
      5 *
      6 * This program is free software; you can redistribute it and/or modify it
      7 * under the terms of the GNU General Public License version 2 as published
      8 * by the Free Software Foundation, incorporated herein by reference.
      9 */
     10
     11#ifndef EFX_SIENA_CHANNELS_H
     12#define EFX_SIENA_CHANNELS_H
     13
     14extern unsigned int efx_siena_interrupt_mode;
     15extern unsigned int efx_siena_rss_cpus;
     16
     17int efx_siena_probe_interrupts(struct efx_nic *efx);
     18void efx_siena_remove_interrupts(struct efx_nic *efx);
     19int efx_siena_enable_interrupts(struct efx_nic *efx);
     20void efx_siena_disable_interrupts(struct efx_nic *efx);
     21
     22void efx_siena_set_interrupt_affinity(struct efx_nic *efx);
     23void efx_siena_clear_interrupt_affinity(struct efx_nic *efx);
     24
     25void efx_siena_start_eventq(struct efx_channel *channel);
     26void efx_siena_stop_eventq(struct efx_channel *channel);
     27
     28int efx_siena_realloc_channels(struct efx_nic *efx, u32 rxq_entries,
     29			       u32 txq_entries);
     30void efx_siena_set_channel_names(struct efx_nic *efx);
     31int efx_siena_init_channels(struct efx_nic *efx);
     32int efx_siena_probe_channels(struct efx_nic *efx);
     33int efx_siena_set_channels(struct efx_nic *efx);
     34void efx_siena_remove_channel(struct efx_channel *channel);
     35void efx_siena_remove_channels(struct efx_nic *efx);
     36void efx_siena_fini_channels(struct efx_nic *efx);
     37void efx_siena_start_channels(struct efx_nic *efx);
     38void efx_siena_stop_channels(struct efx_nic *efx);
     39
     40void efx_siena_init_napi(struct efx_nic *efx);
     41void efx_siena_fini_napi(struct efx_nic *efx);
     42
     43void efx_siena_channel_dummy_op_void(struct efx_channel *channel);
     44
     45#endif