How to find port number wwn of particular port on dual port HBA,?

please find the below o/p for your reference

bash-3.00#

fcinfo hba-port
HBA Port WWN: 21000024ff295a34
        OS Device Name: /dev/cfg/c2
        Manufacturer: QLogic Corp.
        Model: 375-3356-02
        Firmware Version: 05.03.02
        FCode/BIOS Version:  BIOS: 2.02; fcode: 2.01; EFI: 2.00;
        Serial Number: 0402R00-1023835637
        Driver Name: qlc
        Driver Version: 20100301-3.00
        Type: unknown
        State: offline
        Supported Speeds: 1Gb 2Gb 4Gb
        Current Speed: not established
        Node WWN: 20000024ff295a34
HBA Port WWN: 21000024ff295a35
        OS Device Name: /dev/cfg/c3
        Manufacturer: QLogic Corp.
        Model: 375-3356-02
        Firmware Version: 05.03.02
        FCode/BIOS Version:  BIOS: 2.02; fcode: 2.01; EFI: 2.00;
        Serial Number: 0402R00-1023835637
        Driver Name: qlc
        Driver Version: 20100301-3.00
        Type: N-port
        State: online
        Supported Speeds: 1Gb 2Gb 4Gb
        Current Speed: 4Gb
        Node WWN: 20000024ff295a35

kindly let me know how can we identify which wwn number is of which port on dual port HBA card

You have two port wwn and two node wwn listed there.

You want to know which port is which?

I suggest connecting a device to one of the ports and then listing devices.

Also, have you downloaded Qlogic's scli utility. Seriously good.

you could also disconnect one connection and see which one drops to offline. But I see that one is already offline, so the one that has the connection is c3.

not sure if you still need it but this is the command to tell you if there is something connected in the port:

luxadm -e port