diff options
author | Or Gerlitz | 2016-09-22 19:01:46 +0200 |
---|---|---|
committer | David S. Miller | 2016-09-23 13:22:12 +0200 |
commit | 8515c581dfa574420559d8cef24c2ba24e8eb8dd (patch) | |
tree | e77deed84ccc6f08972d97a6908a3a627e595ee2 /drivers/net/ethernet/mellanox/mlx5/core/eswitch.h | |
parent | net/mlx5: Put elements related to offloaded TC rule in one struct (diff) | |
download | kernel-qcow2-linux-8515c581dfa574420559d8cef24c2ba24e8eb8dd.tar.gz kernel-qcow2-linux-8515c581dfa574420559d8cef24c2ba24e8eb8dd.tar.xz kernel-qcow2-linux-8515c581dfa574420559d8cef24c2ba24e8eb8dd.zip |
net/mlx5e: Refactor retrival of skb from rx completion element (cqe)
Factor the relevant code into a static inline helper (skb_from_cqe)
doing that.
Move the call to napi_gro_receive to be carried out just
after mlx5e_complete_rx_cqe returns.
Both changes are to be used for the VF representor as well
in the next commit.
This patch doesn't change any functionality.
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/eswitch.h')
0 files changed, 0 insertions, 0 deletions