1. 25 1月, 2017 1 次提交
  2. 20 1月, 2017 4 次提交
  3. 19 1月, 2017 1 次提交
    • M
      net/mlx5e: Support bpf_xdp_adjust_head() · d8bec2b2
      Martin KaFai Lau 提交于
      This patch adds bpf_xdp_adjust_head() support to mlx5e.
      
      1. rx_headroom is added to struct mlx5e_rq.  It uses
         an existing 4 byte hole in the struct.
      2. The adjusted data length is checked against
         MLX5E_XDP_MIN_INLINE and MLX5E_SW2HW_MTU(rq->netdev->mtu).
      3. The macro MLX5E_SW2HW_MTU is moved from en_main.c to en.h.
         MLX5E_HW2SW_MTU is also moved to en.h for symmetric reason
         but it is not a must.
      
      v2:
      - Keep the xdp specific logic in mlx5e_xdp_handle()
      - Update dma_len after the sanity checks in mlx5e_xmit_xdp_frame()
      Signed-off-by: NMartin KaFai Lau <kafai@fb.com>
      Acked-by: NSaeed Mahameed <saeedm@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d8bec2b2
  4. 11 1月, 2017 1 次提交
  5. 10 1月, 2017 1 次提交
  6. 09 1月, 2017 1 次提交
  7. 03 1月, 2017 1 次提交
  8. 29 12月, 2016 3 次提交
  9. 09 12月, 2016 1 次提交
  10. 07 12月, 2016 2 次提交
  11. 03 12月, 2016 1 次提交
  12. 02 12月, 2016 3 次提交
  13. 29 11月, 2016 6 次提交
  14. 25 11月, 2016 2 次提交
  15. 22 11月, 2016 3 次提交
  16. 19 11月, 2016 1 次提交
  17. 18 11月, 2016 1 次提交
  18. 10 11月, 2016 1 次提交
  19. 05 11月, 2016 2 次提交
  20. 30 10月, 2016 3 次提交
  21. 18 10月, 2016 1 次提交