1*986e7b92SArtur Rojek /*- 2*986e7b92SArtur Rojek * SPDX-License-Identifier: BSD-2-Clause 3*986e7b92SArtur Rojek * 4*986e7b92SArtur Rojek * Copyright (c) 2015-2021 Amazon.com, Inc. or its affiliates. 5*986e7b92SArtur Rojek * All rights reserved. 6*986e7b92SArtur Rojek * 7*986e7b92SArtur Rojek * Redistribution and use in source and binary forms, with or without 8*986e7b92SArtur Rojek * modification, are permitted provided that the following conditions 9*986e7b92SArtur Rojek * are met: 10*986e7b92SArtur Rojek * 11*986e7b92SArtur Rojek * 1. Redistributions of source code must retain the above copyright 12*986e7b92SArtur Rojek * notice, this list of conditions and the following disclaimer. 13*986e7b92SArtur Rojek * 14*986e7b92SArtur Rojek * 2. Redistributions in binary form must reproduce the above copyright 15*986e7b92SArtur Rojek * notice, this list of conditions and the following disclaimer in the 16*986e7b92SArtur Rojek * documentation and/or other materials provided with the distribution. 17*986e7b92SArtur Rojek * 18*986e7b92SArtur Rojek * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19*986e7b92SArtur Rojek * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20*986e7b92SArtur Rojek * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21*986e7b92SArtur Rojek * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 22*986e7b92SArtur Rojek * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23*986e7b92SArtur Rojek * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24*986e7b92SArtur Rojek * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25*986e7b92SArtur Rojek * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26*986e7b92SArtur Rojek * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27*986e7b92SArtur Rojek * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28*986e7b92SArtur Rojek * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29*986e7b92SArtur Rojek * 30*986e7b92SArtur Rojek * $FreeBSD$ 31*986e7b92SArtur Rojek * 32*986e7b92SArtur Rojek */ 33*986e7b92SArtur Rojek 34*986e7b92SArtur Rojek #ifndef ENA_RSS_H 35*986e7b92SArtur Rojek #define ENA_RSS_H 36*986e7b92SArtur Rojek 37*986e7b92SArtur Rojek #include "opt_rss.h" 38*986e7b92SArtur Rojek 39*986e7b92SArtur Rojek #include <sys/types.h> 40*986e7b92SArtur Rojek 41*986e7b92SArtur Rojek #ifdef RSS 42*986e7b92SArtur Rojek #include <net/rss_config.h> 43*986e7b92SArtur Rojek #endif 44*986e7b92SArtur Rojek 45*986e7b92SArtur Rojek #include "ena.h" 46*986e7b92SArtur Rojek 47*986e7b92SArtur Rojek int ena_rss_configure(struct ena_adapter *); 48*986e7b92SArtur Rojek 49*986e7b92SArtur Rojek #endif /* !(ENA_RSS_H) */ 50