Ignore:
Timestamp:
Jan 6, 2015, 11:07:53 AM (10 years ago)
Author:
cfuguet
Message:

reconf: (tsar_generic_iob) use SYNTHETIC mode in the NIC controller

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/reconfiguration/platforms/tsar_generic_iob/top.cpp

    r906 r916  
    9696// - L1_DSETS
    9797// - BDEV_IMAGE_NAME  : file pathname for block device
    98 // - NIC_RX_NAME      : file pathname for NIC received packets
    99 // - NIC_TX_NAME      : file pathname for NIC transmited packets
    10098// - NIC_TIMEOUT      : max number of cycles before closing a container
    10199//
     
    207205#define BDEV_IMAGE_NAME       "../../../giet_vm/hdd/virt_hdd.dmg"
    208206
    209 #define NIC_RX_NAME           "/dev/null"
    210 #define NIC_TX_NAME           "/dev/null"
    211207#define NIC_TIMEOUT           10000
    212208
     
    324320   size_t   ncycles          = UINT_MAX;          // simulated cycles
    325321   char     disk_name[256]   = BDEV_IMAGE_NAME;   // pathname: disk image
    326    char     nic_rx_name[256] = NIC_RX_NAME;       // pathname: rx packets file
    327    char     nic_tx_name[256] = NIC_TX_NAME;       // pathname: tx packets file
    328322   ssize_t  threads_nr       = 1;                 // simulator's threads number
    329323   size_t   faulty_mask      = 0x1F;              // interface mask for the faulty router
     
    967961                                          maptab_iox,
    968962                                          NB_NIC_CHANNELS,
    969                                           0,           // mac_4 address
    970                                           0,           // mac_2 address
    971                                           nic_rx_name,
    972                                           nic_tx_name);
     963                                          0,                // mac_4 address
     964                                          0,                // mac_2 address
     965                                          1 );              // NIC_MODE_SYNTHESIS
    973966
    974967   // Frame Buffer
Note: See TracChangeset for help on using the changeset viewer.