net/sfc: factor out function to report Rx capabilities
authorIvan Malov <ivan.malov@oktetlabs.ru>
Thu, 18 Jan 2018 09:44:28 +0000 (09:44 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sun, 21 Jan 2018 14:51:52 +0000 (15:51 +0100)
commitcd8da5e83d3af679caa015d194b35c3812f105db
tree3193858b2c37a93a6b8a302143befb4ae56cb7bc
parent748298441981f0a6eb6c8c2ed425cc6d028dab70
net/sfc: factor out function to report Rx capabilities

The patch adds a separate function to report supported
Rx capabilities because this function will be required
in more places across the code in the upcoming patches.

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/sfc/sfc_ethdev.c
drivers/net/sfc/sfc_rx.c
drivers/net/sfc/sfc_rx.h