Hello List.

I found with help of valdis [at] irc://##ker...@chat.freenode.net this
commit in Kernel tree:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a188222b6ed29404ac2d4232d35d1fe0e77af370

So I applied (And did a basic sanity check in the source) the patch in h
ttps://gist.github.com/leleobhz/2e92e11e4423536aa9da (Since im using DKMS,
the dkms.conf is more or less like https://gist.github.com/b8cdc1e38a02a78
f1c5e)

Since I hope upstream fixes it, ill not fix this dkms file for next builds.

Results: http://pastebin.com/RpwuhDFU

So there is a thing to change to next version. Perhaps a compilation option
to select used function using ifdef or something else (Since I'm not a
profissional developer, may I wrong in this comment). Anyways, thanks to
the messages tryting to help and there is some way for people that uses
this module in newer kernels.

Thanks!


2016-03-16 17:49 GMT-03:00 Fujinaka, Todd <todd.fujin...@intel.com>:

> There’s been a bunch of responses to this.
>
>
>
> First, the 4.5.0 kernel has been out for less than a week and we haven’t
> updated the standalone driver for a couple of months. We’ll have a new
> driver that compiles with this kernel soon.
>
>
>
> Also, there seems to be little reason for you to install the out-of-tree
> driver because the options you are setting via the command line are
> available via ethtool and most are the default for the module.
>
>
>
> And finally, your kernel config appears to be wrong. You need to do a
> “make olddefconfig” in the source directory before compiling the kernel or
> a module.
>
>
>
> *Todd Fujinaka*
>
> Software Application Engineer
>
> Networking Division (ND)
>
> Intel Corporation
>
> *todd.fujin...@intel.com <todd.fujin...@intel.com>*
>
> (503) 712-4565
>
>
>
> *From:* Leonardo Amaral - Listas [mailto:lis...@leonardoamaral.com.br]
> *Sent:* Wednesday, March 16, 2016 12:42 PM
> *To:* Skidmore, Donald C <donald.c.skidm...@intel.com>
> *Cc:* Fujinaka, Todd <todd.fujin...@intel.com>;
> e1000-devel@lists.sourceforge.net
> *Subject:* Re: [E1000-devel] ixgbe 4.3.13 x Linux 4.5.0 = Compilation
> Faillure
>
>
>
>
>
> 2016-03-16 13:44 GMT-03:00 Skidmore, Donald C <donald.c.skidm...@intel.com
> >:
>
> So this is an Ubuntu kernel not a kernel.org one, right?  It doesn't mean
> it shouldn't work just I don't believe our validation actively checks new
> Ubuntu kernels.  When issues do come up we will however write kcompat for
> the next release.  Likewise the Source Forge driver can only be tested on
> kernels that are available at the time we put out said driver.  4.3.13 came
> out in January pre 4.5.0 existence so it wouldn't be surprising if some
> kernel change caused us a problem.  Normally this isn't an issue, like Todd
> mentioned, as the upstream driver is often more up to date than what is on
> source forge anyway so there isn't much to be gained using the out of tree
> driver on such kernels.
>
>
> About versions: http://elrepo.org/tiki/kernel-ml
>
>
>
> About the discussion about KVER: Im not blaming the misworking module, I
> want to understand why its wrong and try to see what we can do about this.
> 4.5.0 indeed is STABLE kernel and well, its a good thing to know if it
> changes the API or something else. Anyways, the discussion about module
> "working" is (at least for me now) not valid since after what I pasted
> below, *** i think its a compilation environment issue*** (And a dkms.conf
> miswriting, since Im not a master of dkms or kernel development). So, my
> new attempt is documented below. Someone can please, instead blaming kernel
> or just saying its supported or not, try to show to me what is happening
> and - if someone know how to make it better, write informations about how
> this can be done?
>
>
>
> A "progressive regression": in dkms.conf, changing "MAKE="cd src/; make
> BUILD_KERNEL=\${kernelver} noisy"" to "MAKE="cd src/; make
> KVER=\${kernelver} noisy"" - the module compiles, but vermagic is from old
> kernel. Its ok?
>
>
>
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>
>
> # dkms autoinstall -k 4.5.0-1.el7.elrepo.x86_64
>
>
>
> Kernel preparation unnecessary for this kernel.  Skipping...
>
>
>
> Building module:
>
> cleaning build area...
>
> cd src/; make KVER=4.5.0-1.el7.elrepo.x86_64 noisy........
>
> cleaning build area...
>
>
>
> DKMS: build completed.
>
>
>
> ixgbe.ko:
>
> Running module version sanity check.
>
>  - Original module
>
>    - Found /lib/modules/4.5.0-1.el7.elrepo.x86_64/updates/ixgbe.ko
>
>    - Storing in
> /var/lib/dkms/ixgbe/original_module/4.5.0-1.el7.elrepo.x86_64/x86_64/
>
>    - Archiving for uninstallation purposes
>
>  - Installation
>
>    - Installing to /lib/modules/4.5.0-1.el7.elrepo.x86_64/extra/
>
> Adding any weak-modules
>
> modinfo: ERROR: Module
> /lib/modules/4.4.4-1.el7.elrepo.x86_64/weak-updates/ not found.
>
> depmod: WARNING: /lib/modules/4.5.0-1.el7.elrepo.x86_64/extra/ixgbe.ko
> needs unknown symbol cpu_possible_mask
>
> depmod: WARNING: /lib/modules/4.5.0-1.el7.elrepo.x86_64/extra/ixgbe.ko
> needs unknown symbol cpu_online_mask
>
>
>
> depmod...
>
>
>
> DKMS: install completed.
>
>
>
> # (echo -e "modinfo -k 4.5.0-1.el7.elrepo.x86_64 ixgbe\n" ; modinfo -k
> 4.5.0-1.el7.elrepo.x86_64 ixgbe ; echo -e "\nmodinfo ixgbe\n" ; modinfo
> ixgbe)
>
>
>
> modinfo -k 4.5.0-1.el7.elrepo.x86_64 ixgbe
>
>
>
> filename:       /lib/modules/4.5.0-1.el7.elrepo.x86_64/extra/ixgbe.ko
>
> version:        4.3.13
>
> license:        GPL
>
> description:    Intel(R) 10 Gigabit PCI Express Network Driver
>
> author:         Intel Corporation, <linux.n...@intel.com>
>
> srcversion:     6080343B3D384C837131774
>
> alias:          pci:v00008086d000015ADsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000015ACsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000015ABsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000015AAsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000015D1sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001563sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001560sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001558sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d0000154Asv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001557sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d0000154Fsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d0000154Dsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001528sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010F8sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d0000151Csv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001529sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d0000152Asv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010F9sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001514sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001507sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010FBsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001517sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010FCsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010F7sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001508sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010DBsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010F4sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010E1sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010F1sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010ECsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010DDsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d0000150Bsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010C8sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010C7sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010C6sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010B6sv*sd*bc*sc*i*
>
> depends:        ptp,dca,vxlan
>
> vermagic:       4.4.4-1.el7.elrepo.x86_64 SMP mod_unload modversions
>
> parm:           InterruptType:Change Interrupt Mode (0=Legacy, 1=MSI,
> 2=MSI-X), default IntMode (deprecated) (array of int)
>
> parm:           IntMode:Change Interrupt Mode (0=Legacy, 1=MSI, 2=MSI-X),
> default 2 (array of int)
>
> parm:           MQ:Disable or enable Multiple Queues, default 1 (array of
> int)
>
> parm:           DCA:Disable or enable Direct Cache Access, 0=disabled,
> 1=descriptor only, 2=descriptor and data (array of int)
>
> parm:           RSS:Number of Receive-Side Scaling Descriptor Queues,
> default 0=number of cpus (array of int)
>
> parm:           VMDQ:Number of Virtual Machine Device Queues: 0/1 =
> disable, 2-16 enable (default=8) (array of int)
>
> parm:           max_vfs:Number of Virtual Functions: 0 = disable
> (default), 1-63 = enable this many VFs (array of int)
>
> parm:           VEPA:VEPA Bridge Mode: 0 = VEB (default), 1 = VEPA (array
> of int)
>
> parm:           InterruptThrottleRate:Maximum interrupts per second, per
> vector, (0,1,956-488281), default 1 (array of int)
>
> parm:           LLIPort:Low Latency Interrupt TCP Port (0-65535) (array of
> int)
>
> parm:           LLIPush:Low Latency Interrupt on TCP Push flag (0,1)
> (array of int)
>
> parm:           LLISize:Low Latency Interrupt on Packet Size (0-1500)
> (array of int)
>
> parm:           LLIEType:Low Latency Interrupt Ethernet Protocol Type
> (array of int)
>
> parm:           LLIVLANP:Low Latency Interrupt on VLAN priority threshold
> (array of int)
>
> parm:           FdirPballoc:Flow Director packet buffer allocation level:
>
>                                     1 = 8k hash filters or 2k perfect
> filters
>
>                                     2 = 16k hash filters or 4k perfect
> filters
>
>                                     3 = 32k hash filters or 8k perfect
> filters (array of int)
>
> parm:           AtrSampleRate:Software ATR Tx packet sample rate (array of
> int)
>
> parm:           FCoE:Disable or enable FCoE Offload, default 1 (array of
> int)
>
> parm:           MDD:Malicious Driver Detection: (0,1), default 1 = on
> (array of int)
>
> parm:           LRO:Large Receive Offload (0,1), default 0 = off (array of
> int)
>
> parm:           allow_unsupported_sfp:Allow unsupported and untested SFP+
> modules on 82599 based adapters, default 0 = Disable (array of int)
>
> parm:           dmac_watchdog:DMA coalescing watchdog in microseconds
> (0,41-10000), default 0 = off (array of int)
>
> parm:           vxlan_rx:VXLAN receive checksum offload (0,1), default 1 =
> Enable (array of int)
>
>
>
> modinfo ixgbe
>
>
>
> filename:       /lib/modules/4.4.4-1.el7.elrepo.x86_64/extra/ixgbe.ko
>
> version:        4.3.13
>
> license:        GPL
>
> description:    Intel(R) 10 Gigabit PCI Express Network Driver
>
> author:         Intel Corporation, <linux.n...@intel.com>
>
> srcversion:     6080343B3D384C837131774
>
> alias:          pci:v00008086d000015ADsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000015ACsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000015ABsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000015AAsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000015D1sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001563sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001560sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001558sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d0000154Asv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001557sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d0000154Fsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d0000154Dsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001528sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010F8sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d0000151Csv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001529sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d0000152Asv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010F9sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001514sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001507sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010FBsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001517sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010FCsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010F7sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d00001508sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010DBsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010F4sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010E1sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010F1sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010ECsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010DDsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d0000150Bsv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010C8sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010C7sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010C6sv*sd*bc*sc*i*
>
> alias:          pci:v00008086d000010B6sv*sd*bc*sc*i*
>
> depends:        ptp,dca,vxlan
>
> vermagic:       4.4.4-1.el7.elrepo.x86_64 SMP mod_unload modversions
>
> parm:           InterruptType:Change Interrupt Mode (0=Legacy, 1=MSI,
> 2=MSI-X), default IntMode (deprecated) (array of int)
>
> parm:           IntMode:Change Interrupt Mode (0=Legacy, 1=MSI, 2=MSI-X),
> default 2 (array of int)
>
> parm:           MQ:Disable or enable Multiple Queues, default 1 (array of
> int)
>
> parm:           DCA:Disable or enable Direct Cache Access, 0=disabled,
> 1=descriptor only, 2=descriptor and data (array of int)
>
> parm:           RSS:Number of Receive-Side Scaling Descriptor Queues,
> default 0=number of cpus (array of int)
>
> parm:           VMDQ:Number of Virtual Machine Device Queues: 0/1 =
> disable, 2-16 enable (default=8) (array of int)
>
> parm:           max_vfs:Number of Virtual Functions: 0 = disable
> (default), 1-63 = enable this many VFs (array of int)
>
> parm:           VEPA:VEPA Bridge Mode: 0 = VEB (default), 1 = VEPA (array
> of int)
>
> parm:           InterruptThrottleRate:Maximum interrupts per second, per
> vector, (0,1,956-488281), default 1 (array of int)
>
> parm:           LLIPort:Low Latency Interrupt TCP Port (0-65535) (array of
> int)
>
> parm:           LLIPush:Low Latency Interrupt on TCP Push flag (0,1)
> (array of int)
>
> parm:           LLISize:Low Latency Interrupt on Packet Size (0-1500)
> (array of int)
>
> parm:           LLIEType:Low Latency Interrupt Ethernet Protocol Type
> (array of int)
>
> parm:           LLIVLANP:Low Latency Interrupt on VLAN priority threshold
> (array of int)
>
> parm:           FdirPballoc:Flow Director packet buffer allocation level:
>
>                                     1 = 8k hash filters or 2k perfect
> filters
>
>                                     2 = 16k hash filters or 4k perfect
> filters
>
>                                     3 = 32k hash filters or 8k perfect
> filters (array of int)
>
> parm:           AtrSampleRate:Software ATR Tx packet sample rate (array of
> int)
>
> parm:           FCoE:Disable or enable FCoE Offload, default 1 (array of
> int)
>
> parm:           MDD:Malicious Driver Detection: (0,1), default 1 = on
> (array of int)
>
> parm:           LRO:Large Receive Offload (0,1), default 0 = off (array of
> int)
>
> parm:           allow_unsupported_sfp:Allow unsupported and untested SFP+
> modules on 82599 based adapters, default 0 = Disable (array of int)
>
> parm:           dmac_watchdog:DMA coalescing watchdog in microseconds
> (0,41-10000), default 0 = off (array of int)
>
> parm:           vxlan_rx:VXLAN receive checksum offload (0,1), default 1 =
> Enable (array of int)
>
>
>
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel&#174; Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to