summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/e1000e/mac.c
diff options
context:
space:
mode:
authorHarshitha Ramamurthy2019-06-19 20:45:40 +0200
committerJeff Kirsher2019-06-29 01:00:20 +0200
commit1d8d80b4e4ff641eefa5250cba324dfa5861a9f1 (patch)
tree9089ca39dfe269ac1d4410cfc3e0940f00f57824 /drivers/net/ethernet/intel/e1000e/mac.c
parentixgbevf: Use cached link state instead of re-reading the value for ethtool (diff)
downloadkernel-qcow2-linux-1d8d80b4e4ff641eefa5250cba324dfa5861a9f1.tar.gz
kernel-qcow2-linux-1d8d80b4e4ff641eefa5250cba324dfa5861a9f1.tar.xz
kernel-qcow2-linux-1d8d80b4e4ff641eefa5250cba324dfa5861a9f1.zip
i40e: Add macvlan support on i40e
This patch enables macvlan offloads for i40e. The idea is to use channels as macvlan interfaces. The channels are VSIs of type VMDQ. When the first macvlan is created, the maximum number of channels possible are created. From then on, as a macvlan interface is created, a macvlan filter is added to these already created channels (VSIs). This patch utilizes subordinate device traffic classes to make queue groups(channels) available for an upper device like a macvlan. Steps to configure macvlan offloads: 1. ethtool -K ethx l2-fwd-offload on 2. ip link add link ethx name macvlan1 type macvlan 3. ip addr add <address> dev macvlan1 4. ip link set macvlan1 up Signed-off-by: Harshitha Ramamurthy <harshitha.ramamurthy@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/e1000e/mac.c')
0 files changed, 0 insertions, 0 deletions