[PATCH net-next 0/3] Add destination MAC address to ethtool flow steering
From: Amir Vadai <hidden>
Date: 2012-12-11 12:08:43
From: Yan Burman <redacted> In vSwitch configuration it is often beneficial to create flow steering rules for L3/L4 traffic based on VM port. This requires destination MAC address of that port to be present. Note that today the mlx4_en driver adds the mac address of itself to the flow spec, where under the new ethtool flag suggested here it doesn't. It may also be useful in macvlan devices. These patches add kernel support for the new field (does not break old userspace compatibility, so new ethtool will work on old kernels and old ethtool will work with new kernels). Also present here is the ethtool userspace patch. See more details here http ://marc.info/?t=134977576500003 Yan Burman (2): net: ethtool: Add destination MAC address to flow steering API net/mlx4_en: Add support for destination MAC in steering rules drivers/net/ethernet/mellanox/mlx4/en_ethtool.c | 21 +++++++++++++++------ include/uapi/linux/ethtool.h | 11 +++++++---- 2 files changed, 22 insertions(+), 10 deletions(-) -- 1.7.11.3