Hi knudfl,
Thank you,it really worked here.I builds e1000e Driver
I installed following packages.
1.yum install kernel kernel-headers
2.yum install gcc-c++
3.yum install kernel-devel
I reboot the box and I can able to Builds the e1000e-3.0.4 driver & didn't get any error.
P.S. : Why are you buiding e1000e ? Should be present by default.
Yes You are correct it's default e1000e driver its there.I am doing some workaround here vlan tagged packet is stripped,For Detail kindly see the below link
http://www.linuxquestions.org/questi...22#post5145122
so I downloaded e1000e drivers tried to build drivers cause above problem came(kernel devel and kernel headers).we got some clue from this link
https://www.mail-archive.com/e1000-d.../msg09044.html
Some changes in kcompat.h,it will allow vlan tagged packets,For that i am building a e1000e-3.0.4 driver and rebuild it.
However,not able to see the vlan tagged packets,i don't know why ?
Before building e1000e driver:
******************************
[root@bara-4 src]# modinfo e1000e | grep version
version: 2.3.2-k
srcversion: 563EA4FD2E6BC29211E792F
vermagic: 2.6.32-431.5.1.el6.i686 SMP mod_unload modversions 686
After Building e1000e-3.0.4 driver:
************************************
[root@bara-4 src]# modinfo e1000e | grep ver
filename: /lib/modules/2.6.32-431.11.2.el6.i686/kernel/drivers/net/e1000e/e1000e.ko
version: 3.0.4-NAPI
description: Intel(R) PRO/1000 Network Driver
srcversion: EDD1479A006BB2BE1D99FBF
vermagic: 2.6.32-431.11.2.el6.i686 SMP mod_unload modversions 686
[root@bara-4 src]#
and one more doubt is
Yesterday when i see e1000e driver i got 2.3.42 using modinfo but in ethtool i got below same output after update e1000e.(It Showing correctly in modinfo )
[root@bara-4 src]# ethtool -i eth1
driver: e1000e
version: 2.3.2-k
firmware-version: 2.1-2
bus-info: 0000:01:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no
[root@bara-4 src]#
Thanks
Saravanan