Method and system for sending and receiving a network packet via an
inter-switch link (ISL) is provided. The method includes receiving a
network packet at a network port; obtaining a destination identifier from
a packet header for the network packet; generating a physical port number
for routing the network packet; generating a signal indicating that an
inter-switch link for the physical port number is shared by a plurality
of partitions; generating a first set of virtual lanes based on a service
level to virtual lane mapping scheme; generating a second set of virtual
lanes based on an inter-switch link (ISL) service level to virtual lane
mapping scheme; and selecting a virtual lane from the first set of
virtual lanes or the second set of virtual lanes; based on a signal
generated from a partition key table.