R&D/OS 163

Intel P3700 nvme

Intel NVMe 의 Product 번호를 보면3x00 시리즈와 750 시리즈가 있는데, 3x00 시리즈는 서버향 NVMe 이며 750 시리즈는 클라이언트향이다. PCI 정보08:00.0 Non-Volatile memory controller: Intel Corporation Device 0953 (rev 01) (prog-if 02) Subsystem: Intel Corporation Device 3702 Flags: bus master, fast devsel, latency 0, IRQ 16 Memory at ef110000 (64-bit, non-prefetchable) [size=16K] Expansion ROM at ef100000 [disabled] [size=64K] Capabilities..

R&D/OS 2015.07.09

C Language Constructors and Destructors with GCC

Constructor 와 Destructor 는 main 함수가 실행되기 전에 호출되는 special function 이다.main function 이 load 되기 전에 __libc_csu_init 함수에서 constructor 들이 호출된다. 포멧:__attribute__((constructor))__attribute__((destructor))__attribute__(constructor (PRIORITY)))__attribute__(destructor (PRIORITY))) 예제:#include void begin (void) __attribute__((constructor));void end (void) __attribute__((destructor)); int main(){ printf("\n..

R&D/OS 2015.06.23

TX/RX Ring Descriptor

TX Ring Desc Architecture Xmit Frame - device driver receive sk_buff from kernel - find tx_buffer_info which can be used - fill tx_buffer_info based on skb's info - update next_to_use (cf. may be used more than 1 index, if the size of skb is larger than 1 page) - notify tx_ring to H/W 추가 설명- 전송할 패킷이 존재할 때, device driver는 ximt 을 하며, 이는 descriptor 의 tail에 쓰고, tail의 값을 업데이트 한다. (아래 TDT register)- H..

R&D/OS 2014.10.31