19e747589SJerin Jacob /* 29e747589SJerin Jacob * BSD LICENSE 39e747589SJerin Jacob * 49e747589SJerin Jacob * Copyright (C) Cavium Inc. 2017. All rights reserved. 59e747589SJerin Jacob * 69e747589SJerin Jacob * Redistribution and use in source and binary forms, with or without 79e747589SJerin Jacob * modification, are permitted provided that the following conditions 89e747589SJerin Jacob * are met: 99e747589SJerin Jacob * 109e747589SJerin Jacob * * Redistributions of source code must retain the above copyright 119e747589SJerin Jacob * notice, this list of conditions and the following disclaimer. 129e747589SJerin Jacob * * Redistributions in binary form must reproduce the above copyright 139e747589SJerin Jacob * notice, this list of conditions and the following disclaimer in 149e747589SJerin Jacob * the documentation and/or other materials provided with the 159e747589SJerin Jacob * distribution. 169e747589SJerin Jacob * * Neither the name of Cavium networks nor the names of its 179e747589SJerin Jacob * contributors may be used to endorse or promote products derived 189e747589SJerin Jacob * from this software without specific prior written permission. 199e747589SJerin Jacob * 209e747589SJerin Jacob * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 219e747589SJerin Jacob * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 229e747589SJerin Jacob * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 239e747589SJerin Jacob * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 249e747589SJerin Jacob * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 259e747589SJerin Jacob * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 269e747589SJerin Jacob * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 279e747589SJerin Jacob * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 289e747589SJerin Jacob * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 299e747589SJerin Jacob * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 309e747589SJerin Jacob * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 319e747589SJerin Jacob */ 329e747589SJerin Jacob 339e747589SJerin Jacob #ifndef __OCTEONTX_RXTX_H__ 349e747589SJerin Jacob #define __OCTEONTX_RXTX_H__ 359e747589SJerin Jacob 369e747589SJerin Jacob #include <rte_ethdev.h> 379e747589SJerin Jacob 389e747589SJerin Jacob #ifndef __hot 399e747589SJerin Jacob #define __hot __attribute__((hot)) 409e747589SJerin Jacob #endif 419e747589SJerin Jacob 429e747589SJerin Jacob uint16_t 439e747589SJerin Jacob octeontx_xmit_pkts(void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t nb_pkts); 449e747589SJerin Jacob 45*2d2c7918SJerin Jacob uint16_t 46*2d2c7918SJerin Jacob octeontx_recv_pkts(void *rx_queue, struct rte_mbuf **rx_pkts, uint16_t nb_pkts); 479e747589SJerin Jacob 489e747589SJerin Jacob #endif /* __OCTEONTX_RXTX_H__ */ 49