| | |
| | | PhyPort* phy_id = (PhyPort*)(bin + size); |
| | | for(j = 0 ; j< ninports ;j ++, phy_id++) { |
| | | phy_id->mIntType = 0; |
| | | phy_id->mPhyID = hw_adapter->get_physical_channel(1, j); |
| | | phy_id->mPhyID = hw_adapter->get_physical_channel(1, rxBufID[j]-1); |
| | | } |
| | | size += ninports*sizeof(PhyPort); |
| | | } |
| | |
| | | PhyPort* phy_id = (PhyPort*)(bin + size); |
| | | for(j = 0 ; j< noutports ;j ++, phy_id++) { |
| | | phy_id->mIntType = 0; |
| | | phy_id->mPhyID = hw_adapter->get_physical_channel(0, j); |
| | | phy_id->mPhyID = hw_adapter->get_physical_channel(0, txBufID[j]-1); |
| | | } |
| | | size += noutports*sizeof(PhyPort); |
| | | } |