if_ixv.c
Source contains low-bit mask syntaxSysctl handler function signature
SHA-256009f7831d0a3e0ab61e3d1047699fb25de1843299f2fdc033e023c2333d80459
MaleculeO(Er)H(Db₂)
Evidence
3:39… ration
4 All rights reserved.
5
6 Redistribution and use in source and binary forms, with or without
7 modification, are permitted provided that the following conditions are met:
8
9 1. Redistributions of source code must retain the above copyright notice,
10 this list of conditions and the following disclaimer.
11
12 2. Redistributions in binary form must rep …
32:32… **********************************************/
33
34
35#include "opt_inet.h"
36#include "opt_inet6.h"
37#include "opt_rss.h"
38
39#include "ixgbe.h"
40#include "ifdi_if.h"
41
42#include <net/netmap.h>
43#include <dev/netmap/netmap_kern.h>
44
45/************************************************************************
46 * Driver version
47 * …
47:25… *************************************************/
48static const char ixv_driver_version[] = "2.0.1-k";
49
50/************************************************************************
51 * PCI Device ID Table
52 *
53 * Used by …
126:32… ysctls(struct ixgbe_softc *);
127
128static int ixv_sysctl_debug(SYSCTL_HANDLER_ARGS);
129static void ixv_set_ivar(struct ixgbe_softc *, u8, u8, s8);
130
131static u8 *ixv_mc_array_itr(struct ixgbe_hw *, u8 **, …
1694:43… var);
1695 } else { /* RX/TX IVARS */
1696 index = (16 * (entry & 1)) + (8 * type);
1697 ivar = IXGBE_READ_REG(hw, IXGBE_VTIVAR(entry >> 1));
1698 ivar &= ~(0xFF << index);
1699 ivar |= (vector << index); …