Skip to content

Instantly share code, notes, and snippets.

@a290
a290 / buid-xrdp-glamor-annotated.sh
Created January 4, 2025 23:53 — forked from rcarmo/buid-xrdp-glamor-annotated.sh
Notes for installing XorgXrdp and Xrdp with GLAMOR support
#!/bin/bash
# Install Latest XRDP with XORGXRDP and GFX/Glamor server-side acceleration
# Tested on Ubuntu 22.04 LTS
BUILD_DIR=/tmp/xrdpbuild
echo "-> preparing $BUILD_DIR"
rm -f -r $BUILD_DIR
mkdir -p $BUILD_DIR
@a290
a290 / ixgbe-qinq.patch
Last active January 15, 2024 07:08
Linux BRAS stuff
diff -rupN ixgbe-3.22.3//src/ixgbe_main.c ixgbe-3.22.3-qinq//src/ixgbe_main.c
--- ixgbe-3.22.3//src/ixgbe_main.c 2014-08-15 04:17:42.000000000 +0500
+++ ixgbe-3.22.3-qinq//src/ixgbe_main.c 2014-11-18 19:07:49.000000000 +0500
@@ -3629,6 +3629,11 @@ static void ixgbe_configure_tx(struct ix
dmatxctl |= IXGBE_DMATXCTL_TE;
IXGBE_WRITE_REG(hw, IXGBE_DMATXCTL, dmatxctl);
}
+
+ /* Enable Global Double VLAN */
+ dmatxctl = IXGBE_READ_REG(hw, IXGBE_DMATXCTL);