An operation to bypass a blockage of the stomach or duodenum, by joining part of the stomach to the upper part of the small bowel (the jejunum).