]> Git Repo - linux.git/commit
net: rework setup_tc ndo op to consume general tc operand
authorJohn Fastabend <[email protected]>
Wed, 17 Feb 2016 05:16:43 +0000 (21:16 -0800)
committerDavid S. Miller <[email protected]>
Wed, 17 Feb 2016 14:47:35 +0000 (09:47 -0500)
commit16e5cc647173a97e33b3e3ba81f73eb455561794
tree038fd8d297fe13691d252d52e9d811ba2510d4cc
parente4c6734eaab90695db0ea8456307790cb0c1ccb5
net: rework setup_tc ndo op to consume general tc operand

This patch updates setup_tc so we can pass additional parameters into
the ndo op in a generic way. To do this we provide structured union
and type flag.

This lets each classifier and qdisc provide its own set of attributes
without having to add new ndo ops or grow the signature of the
callback.

Signed-off-by: John Fastabend <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Acked-by: Jamal Hadi Salim <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
14 files changed:
drivers/net/ethernet/amd/xgbe/xgbe-drv.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/intel/fm10k/fm10k_netdev.c
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
drivers/net/ethernet/sfc/efx.h
drivers/net/ethernet/sfc/tx.c
drivers/net/ethernet/ti/netcp_core.c
include/linux/netdevice.h
net/sched/sch_mqprio.c
This page took 0.070809 seconds and 4 git commands to generate.