sfxge_rx.h (300607) | sfxge_rx.h (301067) |
---|---|
1/*- 2 * Copyright (c) 2010-2016 Solarflare Communications Inc. 3 * All rights reserved. 4 * 5 * This software was developed in part by Philip Paeps under contract for 6 * Solarflare Communications, Inc. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 26 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 27 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * 29 * The views and conclusions contained in the software and documentation are 30 * those of the authors and should not be interpreted as representing official 31 * policies, either expressed or implied, of the FreeBSD Project. 32 * | 1/*- 2 * Copyright (c) 2010-2016 Solarflare Communications Inc. 3 * All rights reserved. 4 * 5 * This software was developed in part by Philip Paeps under contract for 6 * Solarflare Communications, Inc. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 26 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 27 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * 29 * The views and conclusions contained in the software and documentation are 30 * those of the authors and should not be interpreted as representing official 31 * policies, either expressed or implied, of the FreeBSD Project. 32 * |
33 * $FreeBSD: head/sys/dev/sfxge/sfxge_rx.h 300607 2016-05-24 12:16:57Z arybchik $ | 33 * $FreeBSD: head/sys/dev/sfxge/sfxge_rx.h 301067 2016-05-31 18:34:39Z arybchik $ |
34 */ 35 36#ifndef _SFXGE_RX_H 37#define _SFXGE_RX_H 38 39#include "opt_inet.h" 40#include "opt_inet6.h" 41 42#if defined(INET) || defined(INET6) 43#define SFXGE_LRO 1 44#endif 45 | 34 */ 35 36#ifndef _SFXGE_RX_H 37#define _SFXGE_RX_H 38 39#include "opt_inet.h" 40#include "opt_inet6.h" 41 42#if defined(INET) || defined(INET6) 43#define SFXGE_LRO 1 44#endif 45 |
46#define SFXGE_MAGIC_RESERVED 0x8000 47 48#define SFXGE_MAGIC_DMAQ_LABEL_WIDTH 6 49#define SFXGE_MAGIC_DMAQ_LABEL_MASK \ 50 ((1 << SFXGE_MAGIC_DMAQ_LABEL_WIDTH) - 1) 51 52#define SFXGE_MAGIC_RX_QFLUSH_DONE \ 53 (SFXGE_MAGIC_RESERVED | (1 << SFXGE_MAGIC_DMAQ_LABEL_WIDTH)) 54 55#define SFXGE_MAGIC_RX_QFLUSH_FAILED \ 56 (SFXGE_MAGIC_RESERVED | (2 << SFXGE_MAGIC_DMAQ_LABEL_WIDTH)) 57 58#define SFXGE_MAGIC_RX_QREFILL \ 59 (SFXGE_MAGIC_RESERVED | (3 << SFXGE_MAGIC_DMAQ_LABEL_WIDTH)) 60 61#define SFXGE_MAGIC_TX_QFLUSH_DONE \ 62 (SFXGE_MAGIC_RESERVED | (4 << SFXGE_MAGIC_DMAQ_LABEL_WIDTH)) 63 | |
64#define SFXGE_RX_SCALE_MAX EFX_MAXRSS 65 66struct sfxge_rx_sw_desc { 67 struct mbuf *mbuf; 68 bus_dmamap_t map; 69 int flags; 70 int size; 71}; --- 140 unchanged lines hidden --- | 46#define SFXGE_RX_SCALE_MAX EFX_MAXRSS 47 48struct sfxge_rx_sw_desc { 49 struct mbuf *mbuf; 50 bus_dmamap_t map; 51 int flags; 52 int size; 53}; --- 140 unchanged lines hidden --- |