Skip to content
Snippets Groups Projects
Select Git revision
  • abaf00ff04625275a40e407fc8da04948ae4f95b
  • vme-testing default
  • ci-test
  • master
  • remoteproc
  • am625-sk-ov5640
  • pcal6534-upstreaming
  • lps22df-upstreaming
  • msc-upstreaming
  • imx8mp
  • iio/noa1305
  • vme-next
  • vme-next-4.14-rc4
  • v4.14-rc4
  • v4.14-rc3
  • v4.14-rc2
  • v4.14-rc1
  • v4.13
  • vme-next-4.13-rc7
  • v4.13-rc7
  • v4.13-rc6
  • v4.13-rc5
  • v4.13-rc4
  • v4.13-rc3
  • v4.13-rc2
  • v4.13-rc1
  • v4.12
  • v4.12-rc7
  • v4.12-rc6
  • v4.12-rc5
  • v4.12-rc4
  • v4.12-rc3
32 results

hso.c

Blame
  • i40evf_main.c 92.67 KiB
    /*******************************************************************************
     *
     * Intel Ethernet Controller XL710 Family Linux Virtual Function Driver
     * Copyright(c) 2013 - 2016 Intel Corporation.
     *
     * 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.
     *
     * This program is distributed in the hope it will be useful, but WITHOUT
     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
     * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
     * more details.
     *
     * You should have received a copy of the GNU General Public License along
     * with this program.  If not, see <http://www.gnu.org/licenses/>.
     *
     * The full GNU General Public License is included in this distribution in
     * the file called "COPYING".
     *
     * Contact Information:
     * e1000-devel Mailing List <e1000-devel@lists.sourceforge.net>
     * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
     *
     ******************************************************************************/
    
    #include "i40evf.h"
    #include "i40e_prototype.h"
    #include "i40evf_client.h"
    /* All i40evf tracepoints are defined by the include below, which must
     * be included exactly once across the whole kernel with
     * CREATE_TRACE_POINTS defined
     */
    #define CREATE_TRACE_POINTS
    #include "i40e_trace.h"
    
    static int i40evf_setup_all_tx_resources(struct i40evf_adapter *adapter);
    static int i40evf_setup_all_rx_resources(struct i40evf_adapter *adapter);
    static int i40evf_close(struct net_device *netdev);
    
    char i40evf_driver_name[] = "i40evf";
    static const char i40evf_driver_string[] =
    	"Intel(R) 40-10 Gigabit Virtual Function Network Driver";
    
    #define DRV_KERN "-k"
    
    #define DRV_VERSION_MAJOR 3
    #define DRV_VERSION_MINOR 2
    #define DRV_VERSION_BUILD 2
    #define DRV_VERSION __stringify(DRV_VERSION_MAJOR) "." \
    	     __stringify(DRV_VERSION_MINOR) "." \
    	     __stringify(DRV_VERSION_BUILD) \
    	     DRV_KERN
    const char i40evf_driver_version[] = DRV_VERSION;
    static const char i40evf_copyright[] =
    	"Copyright (c) 2013 - 2015 Intel Corporation.";
    
    /* i40evf_pci_tbl - PCI Device ID Table
     *
     * Wildcard entries (PCI_ANY_ID) should come last
     * Last entry must be all 0s
     *
     * { Vendor ID, Device ID, SubVendor ID, SubDevice ID,
     *   Class, Class Mask, private data (not used) }
     */
    static const struct pci_device_id i40evf_pci_tbl[] = {
    	{PCI_VDEVICE(INTEL, I40E_DEV_ID_VF), 0},
    	{PCI_VDEVICE(INTEL, I40E_DEV_ID_VF_HV), 0},
    	{PCI_VDEVICE(INTEL, I40E_DEV_ID_X722_VF), 0},
    	{PCI_VDEVICE(INTEL, I40E_DEV_ID_ADAPTIVE_VF), 0},