Skip to Content
클라우드 네이티브를 위한 데이터 센터 네트워크 구축: 데이터 센터 네트워킹을 위한 아키텍처, 프로토콜, 도구
book

클라우드 네이티브를 위한 데이터 센터 네트워크 구축: 데이터 센터 네트워킹을 위한 아키텍처, 프로토콜, 도구

by 정기훈, 디네시 G. 더트
August 2021
Beginner to intermediate
564 pages
12h 2m
Korean
Hanbit Media, Inc.
Content preview from 클라우드 네이티브를 위한 데이터 센터 네트워크 구축: 데이터 센터 네트워킹을 위한 아키텍처, 프로토콜, 도구
114
클라우드 네이티브를 위한 데이터 센터 네트워크 구축
스위치데브
패킷 스위칭 실리콘의 커널 추상화 모델의 부재를 해결하기 위해 큐물러스 네트워크와 멜라녹
스를 비롯한 여러 커널 개발자들이 새로운 장치 추상화 모델을 만들기 시작했다. 이를
스위치데브
switchdev
라고 부른다.
스위치데브는 다음과 같이 동작한다.
스위칭 실리콘의 스위치데브 드라이버는 스위칭 실리콘과 통신해서 어떤 스위치 포트를 설정할 것인지 결정
한다. 드라이버는 설정해야 할 실리콘 포트만큼 넷데브
Netdev
장치를 인스턴스화한다. 넷데브 장치는 스위칭
실리콘에 실제 패킷
I
/
O
의 오프로딩을 맡기게 된다. 넷데브는 이더넷 인터페이스의 리눅스 추상화 모델이며
오늘날
NIC
에서 사용되고 있다. 이와 같이 동일한 커널 추상화 모델을 사용하면 포워딩 테이블 상태,
ACL
상태, 인터페이스 상태 등에 훅
hook
을 추가할 수 있다. 그렇게 되면 리눅스에서 기존에 사용하던
ethtool
,
iproute2
와 같은 명령어가 자동으로 패킷 스위칭 실리콘의 포트에서 동작할 수 있게 된다.
커널의 모든 패킷 포워딩 자료 구조는 잘 정의된 백엔드 훅을 제공한다. 이 훅을 이용해서 스위칭 실리콘 드라
이버가 커널 상태를 스위칭 실리콘에 오프로딩할 수 있다. 스위칭 실리콘 드라이버는 훅을 통해 호출할 수 있
는 함수를 등록할 수 있다. 새로운 경로가 추가된 경우를 예로 들면 훅이 멜라녹스 스위치데브 드라이버의 함
수를 호출해서 이 경로가 스위칭 실리콘에서 오프로딩이 필요한지 여부를 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

데이터 과학을 위한 통계: 데이터 분석에서 머신러닝까지 50가지 핵심 개념

데이터 과학을 위한 통계: 데이터 분석에서 머신러닝까지 50가지 핵심 개념

이준용, 피터 브루스, 앤드루 브루스

Publisher Resources

ISBN: 9791162244586