Hello Aswini,
yes i have my uplink port set as trunk . i have tried with access port as well. both the cases i have tried with and without vlan id assignment.
i have tested switch port and cables and those are fine and in working condition, still i have tried with other switchports and cables but no success. esxcfg -nics -l does show my nic card .
Strange thing is that i have tested the same nic when i was running other OS and nic was working fine but not with esxi. what could be the issue ?