mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
75a6faf617
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms and conditions of the gnu general public license version 2 as published by the free software foundation extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 101 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190531190113.822954939@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
42 lines
1.3 KiB
C
42 lines
1.3 KiB
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* aQuantia Corporation Network Driver
|
|
* Copyright (C) 2014-2017 aQuantia Corporation. All rights reserved
|
|
*/
|
|
|
|
/* File aq_vec.h: Definition of common structures for vector of Rx and Tx rings.
|
|
* Declaration of functions for Rx and Tx rings.
|
|
*/
|
|
|
|
#ifndef AQ_VEC_H
|
|
#define AQ_VEC_H
|
|
|
|
#include "aq_common.h"
|
|
#include <linux/irqreturn.h>
|
|
|
|
struct aq_hw_s;
|
|
struct aq_hw_ops;
|
|
struct aq_nic_s;
|
|
struct aq_nic_cfg_s;
|
|
struct aq_ring_stats_rx_s;
|
|
struct aq_ring_stats_tx_s;
|
|
|
|
irqreturn_t aq_vec_isr(int irq, void *private);
|
|
irqreturn_t aq_vec_isr_legacy(int irq, void *private);
|
|
struct aq_vec_s *aq_vec_alloc(struct aq_nic_s *aq_nic, unsigned int idx,
|
|
struct aq_nic_cfg_s *aq_nic_cfg);
|
|
int aq_vec_init(struct aq_vec_s *self, const struct aq_hw_ops *aq_hw_ops,
|
|
struct aq_hw_s *aq_hw);
|
|
void aq_vec_deinit(struct aq_vec_s *self);
|
|
void aq_vec_free(struct aq_vec_s *self);
|
|
int aq_vec_start(struct aq_vec_s *self);
|
|
void aq_vec_stop(struct aq_vec_s *self);
|
|
cpumask_t *aq_vec_get_affinity_mask(struct aq_vec_s *self);
|
|
int aq_vec_get_sw_stats(struct aq_vec_s *self, u64 *data,
|
|
unsigned int *p_count);
|
|
void aq_vec_add_stats(struct aq_vec_s *self,
|
|
struct aq_ring_stats_rx_s *stats_rx,
|
|
struct aq_ring_stats_tx_s *stats_tx);
|
|
|
|
#endif /* AQ_VEC_H */
|